GouGengquan 4 months ago
parent
commit
489010b834
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/assets/workbench/eqpt/calculate/importInfo.vue

+ 2 - 2
src/views/assets/workbench/eqpt/calculate/importInfo.vue

@@ -87,7 +87,7 @@
             <Search />
           </el-icon>搜索
         </el-button>
-        <el-tooltip content="开启后当" placement="top" effect="light">
+        <el-tooltip content="开启后当填写询价依据、网址和单价后,将会自动赋值给相同设备名称与型号的数据" placement="top" effect="light">
           <el-switch
           v-model="autoSetValueStatus"
           class="ml-2"
@@ -2144,7 +2144,7 @@ export default {
           if (this.activeName == 'all') {
             for (const item of this.eqptPageData) {
               if (item.equipmentName == name && item.model == model) {
-                  if (!item.inquiryBasis && !item.inquiryWeb && !item.price) {
+                  if ((!item.inquiryBasis || !item.inquiryBasis === "") && (!item.inquiryWeb || !item.inquiryWeb === "") && (!item.price || !item.price === "")) {
                     item.inquiryBasis = inquiryBasis;
                     item.inquiryWeb = inquiryWeb;
                     item.price = price;