Sfoglia il codice sorgente

面料损耗第三版

fenghaifu 2 anni fa
parent
commit
dd939f7473
1 ha cambiato i file con 11 aggiunte e 11 eliminazioni
  1. 11 11
      src/views/reportForms/fabric-loss-table.vue

+ 11 - 11
src/views/reportForms/fabric-loss-table.vue

@@ -197,7 +197,7 @@
           :row-key="record => record.id"
           :loading="loading"
           :columns="costInvoiceFabricColumns"
-          :data-source="costInvoiceFabricData"
+          :data-source="fabricLoss.costInvoiceFabricData"
           bordered
           :pagination="false"
           :footer="fabricFooterShow"
@@ -209,17 +209,17 @@
         </a-table>
       </div>
 
-      <!-- 开票成本-成衣 -->
+      <!-- 开票成本-成衣 :footer="clothesFooterShow"-->
       <div class="costInvoice-clothes-table" style="margin:40px 0">
         <h6 class="table-title">开票成本-成衣</h6>
         <a-table
           :row-key="record => record.id"
           :loading="loading"
           :columns="costInvoiceClothesColumns"
-          :data-source="costInvoiceClothesData"
+          :data-source="fabricLoss.fabricCostClothesList"
           bordered
           :pagination="false"
-          :footer="clothesFooterShow"
+          
         >
           <!-- 发票数量 -->
           <span slot="clInvoiceQuantity" slot-scope="text">
@@ -235,7 +235,7 @@
           :row-key="record => record.id"
           :loading="loading"
           :columns="costInvoiceIngredientColumns"
-          :data-source="costInvoiceIngredientData"
+          :data-source="fabricLoss.costInvoiceIngredientData"
           bordered
           :pagination="false"
         >
@@ -267,7 +267,7 @@
           :row-key="record => record.id"
           :loading="loading"
           :columns="accidentListColumns"
-          :data-source="accidentListData"
+          :data-source="fabricLoss.accidentListData"
           bordered
           :pagination="false"
         >
@@ -626,14 +626,14 @@ export default {
 
       // 开票成本-成衣 表头
       costInvoiceClothesColumns: [
-        { title: '发票号码', width: 120, dataIndex: 'clInvoiceNum', className: 'replacecolor' },
-        { title: '委外供应商', width: 120, dataIndex: 'outsourceSupplier', className: 'replacecolor' },
-        { title: '成衣加工费', width: 120, dataIndex: 'clProcessCost', className: 'replacecolor' },
+        { title: '发票号码', width: 120, dataIndex: 'cpbvcode', className: 'replacecolor' },
+        { title: '委外供应商', width: 120, dataIndex: 'cvenAbbName', className: 'replacecolor' },
+        { title: '成衣加工费', width: 120, dataIndex: 'isum', className: 'replacecolor' },
         { title: '出运日期', width: 120, dataIndex: 'outData', className: 'replacecolor' },
-        { title: '入库数量', width: 120, dataIndex: 'inQuantity', className: 'replacecolor' },
+        { title: '入库数量', width: 120, dataIndex: 'iquantity', className: 'replacecolor' },
         {
           title: '发票数量',
-          dataIndex: 'clInvoiceQuantity',
+          dataIndex: 'ipbvquantity',
 
           width: 120,
           className: 'replacecolor',