zhangyuewww пре 3 година
родитељ
комит
d7c5395471

+ 1 - 1
src/views/purchasingManagement/purchaseOrderList.vue

@@ -106,7 +106,7 @@
           <span
             v-if="
               scope.row.identification == 'false' &&
-              scope.row.basis &&
+              String(scope.row.basis) &&
               scope.row.procurementPlanType == '期货'
             "
             >{{scope.row.basis }}</span

+ 3 - 3
src/views/salesManagement/salesPlanOrderList.vue

@@ -106,7 +106,7 @@
           <span
             v-if="
               !scope.row.basischange &&
-              scope.row.basis &&
+              String(scope.row.basis) &&
               scope.row.salePlanType == '期货'
             "
             >{{ '+'+scope.row.basis }}</span
@@ -126,7 +126,7 @@
           <img
             v-if="
               !scope.row.basischange &&
-              scope.row.basis &&
+              String(scope.row.basis) &&
               scope.row.salePlanType == '期货'
             "
             width="17"
@@ -136,7 +136,7 @@
             @click="editbasis(scope.row)"
             alt=""
           />
-          <span v-if="!scope.row.basis">-</span>
+          <span v-if="!String(scope.row.basis)">-</span>
         </template>
       </el-table-column>
       <el-table-column