From a63d71177a2899b01da37e5bfc2d498bec5f80be Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 17 十月 2023 15:10:13 +0800 Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/crm-web into zhengwenfeng/modify-style --- src/views/sales/salesReturn/AddSalesReturnDialog.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/sales/salesReturn/AddSalesReturnDialog.vue b/src/views/sales/salesReturn/AddSalesReturnDialog.vue index 89ce967..fc4697f 100644 --- a/src/views/sales/salesReturn/AddSalesReturnDialog.vue +++ b/src/views/sales/salesReturn/AddSalesReturnDialog.vue @@ -309,7 +309,7 @@ editVisible: false, title: "閿�鍞槑缁嗗崟", infomation: {}, - clientId:"" + clientId: "" }, productId: 1, isNoProduct: true, @@ -373,6 +373,7 @@ // 淇濆瓨 saveClick(formName) { this.$refs[formName].validate((valid) => { + this.validateFormNumber() if (valid) { console.log(this.editConfig.infomation) // for (let i = 0; i < this.tableData.length; i++) { @@ -428,9 +429,9 @@ returnDate: data.returnDate || "", salesReturnStatusId: data.salesReturnStatusId || 0, sourceId: this.SalesDetailsId, - sourceType: 1 - }, - codeRule: this.codeRule + sourceType: 1, + codeRule: this.codeRule + } } return params }, @@ -460,7 +461,7 @@ async handleSelectClient(value, item) { if (value === "client") { this.clientId = item.id - this.editSelCommonConfig.clientId=item.id + this.editSelCommonConfig.clientId = item.id await getSalesDetailsList({ clientId: this.clientId }).then((res) => { @@ -487,7 +488,7 @@ if (value === "client") { this.editConfig.infomation.client_name = row.name this.clientId = row.id - this.editSelCommonConfig.clientId=row.id + this.editSelCommonConfig.clientId = row.id await getSalesDetailsList({ clientId: row.id }).then((res) => { @@ -503,12 +504,11 @@ // 娓呴櫎宸查�夋嫨鐢ㄦ埛 clearupClient(value) { if (value === "client") { - this.editConfig.infomation={} + this.editConfig.infomation = {} // this.editConfig.infomation.client_name = "" // this.clientId = 0 - } else if (value === "contract") { - this.editConfig.infomation.salesDetailNumber="" + this.editConfig.infomation.salesDetailNumber = "" this.productTableList.tableData = [] this.tableData = [] this.SalesDetailsId = 0 -- Gitblit v1.8.0