fix:优化

20240912_adapter
chenhc 7 months ago
parent df963bb644
commit dbcf2c9f01

@ -37,7 +37,7 @@
<!-- </el-button>--> <!-- </el-button>-->
<el-button <el-button
type="primary" type="primary"
:disabled="!formData.billNo" :disabled="!formData.billNo || formData.preInBillNo"
@click.native="selectPreorder()" @click.native="selectPreorder()"
>选预验收入库单 >选预验收入库单
</el-button> </el-button>
@ -254,6 +254,7 @@
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="发货方">{{ formData.shipperName }}</el-descriptions-item> <el-descriptions-item label="发货方">{{ formData.shipperName }}</el-descriptions-item>
<el-descriptions-item label="收货方">{{ formData.fromCorpName }}</el-descriptions-item> <el-descriptions-item label="收货方">{{ formData.fromCorpName }}</el-descriptions-item>
<el-descriptions-item label="预验收入库单号">{{ formData.preInBillNo }}</el-descriptions-item>
<el-descriptions-item label="单据类型">{{ formData.busTypeName }}</el-descriptions-item> <el-descriptions-item label="单据类型">{{ formData.busTypeName }}</el-descriptions-item>
<el-descriptions-item label="来源系统">{{ formData.fromType }}</el-descriptions-item> <el-descriptions-item label="来源系统">{{ formData.fromType }}</el-descriptions-item>
<el-descriptions-item label="单据时间">{{ formData.billTime }}</el-descriptions-item> <el-descriptions-item label="单据时间">{{ formData.billTime }}</el-descriptions-item>
@ -473,6 +474,7 @@ export default {
}, },
data() { data() {
return { return {
checkPreInArray:[],
tabsName: [ tabsName: [
'prescribeOriginPanel', 'prescribeOriginPanel',
'prescribeCodePanel1', 'prescribeCodePanel1',
@ -515,6 +517,7 @@ export default {
busType: null, busType: null,
workPlaceCode: null, workPlaceCode: null,
fromCorp: null, fromCorp: null,
preInBillNo: null,
confirmFinish: false, confirmFinish: false,
}, },
selectPrescriptionVisible: false, selectPrescriptionVisible: false,
@ -592,6 +595,13 @@ export default {
} }
}, },
methods: { methods: {
//
giveselectbox(val) {
this.checkPreInArray = JSON.parse(JSON.stringify(val));
if (this.checkPreInArray != null) {
this.formData.preInBillNo = this.checkPreInArray.join(",");
}
},
// //
closeDialogtwo() { closeDialogtwo() {
this.selectorder = false; this.selectorder = false;
@ -1110,6 +1120,7 @@ export default {
code: this.filterQuery.code.trim(), code: this.filterQuery.code.trim(),
insert: this.formData.insert, insert: this.formData.insert,
busType: this.formData.busType, busType: this.formData.busType,
preInBillNo: this.formData.preInBillNo,
}; };
tagCode(tagQuery).then(res => { tagCode(tagQuery).then(res => {
this.loading = false this.loading = false
@ -1544,6 +1555,7 @@ export default {
shipper: null, shipper: null,
fromCorp: null, fromCorp: null,
}; };
this.checkPreInArray = []
this.selectSysParam() this.selectSysParam()
this.curRow = null this.curRow = null
this.formData.confirmFinish = false; this.formData.confirmFinish = false;

Loading…
Cancel
Save