ソースを参照

财务核对表

jbb 2 年 前
コミット
a970454af4
1 ファイル変更62 行追加45 行削除
  1. 62 45
      src/views/cost-allocation-total/inancialReconciliation.vue

+ 62 - 45
src/views/cost-allocation-total/inancialReconciliation.vue

@@ -108,27 +108,13 @@ export default {
   data() {
     let ellipsis = (v, l = 20) => <j-ellipsis value={v} length={l} />
     return {
-      // 成本分配汇总 表头
       costAllocationColumns: [
-        {
-          title: '序号',
-          width: 90,
-          dataIndex: 'index',
-          customRender: (text, record, index) => `${index + 1}`,
-          fixed: 'left',
-          className: 'replacecolor'
-        },
         { title: '计划单号', width: 120, dataIndex: 'planNum', fixed: 'left', className: 'replacecolor' },
-        { title: '款号', width: 120, dataIndex: 'poStyleNum', className: 'replacecolor' },
+        { title: '日期', width: 120, dataIndex: 'poStyleNum', className: 'replacecolor' },
+        { title: '部门', width: 120, dataIndex: 'department', className: 'replacecolor'},
         { title: '业务员', width: 120, dataIndex: 'exportSales', className: 'replacecolor' },
-        {
-          title: '部门',
-          width: 120,
-          dataIndex: 'department',
-          className: 'replacecolor'
-        },
-        { title: '客户简称', width: 150, dataIndex: 'customerShortame', className: 'replacecolor' },
-        { title: '加工单位', width: 220, dataIndex: 'processUnit', align: 'left', className: 'replacecolor' },
+        { title: '计划师傅/制单人', width: 150, dataIndex: 'customerShortame', className: 'replacecolor' },
+        { title: '对单人(手输人)', width: 220, dataIndex: 'processUnit', align: 'left', className: 'replacecolor' },
         //  {
         //   title: '创建时间',
         //   dataIndex: 'createTime',
@@ -139,7 +125,34 @@ export default {
         //   }
         // },
         {
-          title: '出运日期',
+          title: '交单日期',
+          width: 120,
+          dataIndex: 'outdata',
+          customRender: text => {
+            return moment(text).format('YYYY-MM-DD')
+          },
+          className: 'replacecolor'
+        },
+        {
+          title: '返单日期',
+          width: 120,
+          dataIndex: 'outdata',
+          customRender: text => {
+            return moment(text).format('YYYY-MM-DD')
+          },
+          className: 'replacecolor'
+        },
+        {
+          title: '审核结束日期',
+          width: 120,
+          dataIndex: 'outdata',
+          customRender: text => {
+            return moment(text).format('YYYY-MM-DD')
+          },
+          className: 'replacecolor'
+        },
+        {
+          title: '面纱结束日期',
           width: 120,
           dataIndex: 'outdata',
           customRender: text => {
@@ -147,16 +160,35 @@ export default {
           },
           className: 'replacecolor'
         },
-        { title: '成衣件数', width: 90, dataIndex: 'actualShipquantity', className: 'replacecolor' },
-        { title: '销售美元', width: 120, dataIndex: 'usdTotalexportprice', className: 'replacecolor' },
-        { title: '销售人民币', width: 120, dataIndex: 'rmbExportamount', className: 'replacecolor' },
-        { title: '面料(不含税)', width: 120, dataIndex: 'fabriccostNotincludestax', className: 'replacecolor' },
-        { title: '辅料(不含税)', width: 120, dataIndex: 'excipiencostNotincludestax', className: 'replacecolor' },
-        { title: '加工费(CNY)', width: 120, dataIndex: 'rmbProcesscost', className: 'replacecolor' },
-        { title: '加工费(USD)', width: 120, dataIndex: 'usdProcesscost', className: 'replacecolor' },
-        { title: '费用支出(汇总CNY)', width: 160, dataIndex: 'rmbExpense', className: 'replacecolor' },
-        { title: '费用支出(汇总USD)', width: 160, dataIndex: 'usdExpense', className: 'replacecolor' },
-        { title: '事故单人民币金额', width: 160, dataIndex: 'accidentcnyAmount', className: 'replacecolor' },
+        { title: '面损表单据状态', width: 90, dataIndex: 'actualShipquantity', className: 'replacecolor' },
+        {
+          title: '交单日期',
+          width: 120,
+          dataIndex: 'outdata',
+          customRender: text => {
+            return moment(text).format('YYYY-MM-DD')
+          },
+          className: 'replacecolor'
+        },
+        {
+          title: '返单日期',
+          width: 120,
+          dataIndex: 'outdata',
+          customRender: text => {
+            return moment(text).format('YYYY-MM-DD')
+          },
+          className: 'replacecolor'
+        },
+        {
+          title: '结束日期',
+          width: 120,
+          dataIndex: 'outdata',
+          customRender: text => {
+            return moment(text).format('YYYY-MM-DD')
+          },
+          className: 'replacecolor'
+        },
+        { title: '分配表单据状态', width: 120, dataIndex: 'usdTotalexportprice', className: 'replacecolor' },
         {
           title: '备注',
           width: 180,
@@ -165,22 +197,7 @@ export default {
           className: 'replacecolor',
           scopedSlots: { customRender: 'remarks' }
         },
-        {
-          title: '单据状态',
-          width: 120,
-          dataIndex: 'billstatus',
-          className: 'replacecolor',
-          fixed: 'right',
-          scopedSlots: { customRender: 'billstatus' }
-        },
-        {
-          title: '操作',
-          dataIndex: 'operation',
-          scopedSlots: { customRender: 'operationSlot' },
-          fixed: 'right',
-          width: 160,
-          className: 'replacecolor'
-        }
+
       ],
       costAllocationData: [],
       // 查询条件