|
|
@@ -212,135 +212,387 @@ export default {
|
|
|
rules: {},
|
|
|
|
|
|
columns: [
|
|
|
- {
|
|
|
- width: 45,
|
|
|
- type: 'index',
|
|
|
- columnKey: 'index',
|
|
|
- align: 'center',
|
|
|
- fixed: 'left'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 200,
|
|
|
- prop: 'productName',
|
|
|
- label: '名称',
|
|
|
- slot: 'productName'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 120,
|
|
|
- prop: 'productCode',
|
|
|
- label: '编码',
|
|
|
- slot: 'productCode'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 200,
|
|
|
- prop: 'productCategoryName',
|
|
|
- label: '类型',
|
|
|
- slot: 'productCategoryName'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 160,
|
|
|
- prop: 'productBrand',
|
|
|
- label: '牌号',
|
|
|
- slot: 'productBrand'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 120,
|
|
|
- prop: 'modelType',
|
|
|
- label: '型号',
|
|
|
- slot: 'modelType'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 120,
|
|
|
- prop: 'specification',
|
|
|
- label: '规格',
|
|
|
- slot: 'specification'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 200,
|
|
|
- prop: 'customerMark',
|
|
|
- label: '客户代号',
|
|
|
- slot: 'customerMark'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 200,
|
|
|
- prop: 'warehouseName',
|
|
|
- label: '仓库名称',
|
|
|
- slot: 'warehouseName'
|
|
|
- },
|
|
|
+
|
|
|
+ {
|
|
|
+ width: 45,
|
|
|
+ type: 'index',
|
|
|
+ columnKey: 'index',
|
|
|
+ align: 'center',
|
|
|
+ fixed: 'left'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 200,
|
|
|
+ prop: 'productName',
|
|
|
+ label: '名称',
|
|
|
+ slot: 'productName',
|
|
|
+ headerSlot: 'headerProductName',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'productCode',
|
|
|
+ label: '编码',
|
|
|
+ slot: 'productCode',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 200,
|
|
|
+ prop: 'productCategoryName',
|
|
|
+ label: '类型',
|
|
|
+ slot: 'productCategoryName',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 160,
|
|
|
+ prop: 'productBrand',
|
|
|
+ label: '牌号',
|
|
|
+ slot: 'productBrand',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'modelType',
|
|
|
+ label: '型号',
|
|
|
+ slot: 'modelType',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'specification',
|
|
|
+ label: '规格',
|
|
|
+ slot: 'specification',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 200,
|
|
|
+ prop: 'customerMark',
|
|
|
+ label: '客户代号',
|
|
|
+ slot: 'customerMark',
|
|
|
+ headerSlot: 'headerCustomerMark',
|
|
|
+ show: this.isCustomerMark,
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'totalCount',
|
|
|
+ label: '数量',
|
|
|
+ slot: 'totalCount',
|
|
|
+ headerSlot: 'headerTotalCount',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'measuringUnit',
|
|
|
+ label: '计量单位',
|
|
|
+ slot: 'measuringUnit',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'singleWeight',
|
|
|
+ label: '单重',
|
|
|
+ slot: 'singleWeight',
|
|
|
+ headerSlot: 'headerSingleWeight',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'totalWeight',
|
|
|
+ label: '总重',
|
|
|
+ slot: 'totalWeight',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'weightUnit',
|
|
|
+ label: '重量单位',
|
|
|
+ slot: 'weightUnit',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 160,
|
|
|
+ prop: 'singlePrice',
|
|
|
+ label: '单价',
|
|
|
+ slot: 'singlePrice',
|
|
|
+ headerSlot: 'headerSinglePrice',
|
|
|
+ align: "center",
|
|
|
+ show: !this.detailType
|
|
|
+
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // width: 160,
|
|
|
+ // prop: 'discountSinglePrice',
|
|
|
+ // label: '折让单价',
|
|
|
+ // align: "center",
|
|
|
+ // },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'totalPrice',
|
|
|
+ label: '合计',
|
|
|
+ slot: 'totalPrice',
|
|
|
+ align: "center",
|
|
|
+ show: !this.detailType
|
|
|
+
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // width: 160,
|
|
|
+ // prop: 'discountTotalPrice',
|
|
|
+ // label: '折让合计',
|
|
|
+ // align: "center",
|
|
|
+ // },
|
|
|
+
|
|
|
+ // {
|
|
|
+ // width: 80,
|
|
|
+ // prop: 'deliveryDays',
|
|
|
+ // label: '交期(天)',
|
|
|
+ // slot: 'deliveryDays'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 160,
|
|
|
+ // prop: 'deliveryDeadline',
|
|
|
+ // label: '交期截止日期',
|
|
|
+ // slot: 'deliveryDeadline',
|
|
|
+ // show: this.isDeliveryDeadline
|
|
|
+ // },
|
|
|
+ {
|
|
|
+ width: 160,
|
|
|
+ prop: 'customerExpectDeliveryDeadline',
|
|
|
+ label: this.contractBookType == 1 ? '客户期望交期' : '交付日期',
|
|
|
+ slot: 'customerExpectDeliveryDeadline',
|
|
|
+ headerSlot: 'headerCustomerExpectDeliveryDeadline',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 160,
|
|
|
+ prop: 'produceDeliveryDeadline',
|
|
|
+ label: '生产交付交期',
|
|
|
+ slot: 'produceDeliveryDeadline',
|
|
|
+ show: this.contractBookType == 1 ? true : false,
|
|
|
+ headerSlot: 'headerCustomerExpectDeliveryDeadline',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ width: 200,
|
|
|
+ prop: 'guaranteePeriod',
|
|
|
+ label: '质保期',
|
|
|
+ slot: 'guaranteePeriod',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 200,
|
|
|
+ prop: 'guaranteePeriodDeadline',
|
|
|
+ label: '质保期截止日期',
|
|
|
+ slot: 'guaranteePeriodDeadline',
|
|
|
+ show: this.isGuaranteePeriod,
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // width: 120,
|
|
|
+ // prop: 'guaranteePeriodUnitCode',
|
|
|
+ // label: '',
|
|
|
+ // slot: 'guaranteePeriodUnitCode'
|
|
|
+ // },
|
|
|
+ {
|
|
|
+ width: 220,
|
|
|
+ prop: 'customerReqFiles',
|
|
|
+ label: '客户需求',
|
|
|
+ slot: 'customerReqFiles',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 130,
|
|
|
+ prop: 'technicalAnswerName',
|
|
|
+ label: '技术答疑人',
|
|
|
+ slot: 'technicalAnswerName',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 220,
|
|
|
+ prop: 'technicalParams',
|
|
|
+ label: '技术参数',
|
|
|
+ slot: 'technicalParams',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 240,
|
|
|
+ prop: 'technicalDrawings',
|
|
|
+ label: '技术图纸',
|
|
|
+ slot: 'technicalDrawings',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 240,
|
|
|
+ prop: 'technologyRouteName',
|
|
|
+ label: '工艺路线',
|
|
|
+ slot: 'technologyRouteName',
|
|
|
+ show: this.contractBookType == 1 ? true : false,
|
|
|
+ align: "center"
|
|
|
+
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 240,
|
|
|
+ prop: 'industryArtFiles',
|
|
|
+ label: '工艺附件',
|
|
|
+ slot: 'industryArtFiles',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 240,
|
|
|
+ prop: 'otherFiles',
|
|
|
+ label: '其他附件',
|
|
|
+ slot: 'otherFiles',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 220,
|
|
|
+ prop: 'remark',
|
|
|
+ label: '备注',
|
|
|
+ slot: 'remark',
|
|
|
+ align: "center"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ columnKey: 'action',
|
|
|
+ label: '操作',
|
|
|
+ width: 120,
|
|
|
+ align: 'center',
|
|
|
+ resizable: false,
|
|
|
+ slot: 'action',
|
|
|
+ fixed: 'right',
|
|
|
+ showOverflowTooltip: true
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ // {
|
|
|
+ // width: 45,
|
|
|
+ // type: 'index',
|
|
|
+ // columnKey: 'index',
|
|
|
+ // align: 'center',
|
|
|
+ // fixed: 'left'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 200,
|
|
|
+ // prop: 'productName',
|
|
|
+ // label: '名称',
|
|
|
+ // slot: 'productName'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 120,
|
|
|
+ // prop: 'productCode',
|
|
|
+ // label: '编码',
|
|
|
+ // slot: 'productCode'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 200,
|
|
|
+ // prop: 'productCategoryName',
|
|
|
+ // label: '类型',
|
|
|
+ // slot: 'productCategoryName'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 160,
|
|
|
+ // prop: 'productBrand',
|
|
|
+ // label: '牌号',
|
|
|
+ // slot: 'productBrand'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 120,
|
|
|
+ // prop: 'modelType',
|
|
|
+ // label: '型号',
|
|
|
+ // slot: 'modelType'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 120,
|
|
|
+ // prop: 'specification',
|
|
|
+ // label: '规格',
|
|
|
+ // slot: 'specification'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 200,
|
|
|
+ // prop: 'customerMark',
|
|
|
+ // label: '客户代号',
|
|
|
+ // slot: 'customerMark'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 200,
|
|
|
+ // prop: 'warehouseName',
|
|
|
+ // label: '仓库名称',
|
|
|
+ // slot: 'warehouseName'
|
|
|
+ // },
|
|
|
+ // // {
|
|
|
+ // // width: 100,
|
|
|
+ // // prop: 'warehouseNum',
|
|
|
+ // // label: '库存',
|
|
|
+ // // slot: 'warehouseNum'
|
|
|
+ // // },
|
|
|
+ // {
|
|
|
+ // width: 120,
|
|
|
+ // prop: 'totalCount',
|
|
|
+ // label: '退货数量',
|
|
|
+ // slot: 'totalCount',
|
|
|
+ // headerSlot: 'headerTotalCount'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 120,
|
|
|
+ // prop: 'sendTotalCount',
|
|
|
+ // label: '发货数量',
|
|
|
+ // slot: 'sendTotalCount'
|
|
|
+ // },
|
|
|
+
|
|
|
+
|
|
|
+ // {
|
|
|
+ // width: 80,
|
|
|
+ // prop: 'measuringUnit',
|
|
|
+ // label: '计量单位',
|
|
|
+ // slot: 'measuringUnit'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 120,
|
|
|
+ // prop: 'singleWeight',
|
|
|
+ // label: '单重',
|
|
|
+ // slot: 'singleWeight',
|
|
|
+ // align: "center"
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 200,
|
|
|
+ // prop: 'receiveTotalWeight',
|
|
|
+ // label: '收货总重',
|
|
|
+ // slot: 'receiveTotalWeight',
|
|
|
+ // align: "center",
|
|
|
+ // headerSlot: 'headerSendTotalWeight'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 200,
|
|
|
+ // prop: 'sendTotalWeight',
|
|
|
+ // label: '发货总重',
|
|
|
+ // slot: 'sendTotalWeight',
|
|
|
+ // align: "center"
|
|
|
+ // },
|
|
|
// {
|
|
|
// width: 100,
|
|
|
- // prop: 'warehouseNum',
|
|
|
- // label: '库存',
|
|
|
- // slot: 'warehouseNum'
|
|
|
+ // prop: 'increaseTotalWeight',
|
|
|
+ // label: '增重重量',
|
|
|
+ // slot: 'increaseTotalWeight',
|
|
|
+ // align: "center"
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 160,
|
|
|
+ // prop: 'singlePrice',
|
|
|
+ // label: '单价',
|
|
|
+ // slot: 'singlePrice'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 120,
|
|
|
+ // prop: 'totalPrice',
|
|
|
+ // label: '合计',
|
|
|
+ // slot: 'totalPrice'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // width: 200,
|
|
|
+ // prop: 'returnReason',
|
|
|
+ // label: '退货原因',
|
|
|
+ // slot: 'returnReason'
|
|
|
// },
|
|
|
- {
|
|
|
- width: 120,
|
|
|
- prop: 'totalCount',
|
|
|
- label: '退货数量',
|
|
|
- slot: 'totalCount',
|
|
|
- headerSlot: 'headerTotalCount'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 120,
|
|
|
- prop: 'sendTotalCount',
|
|
|
- label: '发货数量',
|
|
|
- slot: 'sendTotalCount'
|
|
|
- },
|
|
|
-
|
|
|
-
|
|
|
- {
|
|
|
- width: 80,
|
|
|
- prop: 'measuringUnit',
|
|
|
- label: '计量单位',
|
|
|
- slot: 'measuringUnit'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 120,
|
|
|
- prop: 'singleWeight',
|
|
|
- label: '单重',
|
|
|
- slot: 'singleWeight',
|
|
|
- align: "center"
|
|
|
- },
|
|
|
- {
|
|
|
- width: 200,
|
|
|
- prop: 'receiveTotalWeight',
|
|
|
- label: '收货总重',
|
|
|
- slot: 'receiveTotalWeight',
|
|
|
- align: "center",
|
|
|
- headerSlot: 'headerSendTotalWeight'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 200,
|
|
|
- prop: 'sendTotalWeight',
|
|
|
- label: '发货总重',
|
|
|
- slot: 'sendTotalWeight',
|
|
|
- align: "center"
|
|
|
- },
|
|
|
- {
|
|
|
- width: 100,
|
|
|
- prop: 'increaseTotalWeight',
|
|
|
- label: '增重重量',
|
|
|
- slot: 'increaseTotalWeight',
|
|
|
- align: "center"
|
|
|
- },
|
|
|
- {
|
|
|
- width: 160,
|
|
|
- prop: 'singlePrice',
|
|
|
- label: '单价',
|
|
|
- slot: 'singlePrice'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 120,
|
|
|
- prop: 'totalPrice',
|
|
|
- label: '合计',
|
|
|
- slot: 'totalPrice'
|
|
|
- },
|
|
|
- {
|
|
|
- width: 200,
|
|
|
- prop: 'returnReason',
|
|
|
- label: '退货原因',
|
|
|
- slot: 'returnReason'
|
|
|
- },
|
|
|
// {
|
|
|
// width: 140,
|
|
|
// prop: 'returnType',
|
|
|
@@ -379,23 +631,23 @@ export default {
|
|
|
// label: '技术图纸',
|
|
|
// slot: 'technicalDrawings'
|
|
|
// },
|
|
|
- {
|
|
|
- width: 220,
|
|
|
- prop: 'remark',
|
|
|
- label: '备注',
|
|
|
- slot: 'remark'
|
|
|
- },
|
|
|
- {
|
|
|
- columnKey: 'action',
|
|
|
- label: '操作',
|
|
|
- width: 120,
|
|
|
- align: 'center',
|
|
|
- resizable: false,
|
|
|
- slot: 'action',
|
|
|
- fixed: 'right',
|
|
|
- showOverflowTooltip: true,
|
|
|
+ // {
|
|
|
+ // width: 220,
|
|
|
+ // prop: 'remark',
|
|
|
+ // label: '备注',
|
|
|
+ // slot: 'remark'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // columnKey: 'action',
|
|
|
+ // label: '操作',
|
|
|
+ // width: 120,
|
|
|
+ // align: 'center',
|
|
|
+ // resizable: false,
|
|
|
+ // slot: 'action',
|
|
|
+ // fixed: 'right',
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
|
- }
|
|
|
+ // }
|
|
|
]
|
|
|
};
|
|
|
},
|