放弃取货槽位 药品数据级别和下级数量过滤小数点 11/11 1.0

20240912_adapter
wangwei 8 months ago
parent 9a13067e2d
commit 2046d51ec5

@ -75,6 +75,7 @@
<el-input size="small" v-model="scope.row.packLevel" style="width: 100%"
type="number"
:disabled="scope.$index !== selectedIndex"
@input="handleInput(scope.$index, $event,1)"
></el-input>
</template>
</el-table-column>
@ -90,6 +91,7 @@
<el-input size="small" v-model="scope.row.bhxjsl" style="width: 100%"
type="number"
:disabled="scope.$index !== selectedIndex"
@input="handleInput(scope.$index, $event,2)"
></el-input>
</template>
</el-table-column>
@ -1263,6 +1265,16 @@ export default {
closeUdi(val) {
this.chooseHouseDrugVisible = false
this.getThirdSysDetail()
},
handleInput(index, value,type){
const intValue = parseInt(value, 10);
//
if (type == 1){
this.$set(this.detailList[index], 'packLevel', intValue);
}else {
this.$set(this.detailList[index], 'bhxjsl', intValue);
}
}
},

@ -35,7 +35,7 @@
</el-button>
<el-button size="mini" type="primary" @click.native="delOrder()" :loading="submitLoading"
style="margin-right: 8px;border-radius: 5%;" v-show="isLinkDisabled"
:disabled="orderFormData.billNo == null"
:disabled="orderFormData.billNo == null && curQueueName == '' "
>放弃
</el-button>
<el-button size="mini" type="primary" @click.native="draftOrder()" :loading="submitLoading"
@ -1777,11 +1777,12 @@ export default {
)
tQuery.billNo = this.orderFormData.billNo
tQuery.orderType = 2
if (this.orderFormData.billNo == null) {
this.$message.error('请先录入单据信息!')
return
}
// if (this.orderFormData.billNo == null) {
// this.$message.error('')
// return
// }
this.saveLoading = true
if (this.orderFormData.billNo != null){
deleteByOrderId(tQuery).then((response) => {
this.saveLoading = false
if (response.code === 20000) {
@ -1795,6 +1796,12 @@ export default {
this.loading = false
this.saveLoading = false
})
}else {
this.successCloseData()
this.result = ''
this.$refs.inputRef.focus()
}
},
//
resetForm() {

Loading…
Cancel
Save