diff --git a/src/views/basic/product/drug/drugAdd.vue b/src/views/basic/product/drug/drugAdd.vue index 59248336..9a81c9fe 100644 --- a/src/views/basic/product/drug/drugAdd.vue +++ b/src/views/basic/product/drug/drugAdd.vue @@ -75,6 +75,7 @@ @@ -90,6 +91,7 @@ @@ -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); + } + } }, diff --git a/src/views/collect/IoCreateOrder.vue b/src/views/collect/IoCreateOrder.vue index 804b9cd3..d266d347 100644 --- a/src/views/collect/IoCreateOrder.vue +++ b/src/views/collect/IoCreateOrder.vue @@ -35,7 +35,7 @@ 放弃 { - this.saveLoading = false - if (response.code === 20000) { - this.$message.success('放弃成功') - this.successCloseData() - this.result = '' - this.$refs.inputRef.focus() - } else { - this.$message.error(response.message) - } - this.loading = false - this.saveLoading = false - }) + if (this.orderFormData.billNo != null){ + deleteByOrderId(tQuery).then((response) => { + this.saveLoading = false + if (response.code === 20000) { + this.$message.success('放弃成功') + this.successCloseData() + this.result = '' + this.$refs.inputRef.focus() + } else { + this.$message.error(response.message) + } + this.loading = false + this.saveLoading = false + }) + }else { + this.successCloseData() + this.result = '' + this.$refs.inputRef.focus() + } + }, // 刷新表单 resetForm() {