lilei 3 mesiacov pred
rodič
commit
f00ea7370b

+ 1 - 1
public/version.json

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

+ 4 - 2
src/views/salesManagement/salesQueryNew/chooseProductModal.vue

@@ -61,7 +61,7 @@
                 </a-select>
               </a-form-model-item>
             </a-col>
-            <a-col flex="2" v-if="$hasPermissions('B_salerVinFindProduct')">
+            <a-col flex="2" v-if="$hasPermissions('B_salerVinFindProduct')&&sourceType !== 'TRANSFER_ORDER'">
               <a-form-model-item label="车架号(VIN)" prop="vinCode">
                 <a-input id="productInfoList-vinCode" v-model.trim="queryParam.vinCode" allowClear placeholder="请输入车架号(VIN)">
                   <a-upload slot="addonAfter" :before-upload="beforeUpload" listType="picture" accept="image/*" :showUploadList="false">
@@ -565,6 +565,7 @@ export default {
       formData.append('file', file)
       // 解析图片
       this.vinLoading = true
+      this.disabled = true
       vinCodeParse(formData).then(res => {
         if (res.type == 'application/json') {
           var reader = new FileReader()
@@ -581,11 +582,12 @@ export default {
               })
             }
             _this.vinLoading = false
-            document.getElementById('filed').value = ''
+            _this.disabled = false
           })
           reader.readAsText(res)
         } else {
           _this.vinLoading = false
+          _this.disabled = false
         }
       })
       return false