|
@@ -159,6 +159,34 @@
|
|
|
:scroll="{ x: 1500,y: 350 }"
|
|
|
@change="handleTableChange"
|
|
|
>
|
|
|
+ <!-- 自定义表头 -->
|
|
|
+ <span slot="startingBoxNumberTitle" class="form-table-heard">
|
|
|
+ 起始箱号
|
|
|
+ </span>
|
|
|
+ <span slot="endCaseNumberTitle" class="form-table-heard">
|
|
|
+ 结束箱号
|
|
|
+ </span>
|
|
|
+ <span slot="netWeightTitle" class="form-table-heard">
|
|
|
+ 净重/箱
|
|
|
+ </span>
|
|
|
+ <span slot="grossWeightTitle" class="form-table-heard">
|
|
|
+ 毛重/箱
|
|
|
+ </span>
|
|
|
+ <span slot="outerBoxLengthTitle" class="form-table-heard">
|
|
|
+ 外箱长度
|
|
|
+ </span>
|
|
|
+ <span slot="outerBoxWidthTitle" class="form-table-heard">
|
|
|
+ 外箱宽度
|
|
|
+ </span>
|
|
|
+ <span slot="outerBoxHeightTitle" class="form-table-heard">
|
|
|
+ 外箱高度
|
|
|
+ </span>
|
|
|
+ <span slot="boxNumberTitle" class="form-table-heard">
|
|
|
+ 箱数
|
|
|
+ </span>
|
|
|
+ <span slot="netWeightTooTitle" class="form-table-heard">
|
|
|
+ 净净重
|
|
|
+ </span>
|
|
|
<!-- prepackSku -->
|
|
|
<template slot="prepackSku" slot-scope="text, record, index">
|
|
|
<a-form-model-item prop="prepackSku" :rules="rules.prepackSku">
|
|
@@ -403,19 +431,21 @@ export default {
|
|
|
insertAfter:true,
|
|
|
},
|
|
|
{
|
|
|
- title: '启始箱号',
|
|
|
+ // title: '起始箱号',
|
|
|
dataIndex: 'startingBoxNumber',
|
|
|
className: 'replacecolor',
|
|
|
- scopedSlots: { customRender: 'startingBoxNumber' } ,
|
|
|
+ scopedSlots: { customRender: 'startingBoxNumber' } ,
|
|
|
+ slots:{title:'startingBoxNumberTitle'} ,
|
|
|
width: 120,
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- title: '结束箱号',
|
|
|
+ // title: '结束箱号',
|
|
|
dataIndex: 'endCaseNumber',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
- scopedSlots: { customRender: 'endCaseNumber' } ,
|
|
|
+ scopedSlots: { customRender: 'endCaseNumber' } ,
|
|
|
+ slots:{title:'endCaseNumberTitle'}
|
|
|
},
|
|
|
|
|
|
{
|
|
@@ -437,11 +467,12 @@ export default {
|
|
|
type: JVXETypes.normal
|
|
|
},
|
|
|
{
|
|
|
- title: '箱数',
|
|
|
+ // title: '箱数',
|
|
|
dataIndex: 'boxNumber',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'boxNumber' } ,
|
|
|
+ slots:{title:'boxNumberTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '计划尺码数量',
|
|
@@ -462,11 +493,12 @@ export default {
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
- title: '净重/箱',
|
|
|
+ // title: '净重/箱',
|
|
|
dataIndex: 'netWeight',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'netWeight' } ,
|
|
|
+ slots:{title:'netWeightTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '总净重',
|
|
@@ -475,11 +507,12 @@ export default {
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
- title: '毛重/箱',
|
|
|
+ // title: '毛重/箱',
|
|
|
dataIndex: 'grossWeight',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'grossWeight' } ,
|
|
|
+ slots:{title:'grossWeightTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '总毛重',
|
|
@@ -488,25 +521,28 @@ export default {
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
- title: '外箱长度',
|
|
|
+ // title: '外箱长度',
|
|
|
dataIndex: 'outerBoxLength',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'outerBoxLength' } ,
|
|
|
+ slots:{title:'outerBoxWidthTitle'}
|
|
|
},
|
|
|
{
|
|
|
- title: '外箱宽度',
|
|
|
+ // title: '外箱宽度',
|
|
|
dataIndex: 'outerBoxWidth',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'outerBoxWidth' } ,
|
|
|
+ slots:{title:'outerBoxWidthTitle'}
|
|
|
},
|
|
|
{
|
|
|
- title: '外箱高度',
|
|
|
+ // title: '外箱高度',
|
|
|
dataIndex: 'outerBoxHeight',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
- scopedSlots: { customRender: 'outerBoxHeight' } ,
|
|
|
+ scopedSlots: { customRender: 'outerBoxHeight' } ,
|
|
|
+ slots:{title:'outerBoxWidthTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '总体积',
|
|
@@ -515,11 +551,13 @@ export default {
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
- title: '净净重',
|
|
|
+ // title: '净净重',
|
|
|
dataIndex: 'netWeightToo',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'netWeightToo' } ,
|
|
|
+ slots:{title:'netWeightTooTitle'}
|
|
|
+
|
|
|
},
|
|
|
// {
|
|
|
// title: '单价',
|
|
@@ -712,47 +750,7 @@ export default {
|
|
|
this.$refs.ReferencePrePacklist.queryParam = {}
|
|
|
this.$refs.ReferencePrePacklist.searchQuery()
|
|
|
},
|
|
|
- // 増行
|
|
|
- // handleAddColumn() {
|
|
|
- // console.log('増行')
|
|
|
- // const addrow = {
|
|
|
- // accountSet: '',
|
|
|
- // garmentFactory: '',
|
|
|
- // hod: '',
|
|
|
- // styleNo: '',
|
|
|
- // poNo: '',
|
|
|
- // itemCode: '',
|
|
|
- // distributionPoint: '',
|
|
|
- // s: '',
|
|
|
- // m: '',
|
|
|
- // l: '',
|
|
|
- // xl: '',
|
|
|
- // xxl: '',
|
|
|
- // xxxl: '',
|
|
|
- // startingBoxNumber: '',
|
|
|
- // endCaseNumber: '',
|
|
|
- // colour: '',
|
|
|
- // withCode: '',
|
|
|
- // piecesBox: '',
|
|
|
- // boxNumber: '',
|
|
|
- // total: '',
|
|
|
- // netWeight: '',
|
|
|
- // totalNetWeight: '',
|
|
|
- // grossWeight: '',
|
|
|
- // totalGrossWeight: '',
|
|
|
- // outerBoxLength: '',
|
|
|
- // outerBoxWidth: '',
|
|
|
- // outerBoxHeight: '',
|
|
|
- // totalVolume: '',
|
|
|
- // netWeightToo: '',
|
|
|
- // // unitPrice: '',
|
|
|
- // // totalPrices: '',
|
|
|
- // remarks: '',
|
|
|
- // operation: ''
|
|
|
- // }
|
|
|
- // this.clothesAddData.push(addrow)
|
|
|
- // },
|
|
|
-
|
|
|
+
|
|
|
// -------------------------------------
|
|
|
// 操作 删除
|
|
|
handleDelete(ind) {
|
|
@@ -1038,19 +1036,21 @@ export default {
|
|
|
insertAfter:true,
|
|
|
},
|
|
|
{
|
|
|
- title: '启始箱号',
|
|
|
+ // title: '起始箱号',
|
|
|
dataIndex : 'startingBoxNumber',
|
|
|
className: 'replacecolor',
|
|
|
width: 120,
|
|
|
scopedSlots: { customRender: 'startingBoxNumber' } ,
|
|
|
+ slots:{title:'startingBoxNumberTitle'}
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- title: '结束箱号',
|
|
|
+ // title: '结束箱号',
|
|
|
dataIndex : 'endCaseNumber',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
- scopedSlots: { customRender: 'endCaseNumber' } ,
|
|
|
+ scopedSlots: { customRender: 'endCaseNumber' } ,
|
|
|
+ slots:{title:'endCaseNumberTitle'}
|
|
|
},
|
|
|
|
|
|
{
|
|
@@ -1077,6 +1077,7 @@ export default {
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'replacecolor' } ,
|
|
|
+ slots:{title:'boxNumberTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '计划尺码数量',
|
|
@@ -1097,11 +1098,12 @@ export default {
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
- title: '净重/箱',
|
|
|
+ // title: '净重/箱',
|
|
|
dataIndex : 'netWeight',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'netWeight' } ,
|
|
|
+ slots:{title:'netWeightTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '总净重',
|
|
@@ -1110,11 +1112,12 @@ export default {
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
- title: '毛重/箱',
|
|
|
+ // title: '毛重/箱',
|
|
|
dataIndex : 'grossWeight',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'grossWeight' } ,
|
|
|
+ slots:{title:'grossWeightTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '总毛重',
|
|
@@ -1123,25 +1126,32 @@ export default {
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
- title: '外箱长度',
|
|
|
+ // title: '外箱长度',
|
|
|
dataIndex : 'outerBoxLength',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'outerBoxLength' } ,
|
|
|
+ slots:{title:'outerBoxLengthTitle'}
|
|
|
+
|
|
|
},
|
|
|
{
|
|
|
- title: '外箱宽度',
|
|
|
+ // title: '外箱宽度',
|
|
|
dataIndex : 'outerBoxWidth',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'outerBoxWidth' } ,
|
|
|
+ slots:{title:'outerBoxWidthTitle'}
|
|
|
+
|
|
|
},
|
|
|
{
|
|
|
- title: '外箱高度',
|
|
|
+ // title: '外箱高度',
|
|
|
dataIndex : 'outerBoxHeight',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'outerBoxHeight' } ,
|
|
|
+ slots:{title:'outerBoxHeightTitle'}
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
{
|
|
|
title: '总体积',
|
|
@@ -1150,11 +1160,12 @@ export default {
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
- title: '净净重',
|
|
|
+ // title: '净净重',
|
|
|
dataIndex : 'netWeightToo',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
scopedSlots: { customRender: 'netWeightToo' } ,
|
|
|
+ slots:{title:'netWeightTooTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '备注',
|