From b136c0a80500d929897a8e24f920efad47e2e307 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 01 十一月 2023 19:03:01 +0800
Subject: [PATCH] 变更公海 的接口传参修改
---
src/views/sales/quotation/AddQuotationDialog.vue | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/views/sales/quotation/AddQuotationDialog.vue b/src/views/sales/quotation/AddQuotationDialog.vue
index 8dcc294..f09c5f7 100644
--- a/src/views/sales/quotation/AddQuotationDialog.vue
+++ b/src/views/sales/quotation/AddQuotationDialog.vue
@@ -370,7 +370,7 @@
dialogWidth: "50%",
editConfig: this.editCommonConfig,
rules: {
- number: [{ required: true, validator: this.validateCheckCode, trigger: "blur" }],
+ number: [{ required: true, validator: this.validateCheckCode, trigger: ["blur","change"] }],
quotationName: [{ required: true, message: "璇疯緭鍏�", trigger: "blur" }],
quotation_status_id: [{ required: true, message: "璇烽�夋嫨", trigger: "change" }],
sale_chance_name: [{ required: true, validator: this.checkChance, trigger: "change" }],
@@ -425,9 +425,6 @@
this.formInfo()
}
},
- "editConfig.infomation.codeStandID"() {
- this.formInfo()
- }
},
methods: {
formInfo() {
@@ -521,7 +518,6 @@
validity_date: data.validity_date || "",
products: this.tableData,
codeStandID: data.ID,
- codeRule: this.codeRule,
client_id: this.clientId || 0
}
return params
@@ -677,7 +673,7 @@
this.tableData = data
this.productTableList.tableData = this.tableData
},
- // 璁㈠崟缂栫爜鍗曠嫭鏍¢獙
+ // 閿�鍞満浼氬崟鐙牎楠�
checkChance(rule, value, callback) {
if (this.editConfig.infomation.sale_chance_name && this.editConfig.infomation.sale_chance_name.length > 0) {
callback()
--
Gitblit v1.8.0