|
@@ -176,290 +176,290 @@ export default {
|
|
|
// return moment(text).format('YYYY-MM-DD')
|
|
|
// }
|
|
|
// },
|
|
|
- {
|
|
|
- title: '订单日期',
|
|
|
- dataIndex: 'orderDate',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor',
|
|
|
- customRender: text => {
|
|
|
- return moment(text).format('YYYY-MM-DD')
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '预发货日期',
|
|
|
- dataIndex: 'preDeliveryDate',
|
|
|
- width: 100,
|
|
|
- className: 'replacecolor',
|
|
|
+ // {
|
|
|
+ // title: '订单日期',
|
|
|
+ // dataIndex: 'orderDate',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor',
|
|
|
+ // customRender: text => {
|
|
|
+ // return moment(text).format('YYYY-MM-DD')
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '预发货日期',
|
|
|
+ // dataIndex: 'preDeliveryDate',
|
|
|
+ // width: 100,
|
|
|
+ // className: 'replacecolor',
|
|
|
|
|
|
- },
|
|
|
- {
|
|
|
- title: '预完工日期',
|
|
|
- dataIndex: 'preCompletionDate',
|
|
|
- width: 100,
|
|
|
- className: 'replacecolor',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '预完工日期',
|
|
|
+ // dataIndex: 'preCompletionDate',
|
|
|
+ // width: 100,
|
|
|
+ // className: 'replacecolor',
|
|
|
|
|
|
- },
|
|
|
- {
|
|
|
- title: '成衣工厂',
|
|
|
- dataIndex: 'garmentFactory',
|
|
|
- width: 100,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '业务类型',
|
|
|
- dataIndex: 'businessTypeText',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '客户订单',
|
|
|
- dataIndex: 'customerOrder',
|
|
|
- width: 120,
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '成衣工厂',
|
|
|
+ // dataIndex: 'garmentFactory',
|
|
|
+ // width: 100,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '业务类型',
|
|
|
+ // dataIndex: 'businessTypeText',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '客户订单',
|
|
|
+ // dataIndex: 'customerOrder',
|
|
|
+ // width: 120,
|
|
|
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- {
|
|
|
- title: '采购/委外订单号',
|
|
|
- dataIndex: 'purOrSubOrder',
|
|
|
- scopedSlots: { customRender: 'purOrSubOrder' },
|
|
|
- // fixed: 'left',
|
|
|
- width: 180,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: ' 报关单价',
|
|
|
- dataIndex: 'customsDeclarationUnitPrice',
|
|
|
- scopedSlots: { customRender: 'customsDeclarationUnitPrice' },
|
|
|
- // fixed: 'left',
|
|
|
- width: 180,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '采购/委外订单号',
|
|
|
+ // dataIndex: 'purOrSubOrder',
|
|
|
+ // scopedSlots: { customRender: 'purOrSubOrder' },
|
|
|
+ // // fixed: 'left',
|
|
|
+ // width: 180,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: ' 报关单价',
|
|
|
+ // dataIndex: 'customsDeclarationUnitPrice',
|
|
|
+ // scopedSlots: { customRender: 'customsDeclarationUnitPrice' },
|
|
|
+ // // fixed: 'left',
|
|
|
+ // width: 180,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
|
|
|
- {
|
|
|
- title: '订单数量',
|
|
|
- dataIndex: 'orderQuantity',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '订单剩余数量',
|
|
|
- dataIndex: 'orderRemainingQuantity',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '订单数量',
|
|
|
+ // dataIndex: 'orderQuantity',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '订单剩余数量',
|
|
|
+ // dataIndex: 'orderRemainingQuantity',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
|
|
|
- {
|
|
|
- title: '发货数量',
|
|
|
- dataIndex: 'shipmentQuantity',
|
|
|
- scopedSlots: { customRender: 'shipmentQuantity' },
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '发货数量',
|
|
|
+ // dataIndex: 'shipmentQuantity',
|
|
|
+ // scopedSlots: { customRender: 'shipmentQuantity' },
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
|
|
|
- {
|
|
|
- title: '套装件数',
|
|
|
- dataIndex: 'numberOfSets',
|
|
|
- scopedSlots: { customRender: 'numberOfSets' },
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '是否TC功能',
|
|
|
- dataIndex: 'isTc',
|
|
|
- width: 90,
|
|
|
- className: 'replacecolor',
|
|
|
- customRender:function(value){
|
|
|
- if (value == "1")
|
|
|
- return "是";
|
|
|
- else if (value == "0")
|
|
|
- return "否";
|
|
|
- return value;
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '物料成分',
|
|
|
- dataIndex: 'materialComposition',
|
|
|
- scopedSlots: { customRender: 'materialComposition' },
|
|
|
- width: 140,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '套装件数',
|
|
|
+ // dataIndex: 'numberOfSets',
|
|
|
+ // scopedSlots: { customRender: 'numberOfSets' },
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '是否TC功能',
|
|
|
+ // dataIndex: 'isTc',
|
|
|
+ // width: 90,
|
|
|
+ // className: 'replacecolor',
|
|
|
+ // customRender:function(value){
|
|
|
+ // if (value == "1")
|
|
|
+ // return "是";
|
|
|
+ // else if (value == "0")
|
|
|
+ // return "否";
|
|
|
+ // return value;
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '物料成分',
|
|
|
+ // dataIndex: 'materialComposition',
|
|
|
+ // scopedSlots: { customRender: 'materialComposition' },
|
|
|
+ // width: 140,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
|
|
|
- {
|
|
|
- title: '销售类型',
|
|
|
- dataIndex: 'salesTypeText',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '客户简称',
|
|
|
- dataIndex: 'customerAbbreviation',
|
|
|
- width: 220,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '客户名称',
|
|
|
- dataIndex: 'customerName',
|
|
|
- width: 300,
|
|
|
- className: 'replacecolor',
|
|
|
- customRender: t => ellipsis(t),
|
|
|
- },
|
|
|
- {
|
|
|
- title: '汇率',
|
|
|
- dataIndex: 'exchangeRate',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
// {
|
|
|
- // title: '整单(合计)',
|
|
|
- // dataIndex: 'wholeOrderTotal',
|
|
|
+ // title: '销售类型',
|
|
|
+ // dataIndex: 'salesTypeText',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '客户简称',
|
|
|
+ // dataIndex: 'customerAbbreviation',
|
|
|
+ // width: 220,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '客户名称',
|
|
|
+ // dataIndex: 'customerName',
|
|
|
+ // width: 300,
|
|
|
+ // className: 'replacecolor',
|
|
|
+ // customRender: t => ellipsis(t),
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '汇率',
|
|
|
+ // dataIndex: 'exchangeRate',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // // {
|
|
|
+ // // title: '整单(合计)',
|
|
|
+ // // dataIndex: 'wholeOrderTotal',
|
|
|
+ // // width: 120,
|
|
|
+ // // className: 'replacecolor'
|
|
|
+ // // },
|
|
|
+ // {
|
|
|
+ // title: '销售部门',
|
|
|
+ // dataIndex: 'salesDepartment',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '业务员',
|
|
|
+ // dataIndex: 'salesman',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '币种',
|
|
|
+ // dataIndex: 'currencyText',
|
|
|
// width: 120,
|
|
|
// className: 'replacecolor'
|
|
|
// },
|
|
|
- {
|
|
|
- title: '销售部门',
|
|
|
- dataIndex: 'salesDepartment',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '业务员',
|
|
|
- dataIndex: 'salesman',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '币种',
|
|
|
- dataIndex: 'currencyText',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
|
|
|
- {
|
|
|
- title: '品牌方',
|
|
|
- dataIndex: 'brandSide',
|
|
|
- width: 180,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '第三方',
|
|
|
- dataIndex: 'thirdParty',
|
|
|
- width: 220,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '定金比例(%)',
|
|
|
- dataIndex: 'depositRatio',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '定金',
|
|
|
- dataIndex: 'deposit',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '协同路线',
|
|
|
- dataIndex: 'collaborativeRoute',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '品牌方',
|
|
|
+ // dataIndex: 'brandSide',
|
|
|
+ // width: 180,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '第三方',
|
|
|
+ // dataIndex: 'thirdParty',
|
|
|
+ // width: 220,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '定金比例(%)',
|
|
|
+ // dataIndex: 'depositRatio',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '定金',
|
|
|
+ // dataIndex: 'deposit',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '协同路线',
|
|
|
+ // dataIndex: 'collaborativeRoute',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
|
|
|
- {
|
|
|
- title: '单价(销售)',
|
|
|
- dataIndex: 'salesUnitPrice',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '工厂单价',
|
|
|
- dataIndex: 'factoryUnitPrice',
|
|
|
- width: 120,
|
|
|
- scopedSlots: { customRender: 'factoryUnitPrice' },
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '付款条件',
|
|
|
- dataIndex: 'termOfPayment',
|
|
|
- width: 160,
|
|
|
- customRender: t => ellipsis(t),
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '最终客户',
|
|
|
- dataIndex: 'endCustomer',
|
|
|
- width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '订单备注',
|
|
|
- dataIndex: 'orderRemarks',
|
|
|
- width: 200,
|
|
|
- customRender: t => ellipsis(t),
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '单价(销售)',
|
|
|
+ // dataIndex: 'salesUnitPrice',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '工厂单价',
|
|
|
+ // dataIndex: 'factoryUnitPrice',
|
|
|
+ // width: 120,
|
|
|
+ // scopedSlots: { customRender: 'factoryUnitPrice' },
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '付款条件',
|
|
|
+ // dataIndex: 'termOfPayment',
|
|
|
+ // width: 160,
|
|
|
+ // customRender: t => ellipsis(t),
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '最终客户',
|
|
|
+ // dataIndex: 'endCustomer',
|
|
|
+ // width: 120,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '订单备注',
|
|
|
+ // dataIndex: 'orderRemarks',
|
|
|
+ // width: 200,
|
|
|
+ // customRender: t => ellipsis(t),
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
|
|
|
- {
|
|
|
- title: '申报要素',
|
|
|
- dataIndex: 'declarationElements',
|
|
|
- width: 160,
|
|
|
- scopedSlots: { customRender: 'declarationElements' },
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '申报要素',
|
|
|
+ // dataIndex: 'declarationElements',
|
|
|
+ // width: 160,
|
|
|
+ // scopedSlots: { customRender: 'declarationElements' },
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
|
|
|
- {
|
|
|
- title: '价格备注',
|
|
|
- dataIndex: 'priceRemarks',
|
|
|
- width: 160,
|
|
|
- customRender: t => ellipsis(t),
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '订单变更说明',
|
|
|
- dataIndex: 'orderChangeDescription',
|
|
|
- width: 160,
|
|
|
- customRender: t => ellipsis(t),
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '价格备注',
|
|
|
+ // dataIndex: 'priceRemarks',
|
|
|
+ // width: 160,
|
|
|
+ // customRender: t => ellipsis(t),
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '订单变更说明',
|
|
|
+ // dataIndex: 'orderChangeDescription',
|
|
|
+ // width: 160,
|
|
|
+ // customRender: t => ellipsis(t),
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
|
|
|
- {
|
|
|
- title: '处理方式',
|
|
|
- dataIndex: 'treatmentMethod',
|
|
|
- width: 160,
|
|
|
- scopedSlots: { customRender: 'treatmentMethod' },
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '是否手册纱',
|
|
|
- dataIndex: 'manualYarnFlag',
|
|
|
- width: 100,
|
|
|
- customRender:function(value){
|
|
|
- if (value == "1")
|
|
|
- return "是";
|
|
|
- else if (value == "0")
|
|
|
- return "否";
|
|
|
- return value;
|
|
|
- },
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '手册纱单价',
|
|
|
- dataIndex: 'manualYarnUnitPrice',
|
|
|
- width: 160,
|
|
|
- scopedSlots: { customRender: 'manualYarnUnitPrice' },
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '手册纱占比',
|
|
|
- dataIndex: 'manualYarnProportion',
|
|
|
- width: 120,
|
|
|
- scopedSlots: { customRender: 'manualYarnProportion' },
|
|
|
- className: 'replacecolor'
|
|
|
- }
|
|
|
+ // {
|
|
|
+ // title: '处理方式',
|
|
|
+ // dataIndex: 'treatmentMethod',
|
|
|
+ // width: 160,
|
|
|
+ // scopedSlots: { customRender: 'treatmentMethod' },
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '是否手册纱',
|
|
|
+ // dataIndex: 'manualYarnFlag',
|
|
|
+ // width: 100,
|
|
|
+ // customRender:function(value){
|
|
|
+ // if (value == "1")
|
|
|
+ // return "是";
|
|
|
+ // else if (value == "0")
|
|
|
+ // return "否";
|
|
|
+ // return value;
|
|
|
+ // },
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '手册纱单价',
|
|
|
+ // dataIndex: 'manualYarnUnitPrice',
|
|
|
+ // width: 160,
|
|
|
+ // scopedSlots: { customRender: 'manualYarnUnitPrice' },
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '手册纱占比',
|
|
|
+ // dataIndex: 'manualYarnProportion',
|
|
|
+ // width: 120,
|
|
|
+ // scopedSlots: { customRender: 'manualYarnProportion' },
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // }
|
|
|
],
|
|
|
|
|
|
syShippingDetailsItemList: [], // 子表信息
|