Selaa lähdekoodia

fix: 销售执行明细汇总 计算发货数量汇总

Howie 2 vuotta sitten
vanhempi
commit
4a56b69350
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      src/views/supply/implement/implement_total_list.vue

+ 3 - 2
src/views/supply/implement/implement_total_list.vue

@@ -439,7 +439,7 @@
                 {{ scope.row.hasSendAmount | numToFixed }}
               </template>
             </el-table-column>
-            <el-table-column align="right" label="发货数量" prop="hasSendQty" min-width="100" show-overflow-tooltip>
+            <el-table-column align="right" label="发货数量" prop="fahuo" min-width="100" show-overflow-tooltip>
               <template v-slot="{ row }">
                 {{ row.qty - (row.refundableQty || 0) }}
               </template>
@@ -783,7 +783,8 @@ export default {
       }
       getTotalList(params).then(res => {
         res.data.records.forEach(item => {
-          item.sums1 = ['refundableQty', 'qty', 'retiredQty', 'hasSendQty', 'directTransferQty', 'refundProductQty']
+          item.fahuo = item.qty - (item.refundableQty || 0)
+          item.sums1 = ['refundableQty', 'qty', 'retiredQty', 'hasSendQty', 'directTransferQty', 'refundProductQty','fahuo']
           item.sums2 = ['payAmount', 'payRebateAmount', 'hasSendAmount', 'retiredAmount', 'refundProductAmount']
         })
         this.dataList = res.data.records