ccjgmwz 3 vuotta sitten
vanhempi
commit
3f2572f854

+ 3 - 3
src/views/contractManagement/futuresPurchaseContractAdd.vue

@@ -40,7 +40,7 @@
           <ws-input
             v-model="deptBudgetList.contractNo"
             placeholder="请输入合同编号"
-            maxlength="20"
+            maxlength="50"
             size="small"
           />
         </ws-form-item>
@@ -853,10 +853,10 @@ export default {
       }
       if (
         this.deptBudgetList.contractNo.length < 6 ||
-        this.deptBudgetList.contractNo.length > 20
+        this.deptBudgetList.contractNo.length > 50
       ) {
         this.$message({
-          message: '合同编号长度不符合要求,请输入6到20个字符之内!',
+          message: '合同编号长度不符合要求,请输入6到50个字符之内!',
           type: 'warning',
         })
         return

+ 2 - 2
src/views/contractManagement/futuresPurchaseContractEdit.vue

@@ -996,10 +996,10 @@ export default {
       }
       if (
         this.deptBudgetList.contractNo.length < 6 ||
-        this.deptBudgetList.contractNo.length > 20
+        this.deptBudgetList.contractNo.length > 50
       ) {
         this.$message({
-          message: '合同编号长度不符合要求,请输入6到20个字符之内!',
+          message: '合同编号长度不符合要求,请输入6到50个字符之内!',
           type: 'warning',
         })
         return

+ 7 - 7
src/views/contractManagement/futuresSalesContractAdd.vue

@@ -40,7 +40,7 @@
           <ws-input
             v-model="deptBudgetList.contractNo"
             placeholder="请输入合同编号"
-            maxlength="20"
+            maxlength="50"
             size="small"
           />
         </ws-form-item>
@@ -682,8 +682,8 @@ export default {
           { required: true, message: '请输入活动名称', trigger: 'blur' },
           {
             min: 6,
-            max: 20,
-            message: '长度在 6 到 20 个字符',
+            max: 50,
+            message: '长度在 6 到 50 个字符',
             trigger: 'blur',
           },
         ],
@@ -854,10 +854,10 @@ export default {
       }
       if (
         this.deptBudgetList.contractNo.length < 6 ||
-        this.deptBudgetList.contractNo.length > 20
+        this.deptBudgetList.contractNo.length > 50
       ) {
         this.$message({
-          message: '合同编号长度不符合要求,请输入6到20个字符之内!',
+          message: '合同编号长度不符合要求,请输入6到50个字符之内!',
           type: 'warning',
         })
         return
@@ -1452,8 +1452,8 @@ export default {
           this.deptBudgetList.compId = this.compId
           this.deptBudgetList.contractType = 1
           this.deptBudgetList.goodsType = 2
-           if(this.deptBudgetList.deliveryProvince =="澳门特别行政区" || this.deptBudgetList.deliveryProvince == "澳门特别行政区"){
-            this.deptBudgetList.deliveryArea = "特别行政区"
+           if(this.deptBudgetList.deliveryProvince =='澳门特别行政区' || this.deptBudgetList.deliveryProvince == '澳门特别行政区'){
+            this.deptBudgetList.deliveryArea = '特别行政区'
           }else{ 
                  this.deptBudgetList.deliveryArea =  CodeToText[this.selectedOptions[2]]
           }

+ 4 - 4
src/views/contractManagement/futuresSalesContractEdit.vue

@@ -980,10 +980,10 @@ export default {
       }
       if (
         this.deptBudgetList.contractNo.length < 6 ||
-        this.deptBudgetList.contractNo.length > 20
+        this.deptBudgetList.contractNo.length > 50
       ) {
         this.$message({
-          message: '合同编号长度不符合要求,请输入6到20个字符之内!',
+          message: '合同编号长度不符合要求,请输入6到50个字符之内!',
           type: 'warning',
         })
         return
@@ -1583,8 +1583,8 @@ export default {
           this.deptBudgetList.compId = this.compId
           this.deptBudgetList.contractType = 1
           this.deptBudgetList.goodsType = 2
-           if(this.deptBudgetList.deliveryProvince =="澳门特别行政区" || this.deptBudgetList.deliveryProvince == "澳门特别行政区"){
-            this.deptBudgetList.deliveryArea = "特别行政区"
+           if(this.deptBudgetList.deliveryProvince =='澳门特别行政区' || this.deptBudgetList.deliveryProvince == '澳门特别行政区'){
+            this.deptBudgetList.deliveryArea = '特别行政区'
           }else{ 
                  this.deptBudgetList.deliveryArea =  CodeToText[this.selectedOptions[2]]
           }

+ 5 - 5
src/views/contractManagement/purchaseContractAdd.vue

@@ -39,7 +39,7 @@
           <ws-input
             v-model="deptBudgetList.contractNo"
             placeholder="请输入合同编号"
-            maxlength="20"
+            maxlength="50"
             size="small"
           />
         </ws-form-item>
@@ -628,8 +628,8 @@ export default {
           { required: true, message: '请输入活动名称', trigger: 'blur' },
           {
             min: 6,
-            max: 20,
-            message: '长度在 6 到 20 个字符',
+            max: 50,
+            message: '长度在 6 到 50 个字符',
             trigger: 'blur',
           },
         ],
@@ -772,10 +772,10 @@ export default {
       }
       if (
         this.deptBudgetList.contractNo.length < 6 ||
-        this.deptBudgetList.contractNo.length > 20
+        this.deptBudgetList.contractNo.length > 50
       ) {
         this.$message({
-          message: '合同编号长度不符合要求,请输入6到20个字符之内!',
+          message: '合同编号长度不符合要求,请输入6到50个字符之内!',
           type: 'warning',
         })
         return

+ 6 - 6
src/views/contractManagement/purchaseContractEdit.vue

@@ -848,10 +848,10 @@ export default {
       }
       if (
         this.deptBudgetList.contractNo.length < 6 ||
-        this.deptBudgetList.contractNo.length > 20
+        this.deptBudgetList.contractNo.length > 50
       ) {
         this.$message({
-          message: '合同编号长度不符合要求,请输入6到20个字符之内!',
+          message: '合同编号长度不符合要求,请输入6到50个字符之内!',
           type: 'warning',
         })
         return
@@ -1377,13 +1377,13 @@ export default {
         
           this.deptBudgetList.compId = this.compId
           this.deptBudgetList.contractType = 2
-           if(this.deptBudgetList.deliveryProvince =="澳门特别行政区" || this.deptBudgetList.deliveryProvince == "澳门特别行政区"){
-            this.deptBudgetList.deliveryArea = "特别行政区"
+           if(this.deptBudgetList.deliveryProvince =='澳门特别行政区' || this.deptBudgetList.deliveryProvince == '澳门特别行政区'){
+            this.deptBudgetList.deliveryArea = '特别行政区'
           }else{ 
                  this.deptBudgetList.deliveryArea =  CodeToText[this.selectedOptions1[2]]
           }
-             if(this.deptBudgetList.sourceProvince =="澳门特别行政区" || this.deptBudgetList.sourceProvince == "澳门特别行政区"){
-            this.deptBudgetList.sourceArea = "特别行政区"
+             if(this.deptBudgetList.sourceProvince =='澳门特别行政区' || this.deptBudgetList.sourceProvince == '澳门特别行政区'){
+            this.deptBudgetList.sourceArea = '特别行政区'
           }else{
                this.deptBudgetList.sourceArea = CodeToText[this.selectedOptions[2]]
           }

+ 5 - 5
src/views/contractManagement/salesContractAdd.vue

@@ -43,7 +43,7 @@
             <ws-input
               v-model="deptBudgetList.contractNo"
               placeholder="请输入合同编号"
-              maxlength="20"
+              maxlength="50"
               size="small"
               :rules="ruleDeptBudget"
             />
@@ -639,8 +639,8 @@ export default {
           { required: true, message: '请输入活动名称', trigger: 'blur' },
           {
             min: 6,
-            max: 20,
-            message: '长度在 6 到 20 个字符',
+            max: 50,
+            message: '长度在 6 到 50 个字符',
             trigger: 'blur',
           },
         ],
@@ -750,10 +750,10 @@ export default {
       }
       if (
         this.deptBudgetList.contractNo.length < 6 ||
-        this.deptBudgetList.contractNo.length > 20
+        this.deptBudgetList.contractNo.length > 50
       ) {
         this.$message({
-          message: '合同编号长度不符合要求,请输入6到20个字符之内!',
+          message: '合同编号长度不符合要求,请输入6到50个字符之内!',
           type: 'warning',
         })
         return

+ 2 - 2
src/views/contractManagement/salesContractEdit.vue

@@ -815,10 +815,10 @@ export default {
       }
       if (
         this.deptBudgetList.contractNo.length < 6 ||
-        this.deptBudgetList.contractNo.length > 20
+        this.deptBudgetList.contractNo.length > 50
       ) {
         this.$message({
-          message: '合同编号长度不符合要求,请输入6到20个字符之内!',
+          message: '合同编号长度不符合要求,请输入6到50个字符之内!',
           type: 'warning',
         })
         return