lilei 2 月之前
父节点
当前提交
27f2cfdb3f
共有 2 个文件被更改,包括 7 次插入2 次删除
  1. 1 1
      public/version.json
  2. 6 1
      src/views/salesManagement/salesQueryNew/chooseProductModal.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
 {
   "message": "发现有新版本发布,确定更新系统?",
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
   "vendorJsVersion": "",
-  "version": 1744710532103
+  "version": 1744711012865
 }
 }

+ 6 - 1
src/views/salesManagement/salesQueryNew/chooseProductModal.vue

@@ -482,7 +482,7 @@ export default {
   methods: {
   methods: {
     // 查询
     // 查询
     searchForm () {
     searchForm () {
-      if (this.queryParam.vinCode.length != 17) {
+      if (this.queryParam.vinCode.length != 0 && this.queryParam.vinCode.length != 17) {
         this.$message.info('请输入正确的VIN码')
         this.$message.info('请输入正确的VIN码')
         return
         return
       }
       }
@@ -573,6 +573,11 @@ export default {
         }, 200)
         }, 200)
       } else {
       } else {
         // this.$message.info('请输入正确的VIN码')
         // this.$message.info('请输入正确的VIN码')
+        if (this.hasVaild) {
+          setTimeout(() => {
+            this.searchForm()
+          }, 200)
+        }
         this.queryParam.productCodeList = undefined
         this.queryParam.productCodeList = undefined
       }
       }
     },
     },