3/11 优化1.0

Lhdev2.0
wangwei 3 weeks ago
parent 6110113c71
commit a05541450d

@ -671,6 +671,7 @@
import {updateDiProduct} from '@/api/supplier/supProductsAddDi'
import {finProductSet} from '@/api/param/systemParamConfig'
import {selectOriginuuid} from '@/api/basic/product/udiInfo'
import { isBlank } from '@/utils/strUtil'
export default {
name: "SelectDIDetailDialog",
@ -703,7 +704,8 @@ export default {
},
data(){
return{
productRemarkSet: {}
productRemarkSet: {},
cowData: {}
}
},
methods: {
@ -743,6 +745,9 @@ export default {
.then((response) => {
this.detailList = response.data || [];
this.editQuery = { ...this.pQuery,...this.detailList[0]};
if (isBlank(this.editQuery.ybbm )){
this.editQuery.ybbm = this.cowData.ybbm
}
})
.catch(() => {
this.detailList = [];
@ -757,6 +762,7 @@ export default {
originUuid: this.editQuery.uuid,
};
this.pQuery = this.editQuery
this.cowData = this.editQuery
this.getDetailList(ttquery);
if (this.editQuery.basicPrductRemak6 != null){
this.editQuery.basicPrductRemak6 = Number(this.editQuery.basicPrductRemak6)
@ -776,6 +782,8 @@ export default {
if (this.editQuery.basicPrductRemak13 != null){
this.editQuery.basicPrductRemak13 = Number(this.editQuery.basicPrductRemak13)
}
},
};
</script>

Loading…
Cancel
Save