选入药品选入改的问题搬到内网

dev_招标
qiuyt 3 months ago
parent f2436df23b
commit c437f8a9df

@ -1000,14 +1000,14 @@ export default {
// //
if (!this.$isNotBlank(this.newProductData.sptm) && !this.$isNotBlank(this.newProductData.ybbm)) { if (!this.$isNotBlank(this.newProductData.sptm) && !this.$isNotBlank(this.newProductData.ybbm)) {
getCodeRelDetail({drugCode:row.nameCode}).then((response) => { getCodeRelDetail({drugCode:row.nameCode}).then((response) => {
if (response.code == 20000) { if (response.code == 20000) {
if (response.data != null && response.data.length > 0) { if (response.data != null && response.data.length > 0) {
this.newProductData.sptm = response.data[0].sptm; this.newProductData.sptm = response.data[0].sptm;
this.newProductData.ybbm = response.data[0].ybbm; this.newProductData.ybbm = response.data[0].ybbm;
this.getYbDrugData() this.getYbDrugData()
}
} }
}
}).catch(() => { }).catch(() => {
}) })
} }
@ -1047,7 +1047,7 @@ export default {
}, },
selectDrugLevelItem(row){ selectDrugLevelItem(row){
this.filterQueryDrugLevel.uuid = this.newProductData.uuid this.filterQueryDrugLevel.uuid = this.newProductData.uuid
this.filterQueryDrugLevel.ybbm = this.newProductData.ybbm this.filterQueryDrugLevel.ybbm = this.newProductData.ybbm
this.filterQueryDrugLevel.nameCodeRow = row.nameCode this.filterQueryDrugLevel.nameCodeRow = row.nameCode
// console.log('drug',drug) // console.log('drug',drug)
updateLevelDrugAli(this.filterQueryDrugLevel).then((response) => { updateLevelDrugAli(this.filterQueryDrugLevel).then((response) => {
@ -1060,7 +1060,6 @@ export default {
this.getDetailList() this.getDetailList()
this.getThirdSysDetail() this.getThirdSysDetail()
this.filterQueryDrugLevel = filterQueryDrugLevelNew this.filterQueryDrugLevel = filterQueryDrugLevelNew
this.newProductData.detailSort = response.data
} }
}).catch(() => { }).catch(() => {
}) })

Loading…
Cancel
Save