From d191c27fcfa83931543b88a4d6be009e29d92499 Mon Sep 17 00:00:00 2001 From: zhangsiyu Date: Mon, 4 Sep 2023 18:03:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=A1=A8=E6=A0=BC=E5=9B=9E?= =?UTF-8?q?=E6=98=BE=E9=80=89=E6=8B=A9=E5=92=8C=E6=98=AF=E5=90=A6=E5=8F=AF?= =?UTF-8?q?=E5=8B=BE=E9=80=89=E7=9A=84=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/tablecmt/tablecmt.vue | 30 +- .../inventory/distrilbutionBillLading.vue | 18 +- .../reservation/reservationAddFrom.vue | 257 +++++++++++++++++- 3 files changed, 274 insertions(+), 31 deletions(-) diff --git a/src/components/tablecmt/tablecmt.vue b/src/components/tablecmt/tablecmt.vue index 3a2e38cd..65c4968f 100644 --- a/src/components/tablecmt/tablecmt.vue +++ b/src/components/tablecmt/tablecmt.vue @@ -10,6 +10,7 @@ border height="100%" :row-class-name="tableRowClassName" + ref="selecttable" > - + + + - + - + --> 提交(包件) { + if (!item.hide) { + arr.push({ + prop: item.prop, + label: item.label, + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }); + } + }); + console.log(JSON.stringify(arr)); this.onLoad(this.page); this.getDictionary(); }, @@ -1605,7 +1837,7 @@ export default { packageListInfo.forEach(p => { if (item.id === p.id) { this.$nextTick(() => { - this.$refs.packageList.toggleRowSelection(this.packageData[index], true); + // this.$refs.packageList.toggleRowSelection(this.packageData[index], true); }); } }); @@ -1650,15 +1882,16 @@ export default { checkPackage(row, index) { //区分编辑还是新增 //编辑需要对这个预约单下的包件信息均可进行调整 + console.log(row,'rowrowrowrowrowrow') if (!this.reservationId) { if ( row.orderPackageReservationStatusName === '已预约' || row.orderPackageReservationStatusName === '20' ) { - return false; + return true; } } - if (row.orderPackageFreezeStatus === '20' || row.orderPackageFreezeStatusName === '已冻结') { + if (row.orderPackageFreezeStatus === '10' || row.orderPackageFreezeStatusName === '已冻结') { return false; } else { return true;