From 01cea4bc73210e43f748d82a02a432cce615be2d Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 24 十月 2023 17:52:04 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/crm-web into wn

---
 src/views/sales/quotation/AddQuotationDialog.vue |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/views/sales/quotation/AddQuotationDialog.vue b/src/views/sales/quotation/AddQuotationDialog.vue
index b1b446e..b9de06b 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() {
@@ -458,7 +455,6 @@
     // 淇濆瓨
     saveClick(formName) {
       this.$refs[formName].validate((valid) => {
-        this.validateFormNumber()
         if (valid) {
           for (let i = 0; i < this.tableData.length; i++) {
             if (this.tableData[i].name.length === 0) {
@@ -522,7 +518,6 @@
         validity_date: data.validity_date || "",
         products: this.tableData,
         codeStandID: data.ID,
-        codeRule: this.codeRule,
         client_id: this.clientId || 0
       }
       return params

--
Gitblit v1.8.0