chenlu
2024-01-05 243c0592bd8708b2ab56ee937d0d4357d2b06dda
north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCard.vue
@@ -63,20 +63,21 @@
  columns:[
    {type:'expand',fixed:"left",slots: { content:'content' },width: 50},
    { type: 'seq',fixed:"left", title: '自序', width: 50 },
  //  {title: '操作', width: 140, slots: { default: 'button_slot' },fixed:"left"},
    {field: 'salesOrderNo',width: 120, title: '销售单号',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true, },
    {field: 'productionOrderNo',width: 120, title: '流程卡号', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
    {field: 'customerName',width: 120, title: '客户名称', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
    {field: 'entryName',width: 120, title: '项目名称',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true},
    {field: 'sliceMarking',width: 90, title: '片标记', sortable: true,showOverflow:"ellipsis"},
    {field: 'marking',width: 80, title: '标记', sortable: true},
    {field: 'pieces',width: 80, title: '片数', sortable: true},
    {field: 'area',width: 80, title: '面积', sortable: true,showOverflow:"ellipsis"},
    {field: 'productName',width: 120, title: '产品名称', sortable: true},
    {field: 'floorNumber',width: 120, title: '楼层编号', sortable: true},
    {field: 'divider', width: 120,title: '分架员', sortable: true},
    {field: 'splittingTime',width: 120, title: '分架时间', sortable: true},
    {field: 'notes',width: 120, title: '备注', sortable: true}
    {field: '销售单号',width: 120, title: '销售单号',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true, },
    {field: '生产订单号',width: 140, title: '生产订单号', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
    {field: '流程卡号',width: 120, title: '流程卡号', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
    {field: '客户名称',width: 120, title: '客户名称', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
    {field: '项目名称',width: 120, title: '项目名称',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true},
    {field: '片标记',width: 90, title: '片标记', sortable: true,showOverflow:"ellipsis"},
    {field: '标记',width: 80, title: '标记', sortable: true},
    {field: '片数',width: 80, title: '片数', sortable: true},
    {field: '面积',width: 80, title: '面积', sortable: true,showOverflow:"ellipsis"},
    {field: '产品名称',width: 120, title: '产品名称', sortable: true},
    {field: '单片名称',width: 120, title: '单片名称', sortable: true},
    {field: '楼层编号',width: 120, title: '楼层编号', sortable: true},
    {field: '分架员', width: 120,title: '分架员', sortable: true},
    {field: '分架时间',width: 120, title: '分架时间', sortable: true},
    {field: '备注',width: 120, title: '备注', sortable: true}
  ],//表头按钮
  toolbarConfig: {
@@ -106,77 +107,77 @@
  },
  data:  [
    {
      salesOrderNo: 'NG231201',
      productionOrderNo:'NG231201A',
      processCard: 'NG231201A01',
      customerName:'西安高科幕墙门窗有限公司',
      entryName:'银隆广场',
      sliceMarking:'(外)',
      marking:'1',
      pieces:'16',
      area:'24.14',
      productName: '10mm超白UD60平钢(外)+12Ar(结)+10mm超白平钢(内)',
      singlePieceName: '10mm超白UD60平钢(外)',
      floorNumber: '16-BSGB05',
      divider: '普形',
      splittingTime: '2023-01-11',
      notes: '',
      销售单号: 'NG231201',
      生产订单号:'NG231201A',
      流程卡号: 'NG231201A01',
      客户名称:'西安高科幕墙门窗有限公司',
      项目名称:'银隆广场',
      片标记:'(外)',
      标记:'1',
      片数:'16',
      面积:'24.14',
      产品名称: '10mm超白UD60平钢(外)+12Ar(结)+10mm超白平钢(内)',
      单片名称: '10mm超白UD60平钢(外)',
      楼层编号: '16-BSGB05',
      分架员: '张三',
      分架时间: '2023-01-11',
      备注: '',
    },
    {
      salesOrderNo: 'NG231201',
      productionOrderNo:'NG231201A',
      processCard: 'NG231201A01',
      customerName:'西安高科幕墙门窗有限公司',
      entryName:'银隆广场',
      sliceMarking:'(内)',
      marking:'2',
      pieces:'16',
      area:'24.14',
      productName: '10mm超白UD60平钢(外)+12Ar(结)+10mm超白平钢(内)',
      singlePieceName: '10mm超白平钢(内)',
      floorNumber: '16-BSGB05',
      divider: '普形',
      splittingTime: '2023-01-11',
      notes: '',
      销售单号: 'NG231201',
      生产订单号:'NG231201A',
      流程卡号: 'NG231201A01',
      客户名称:'西安高科幕墙门窗有限公司',
      项目名称:'银隆广场',
      片标记:'(外)',
      标记:'1',
      片数:'16',
      面积:'24.14',
      产品名称: '10mm超白UD60平钢(外)+12Ar(结)+10mm超白平钢(内)',
      单片名称: '10mm超白UD60平钢(外)',
      楼层编号: '16-BSGB05',
      分架员: '张三',
      分架时间: '2023-01-11',
      备注: '',
    },
    {
      salesOrderNo: 'NG231201',
      productionOrderNo:'NG231201A',
      processCard: 'NG231201A02',
      customerName:'西安高科幕墙门窗有限公司',
      entryName:'银隆广场',
      sliceMarking:'(外)',
      marking:'1',
      pieces:'6',
      area:'24.14',
      productName: '10mm超白UD60平钢(外)+12Ar(结)+10mm超白平钢(内)',
      singlePieceName: '10mm超白UD60平钢(外)',
      floorNumber: '16-BSGB05',
      divider: '普形',
      splittingTime: '2023-01-11',
      notes: '',
      销售单号: 'NG231201',
      生产订单号:'NG231201A',
      流程卡号: 'NG231201A01',
      客户名称:'西安高科幕墙门窗有限公司',
      项目名称:'银隆广场',
      片标记:'(外)',
      标记:'1',
      片数:'16',
      面积:'24.14',
      产品名称: '10mm超白UD60平钢(外)+12Ar(结)+10mm超白平钢(内)',
      单片名称: '10mm超白UD60平钢(外)',
      楼层编号: '16-BSGB05',
      分架员: '张三',
      分架时间: '2023-01-11',
      备注: '',
    },
    {
      salesOrderNo: 'NG231201',
      productionOrderNo:'NG231201A',
      processCard: 'NG231201A02',
      customerName:'西安高科幕墙门窗有限公司',
      entryName:'银隆广场',
      sliceMarking:'(内)',
      marking:'2',
      pieces:'6',
      area:'24.14',
      productName: '10mm超白UD60平钢(外)+12Ar(结)+10mm超白平钢(内)',
      singlePieceName: '10mm超白平钢(内)',
      floorNumber: '16-BSGB05',
      divider: '普形',
      splittingTime: '2023-01-11',
      notes: '',
      销售单号: 'NG231201',
      生产订单号:'NG231201A',
      流程卡号: 'NG231201A01',
      客户名称:'西安高科幕墙门窗有限公司',
      项目名称:'银隆广场',
      片标记:'(外)',
      标记:'1',
      片数:'16',
      面积:'24.14',
      产品名称: '10mm超白UD60平钢(外)+12Ar(结)+10mm超白平钢(内)',
      单片名称: '10mm超白UD60平钢(外)',
      楼层编号: '16-BSGB05',
      分架员: '张三',
      分架时间: '2023-01-11',
      备注: '',
    },
  ],//table body实际数据
  //脚部求和
  footerMethod ({ columns, data }) {//页脚函数
    let footList=['pieces','area']
    let footList=['片数','面积']
    return[
      columns.map((column, columnIndex) => {
        if (columnIndex === 0) {