From 5fea839fe68445007dcb6e8c446f3aaef4bddf37 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 17 十月 2023 10:04:38 +0800 Subject: [PATCH] Merge branch 'zhengwenfeng/modify-style' into dev --- src/views/sales/salesReturn/AddSalesReturnDialog.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/views/sales/salesReturn/AddSalesReturnDialog.vue b/src/views/sales/salesReturn/AddSalesReturnDialog.vue index c59f472..348e4f5 100644 --- a/src/views/sales/salesReturn/AddSalesReturnDialog.vue +++ b/src/views/sales/salesReturn/AddSalesReturnDialog.vue @@ -308,7 +308,8 @@ editSelCommonConfig: { editVisible: false, title: "", - infomation: {} + infomation: {}, + clientId:"" }, productId: 1, isNoProduct: true, @@ -459,6 +460,7 @@ async handleSelectClient(value, item) { if (value === "client") { this.clientId = item.id + this.editSelCommonConfig.clientId=item.id await getSalesDetailsList({ clientId: this.clientId }).then((res) => { @@ -478,6 +480,7 @@ } else if (value === "contract") { this.editSelCommonConfig.title = "閿�鍞槑缁嗗崟" this.editSelCommonConfig.editVisible = true + this.editSelCommonConfig.client_name = this.editConfig.infomation.client_name } }, selClient(row, value) { @@ -488,6 +491,8 @@ } else if (value === "contract") { this.editConfig.infomation.salesDetailNumber = row.number this.SalesDetailsId = row.id + this.productTableList.tableData = row.products + this.tableData = row.products } }, // 娓呴櫎宸查�夋嫨鐢ㄦ埛 @@ -497,6 +502,8 @@ this.clientId = 0 } else if (value === "contract") { this.editConfig.infomation.salesDetailNumber = "" + this.productTableList.tableData = [] + this.tableData = [] this.SalesDetailsId = 0 } }, -- Gitblit v1.8.0