xiaodai2022 il y a 2 ans
Parent
commit
a334c1b6fb

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/js/0.js


+ 3 - 3
src/views/sellOut/sellOutOrder/components/want-deliver.vue

@@ -125,13 +125,13 @@ export default {
           callback(new Error("物流单号不能为空!"));
         } else if (value === "0") {
           callback();
-        } else if (l < 10 || l > 20) {
-          callback(new Error("仅支持0;纯数字或字母数字组合(10~20位)!"));
+        } else if (l < 9 || l > 20) {
+          callback(new Error("仅支持0;纯数字或字母数字组合(9~20位)!"));
         } else if (isnumber(value)) {
           callback();
         } else if (!isAlphanumeric(value)) {
           console.log(!isAlphanumeric(value));
-          callback(new Error("仅支持0;纯数字或字母数字组合(10~20位)!"));
+          callback(new Error("仅支持0;纯数字或字母数字组合(9~20位)!"));
         } else {
           callback();
         }

+ 2 - 2
src/views/sellOut/sellOutOrder/sendOutOrder.vue

@@ -31,7 +31,7 @@ export default {
   name: "orderImport",
   data() {
     return {
-      code_msg: "物流单号必传,且支持0;纯数字或字母数字组合(10~20位)!",
+      code_msg: "物流单号必传,且支持0;纯数字或字母数字组合(9~20位)!",
       ruleForm: {
         order_addr: [], //收货地址
       },
@@ -144,7 +144,7 @@ export default {
           res = false;
         } else if (value === "0") {
           res = true;
-        } else if (l >= 10 && l <= 20) {
+        } else if (l >= 9 && l <= 20) {
           if (isnumber(value)) {
             res = true;
           } else if (!isAlphanumeric(value)) {

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff