From b7e1e1bcab4f40ed19167a445b43a31f5ccdd447 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Mon, 5 Jun 2023 19:18:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=B3=E8=B4=AD=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E5=BD=95=E5=85=A5=E5=A4=9A=E9=80=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purApply/purOrderSelectProduct.vue | 63 ++++++++++++------- 1 file changed, 39 insertions(+), 24 deletions(-) diff --git a/src/views/purchase/purApply/purOrderSelectProduct.vue b/src/views/purchase/purApply/purOrderSelectProduct.vue index 432cee75..0136e112 100644 --- a/src/views/purchase/purApply/purOrderSelectProduct.vue +++ b/src/views/purchase/purApply/purOrderSelectProduct.vue @@ -75,12 +75,13 @@ - - - + :row-class-name="tableRowClassName" @current-change="handleChange" @selection-change="handleSelectionChange" ref="multipleTable"> + + + + + + @@ -186,6 +187,7 @@ export default { keys: [], }, ids: [], + lists:[], radioCheck: null, dataList: [], pageTotal: 1, @@ -197,6 +199,13 @@ export default { thirdSysFk: null, busTypes: [], actDateRange: [], + tQuery : { + productId:"", + productName: "", + count: "", + orderIdFk: "", + supId:"", + }, pickerOptions: { shortcuts: [ { @@ -297,6 +306,7 @@ export default { getList() { this.loading = true; this.listQuery.customerId = store.getters.customerId; + this.listQuery.id = this.pId; filterCompanyProductplanRelevance(this.listQuery) .then((response) => { this.loading = false; @@ -318,10 +328,23 @@ export default { intentBack() { this.closeDialog(); }, - + handleSelectionChange(val){ + this.lists=[]; + for (var i=0;i { + addApplyDetail(this.lists).then((response) => { this.loading = false; if (response.code === 20000) { this.closeDialog(response.data);