Преглед изворни кода

修正今日变动计算公式

li.shaoyi пре 3 година
родитељ
комит
b9d455bac7
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/views/search/inventory/list/inventory_current/index.vue

+ 2 - 2
src/views/search/inventory/list/inventory_current/index.vue

@@ -8,9 +8,9 @@
     </template>
     <template #default="{ scroll }">
       <a-table :columns="columns" class="srcollYTable" :scroll="scroll" :pagination="false" :rowKey="(record,index)=>index" :expandedRowKeys="expandedRowKeys" :customRow="Rowclick" :data-source="tableList">
-        <!-- 今日变动 = 今日入库量 - 今日出库量 -->
+        <!-- 今日变动 = 今日量 - 昨日量 -->
         <template #diffqty="{ record }">
-          {{ record.todayproduceinqty - record.todayproduceoutqty }}
+          {{ record.curstock - record.oristock }}
         </template>
         <!-- 今日入库量 -->
         <template #todayproduceinqty="{ record }">