Browse Source

车架号

lilei 3 years ago
parent
commit
3b37ea6462
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/salesManagement/salesQuery/queryPart.vue

+ 3 - 3
src/views/salesManagement/salesQuery/queryPart.vue

@@ -10,12 +10,12 @@
         :model="queryParam"
         @keyup.enter.native="$refs.table.refresh(true)" >
         <a-row :gutter="5">
-          <a-col :md="6" :sm="24">
+          <a-col :md="6" :sm="24" v-if="$hasPermissions('B_salerVinFindProduct')">
             <a-form-model-item label="车架号(VIN)" prop="vinCode">
               <a-input id="productInfoList-vinCode" v-model.trim="queryParam.vinCode" allowClear placeholder="请输入车架号(VIN)">
-                <!-- <a-icon @click="uploadFun" :type="vinLoading?'loading':'camera'" slot="addonAfter" :style="{ fontSize: '18px', verticalAlign: 'bottom' }" /> -->
+                <a-icon @click="uploadFun" :type="vinLoading?'loading':'camera'" slot="addonAfter" :style="{ fontSize: '18px', verticalAlign: 'bottom' }" />
               </a-input>
-              <!-- <input type="file" id="filed" accept="image/jpeg,image/png" hidden="" @change="filePreview"> -->
+              <input type="file" id="filed" accept="image/jpeg,image/png" hidden="" @change="filePreview">
             </a-form-model-item>
           </a-col>
           <a-col :md="5" :sm="24">