lxf 1 жил өмнө
parent
commit
a8a2e46fef

+ 1 - 1
src/views/production/operation/batching/demo.vue

@@ -76,7 +76,7 @@
               <el-table-column label="剩余库存" prop="surplusStock" width="120" />
               <el-table-column label="出库数量" width="140">
                 <template #default="{ row }">
-                  <span :style="row.surplusStock && row.surplusStock < row.quantity ? '' : 'color: red'">{{ row.quantity }}</span>
+                  <span :style="row.surplusStock && row.surplusStock < row.quantity ? 'color: red' : ''">{{ row.quantity }}</span>
                 </template>
               </el-table-column>
               <el-table-column label="操作" align="center" fixed="right" width="80">

+ 1 - 1
src/views/production/operation/batching/quick.vue

@@ -50,7 +50,7 @@
               <el-table-column label="剩余库存" prop="surplusStock" width="120" />
               <el-table-column label="出库数量" width="140">
                 <template #default="{ row }">
-                  <span :style="row.surplusStock && row.surplusStock < row.quantity ? '' : 'color: red'">{{ row.quantity }}</span>
+                  <span :style="row.surplusStock && row.surplusStock < row.quantity ? 'color: red' : ''">{{ row.quantity }}</span>
                 </template>
               </el-table-column>
             </el-table>