From 90f81ab574301bb994ce51773b18b5e26df589f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Mon, 23 Oct 2023 22:10:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E7=BB=84=E8=A3=85=E5=8D=95?= =?UTF-8?q?=E3=80=81=E6=8B=86=E5=8D=B8=E5=8D=95=E6=9F=A5=E7=9C=8B=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E5=90=88=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/bill/dialog/BillDetail.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jshERP-web/src/views/bill/dialog/BillDetail.vue b/jshERP-web/src/views/bill/dialog/BillDetail.vue index c4439980..0a373c33 100644 --- a/jshERP-web/src/views/bill/dialog/BillDetail.vue +++ b/jshERP-web/src/views/bill/dialog/BillDetail.vue @@ -1619,11 +1619,15 @@ } else if (item.purchaseStatus === '3') { showType = 'purchase' } + let isReadOnly = '1' + if(item.subType === '组装单' || item.subType === '拆卸单') { + isReadOnly = '0' + } let params = { headerId: this.model.id, mpList: getMpListShort(Vue.ls.get('materialPropertyList')), //扩展属性 linkType: showType, - isReadOnly: '1' + isReadOnly: isReadOnly } let url = this.readOnly ? this.url.detailList : this.url.detailList; this.requestSubTableData(item, type, url, params);