|
@@ -142,15 +142,93 @@
|
|
|
|
|
|
<!--操作按钮区域 参照预装箱单 増行-->
|
|
|
<a-card :bordered="true" style="margin:10px 0 60px 0;">
|
|
|
- <!-- <div class="table-operator">
|
|
|
+ <div class="table-operator">
|
|
|
<a-button type="primary" @click="referadvancePackingList" icon="ordered-list">参照预装箱单</a-button>
|
|
|
- <a-button type="primary" @click="handleAddColumn" icon="plus" style="margin-left: 20px">増行</a-button>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
|
|
|
<!-- 子表 :pagination="ipagination" -->
|
|
|
<a-spin :spinning="confirmLoading">
|
|
|
<a-form-model ref="formRef">
|
|
|
- <j-vxe-table
|
|
|
+ <a-table
|
|
|
+ bordered
|
|
|
+ :row-dataIndex ="record => record.id"
|
|
|
+ :columns="clothesAddColumns"
|
|
|
+ :data-source="clothesAddData"
|
|
|
+ :loading="loading"
|
|
|
+ :pagination="ipagination"
|
|
|
+ :scroll="{ x: 1500,y: 350 }"
|
|
|
+ @change="handleTableChange"
|
|
|
+ >
|
|
|
+ <!-- prepackSku -->
|
|
|
+ <template slot="prepackSku" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="prepackSku" :rules="rules.prepackSku">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.prepackSku" />
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 起始箱号 -->
|
|
|
+ <template slot="startingBoxNumber" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="startingBoxNumber" :rules="rules.startingBoxNumber">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.startingBoxNumber" @change="handleValueChange(record)"/>
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 结束箱号 -->
|
|
|
+ <template slot="endCaseNumber" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="endCaseNumber" :rules="rules.endCaseNumber">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.endCaseNumber" @change="handleValueChange(record)"/>
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 净重 -->
|
|
|
+ <template slot="netWeight" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="netWeight" :rules="rules.netWeight">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.netWeight" @change="handleValueChange(record)"/>
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 毛重 -->
|
|
|
+ <template slot="grossWeight" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="grossWeight" :rules="rules.grossWeight">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.grossWeight" @change="handleValueChange(record)"/>
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 外箱长度 -->
|
|
|
+ <template slot="outerBoxLength" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="outerBoxLength" :rules="rules.outerBoxLength">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.outerBoxLength" @change="handleValueChange(record)"/>
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 外箱宽度 -->
|
|
|
+ <template slot="outerBoxWidth" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="outerBoxWidth" :rules="rules.outerBoxWidth">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.outerBoxWidth" @change="handleValueChange(record)" />
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 外箱高度 -->
|
|
|
+ <template slot="outerBoxHeight" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="outerBoxHeight" :rules="rules.outerBoxHeight">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.outerBoxHeight" @change="handleValueChange(record)" />
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 净净重 -->
|
|
|
+ <template slot="netWeightToo" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="netWeightToo" :rules="rules.netWeightToo">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.netWeightToo" @change="handleValueChange(record)"/>
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 尺码字段 -->
|
|
|
+ <template v-for="i in inputName" :slot="i" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="i" :rules="rules.i" :key="i">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record[i]" @change="handleValueChange(record)"/>
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+ <!-- 操作 -->
|
|
|
+ <span slot="operation" slot-scope="text, record,index">
|
|
|
+ <a @click="copy(record)">复制</a>
|
|
|
+ <a-divider type="vertical"/>
|
|
|
+ <a-popconfirm title="确定删除吗?" @confirm="handleDelete(record)">
|
|
|
+ <a>删除</a>
|
|
|
+ </a-popconfirm>
|
|
|
+ </span>
|
|
|
+ </a-table>
|
|
|
+ <!-- <j-vxe-table
|
|
|
ref="vTable"
|
|
|
toolbar
|
|
|
row-number
|
|
@@ -167,41 +245,41 @@
|
|
|
style="margin-top: 5px;"
|
|
|
:toolbarConfig="toolbarConfig"
|
|
|
@valueChange="handleValueChange"
|
|
|
- >
|
|
|
+ > -->
|
|
|
<!-- 起始箱号 -->
|
|
|
- <template v-slot:startingBoxNumber="record" >
|
|
|
+ <!-- <template v-slot:startingBoxNumber="record" >
|
|
|
<a-input v-model="record.row.startingBoxNumber" style="border-color: red;"></a-input>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<!-- 结束箱号 -->
|
|
|
- <template v-slot:endCaseNumber="record" >
|
|
|
+ <!-- <template v-slot:endCaseNumber="record" >
|
|
|
<a-input v-model="record.row.endCaseNumber" style="border-color: red;"></a-input>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<!-- 净重/箱 -->
|
|
|
- <template v-slot:netWeight="record" >
|
|
|
+ <!-- <template v-slot:netWeight="record" >
|
|
|
<a-input v-model="record.row.netWeight" style="border-color: red;"></a-input>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<!-- 毛重/箱 -->
|
|
|
- <template v-slot:grossWeight="record" >
|
|
|
+ <!-- <template v-slot:grossWeight="record" >
|
|
|
<a-input v-model="record.row.grossWeight" style="border-color: red;"></a-input>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<!-- 外箱长度 -->
|
|
|
- <template v-slot:outerBoxLength="record" >
|
|
|
+ <!-- <template v-slot:outerBoxLength="record" >
|
|
|
<a-input v-model="record.row.outerBoxLength" style="border-color: red;"></a-input>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<!-- 外箱高度 -->
|
|
|
- <template v-slot:outerBoxHeight="record" >
|
|
|
+ <!-- <template v-slot:outerBoxHeight="record" >
|
|
|
<a-input v-model="record.row.outerBoxHeight" style="border-color: red;"></a-input>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<!-- 外箱宽度 -->
|
|
|
- <template v-slot:outerBoxWidth="record" >
|
|
|
+ <!-- <template v-slot:outerBoxWidth="record" >
|
|
|
<a-input v-model="record.row.outerBoxWidth" style="border-color: red;"></a-input>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<!-- 箱数 -->
|
|
|
- <template v-slot:boxNumber="record" >
|
|
|
+ <!-- <template v-slot:boxNumber="record" >
|
|
|
<a-input v-model="record.row.boxNumber" style="border-color: red;"></a-input>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<!-- 净净重 -->
|
|
|
- <template v-slot:netWeightToo="record" >
|
|
|
+ <!-- <template v-slot:netWeightToo="record" >
|
|
|
<a-input v-model="record.row.netWeightToo" style="border-color: red;"></a-input>
|
|
|
</template>
|
|
|
<template v-slot:action="props">
|
|
@@ -214,7 +292,7 @@
|
|
|
<template v-slot:toolbarSuffix>
|
|
|
<a-button type="primary" @click="referadvancePackingList" icon="ordered-list">参照预装箱单</a-button>
|
|
|
</template>
|
|
|
- </j-vxe-table>
|
|
|
+ </j-vxe-table> -->
|
|
|
</a-form-model>
|
|
|
</a-spin>
|
|
|
</a-card>
|
|
@@ -268,207 +346,210 @@ export default {
|
|
|
// add 新增按钮;remove 删除按钮;clearSelection 清空选择按钮
|
|
|
btn: []
|
|
|
},
|
|
|
+ inputName:[],
|
|
|
// 表头
|
|
|
clothesAddColumns: [
|
|
|
{
|
|
|
title: '账套',
|
|
|
- key: 'acSetNo',
|
|
|
+ dataIndex: 'acSetNo',
|
|
|
width: 160,
|
|
|
// fixed: 'left',
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '成衣工厂',
|
|
|
- key: 'garmentFactory',
|
|
|
+ dataIndex: 'garmentFactory',
|
|
|
width: 120,
|
|
|
// fixed: 'left',
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: 'HOD',
|
|
|
- key: 'hod',
|
|
|
+ dataIndex: 'hod',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: 'STYLE NO.',
|
|
|
- key: 'styleNo',
|
|
|
+ dataIndex: 'styleNo',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: 'PO NO.',
|
|
|
- key: 'poNo',
|
|
|
+ dataIndex: 'poNo',
|
|
|
width: 90,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: 'ITEM NO./SKU NO./UPC NO./PACKS CODE',
|
|
|
- key: 'itemCode',
|
|
|
+ dataIndex: 'itemCode',
|
|
|
width: 340,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: 'PREPACK SKU',
|
|
|
- key: 'prepackSku',
|
|
|
+ dataIndex: 'prepackSku',
|
|
|
width: 200,
|
|
|
- type: JVXETypes.input,
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'prepackSku' },
|
|
|
},
|
|
|
{
|
|
|
title: '分销点/DC/LABEL',
|
|
|
- key: 'distributionPoint',
|
|
|
+ dataIndex: 'distributionPoint',
|
|
|
width: 200,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor',
|
|
|
insertAfter:true,
|
|
|
},
|
|
|
{
|
|
|
title: '启始箱号',
|
|
|
- key: 'startingBoxNumber',
|
|
|
- type: JVXETypes.slot ,
|
|
|
- slotName:'startingBoxNumber',
|
|
|
+ dataIndex: 'startingBoxNumber',
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'startingBoxNumber' } ,
|
|
|
width: 120,
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: '结束箱号',
|
|
|
- key: 'endCaseNumber',
|
|
|
+ dataIndex: 'endCaseNumber',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'endCaseNumber'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'endCaseNumber' } ,
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: '颜色(中英文)',
|
|
|
- key: 'colour',
|
|
|
+ dataIndex: 'colour',
|
|
|
width: 140,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '配码',
|
|
|
- key: 'withCode',
|
|
|
+ dataIndex: 'withCode',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '件数/箱',
|
|
|
- key: 'piecesBox',
|
|
|
+ dataIndex: 'piecesBox',
|
|
|
width: 120,
|
|
|
type: JVXETypes.normal
|
|
|
},
|
|
|
{
|
|
|
title: '箱数',
|
|
|
- key: 'boxNumber',
|
|
|
+ dataIndex: 'boxNumber',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'boxNumber'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'boxNumber' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '计划尺码数量',
|
|
|
- key: 'planSize',
|
|
|
+ dataIndex: 'planSize',
|
|
|
width: 240,
|
|
|
- type: JVXETypes.normal ,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '计划装箱数量',
|
|
|
- key: 'planQuantity',
|
|
|
+ dataIndex: 'planQuantity',
|
|
|
width: 240,
|
|
|
- type: JVXETypes.normal ,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '总件数',
|
|
|
- key: 'total',
|
|
|
+ dataIndex: 'total',
|
|
|
width: 90,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '净重/箱',
|
|
|
- key: 'netWeight',
|
|
|
+ dataIndex: 'netWeight',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'netWeight'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'netWeight' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '总净重',
|
|
|
- key: 'totalNetWeight',
|
|
|
+ dataIndex: 'totalNetWeight',
|
|
|
width: 90,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '毛重/箱',
|
|
|
- key: 'grossWeight',
|
|
|
+ dataIndex: 'grossWeight',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'grossWeight'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'grossWeight' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '总毛重',
|
|
|
- key: 'totalGrossWeight',
|
|
|
+ dataIndex: 'totalGrossWeight',
|
|
|
width: 90,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '外箱长度',
|
|
|
- key: 'outerBoxLength',
|
|
|
+ dataIndex: 'outerBoxLength',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'outerBoxLength'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'outerBoxLength' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '外箱宽度',
|
|
|
- key: 'outerBoxWidth',
|
|
|
+ dataIndex: 'outerBoxWidth',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'outerBoxWidth'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'outerBoxWidth' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '外箱高度',
|
|
|
- key: 'outerBoxHeight',
|
|
|
+ dataIndex: 'outerBoxHeight',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'outerBoxHeight'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'outerBoxHeight' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '总体积',
|
|
|
- key: 'totalVolume',
|
|
|
+ dataIndex: 'totalVolume',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '净净重',
|
|
|
- key: 'netWeightToo',
|
|
|
+ dataIndex: 'netWeightToo',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'netWeightToo'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'netWeightToo' } ,
|
|
|
},
|
|
|
// {
|
|
|
// title: '单价',
|
|
|
- // key: 'unitPrice',
|
|
|
+ // dataIndex: 'unitPrice',
|
|
|
// width: 120,
|
|
|
- // type: JVXETypes.normal,
|
|
|
+ // className: 'replacecolor'
|
|
|
// },
|
|
|
// {
|
|
|
// title: '总价',
|
|
|
- // key: 'totalPrice',
|
|
|
+ // dataIndex: 'totalPrice',
|
|
|
// width: 120,
|
|
|
- // type: JVXETypes.normal,
|
|
|
+ // className: 'replacecolor'
|
|
|
// },
|
|
|
{
|
|
|
title: '备注',
|
|
|
- key: 'remarks',
|
|
|
+ dataIndex: 'remarks',
|
|
|
width: 140,
|
|
|
- customRender: t => ellipsis(t),
|
|
|
+
|
|
|
// fixed: 'right',
|
|
|
- type: JVXETypes.input,
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'remarks' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '操作',
|
|
|
- key: 'operation',
|
|
|
- type: JVXETypes.slot,
|
|
|
+ dataIndex: 'operation',
|
|
|
+ className: 'replacecolor',
|
|
|
width: 160,
|
|
|
fixed: 'right',
|
|
|
align: 'center',
|
|
|
- slotName: 'action',
|
|
|
+ scopedSlots: { customRender: 'operation' } ,
|
|
|
}
|
|
|
],
|
|
|
clothesAddData: [],
|
|
@@ -574,13 +655,16 @@ export default {
|
|
|
this.sizeFields.push('size-'+sizeTables[j].size);
|
|
|
var field = {
|
|
|
title: sizeTables[j].size,
|
|
|
- key: 'size-'+sizeTables[j].size,
|
|
|
+ dataIndex: 'size-'+sizeTables[j].size,
|
|
|
type: JVXETypes.inputNumber ,
|
|
|
width: 80,
|
|
|
isSize:true,
|
|
|
+ scopedSlots: { customRender: 'size-'+sizeTables[j].size },
|
|
|
};
|
|
|
+ this.inputName.push('size-'+sizeTables[j].size)
|
|
|
newColumns.splice(i+1+j,0,field);
|
|
|
}
|
|
|
+
|
|
|
this.clothesAddColumns = newColumns
|
|
|
}
|
|
|
},
|
|
@@ -678,8 +762,8 @@ export default {
|
|
|
this.setHeadCalField(this.clothesAddData)
|
|
|
},
|
|
|
|
|
|
- handleValueChange(event) {
|
|
|
- var dataRow = event.row
|
|
|
+ handleValueChange(record) {
|
|
|
+ var dataRow = record
|
|
|
// if (dataRow.startingBoxNumber != undefined && dataRow.startingBoxNumber != "" &&
|
|
|
// dataRow.endCaseNumber != undefined && dataRow.endCaseNumber != ""){
|
|
|
// dataRow.boxNumber = dataRow.endCaseNumber*1-dataRow.startingBoxNumber*1+1;
|
|
@@ -706,7 +790,7 @@ export default {
|
|
|
|
|
|
// 操作按钮 复制
|
|
|
copy(record) {
|
|
|
- var newRow = JSON.parse(JSON.stringify(record.row));
|
|
|
+ var newRow = JSON.parse(JSON.stringify(record));
|
|
|
newRow.isAdd = 1
|
|
|
this.clothesAddData.push(newRow);
|
|
|
this.setHeadCalField(this.clothesAddData)
|
|
@@ -760,6 +844,7 @@ export default {
|
|
|
newObj.depositaryReceiptNo = this.clothesAdd.depositaryReceiptNo
|
|
|
await this.JudgeVluabled()
|
|
|
if(this.judge == 0){
|
|
|
+
|
|
|
if(this.editDecide === 'edit'){
|
|
|
editSpltList(newObj).then(res => {
|
|
|
if (res.success) {
|
|
@@ -799,7 +884,7 @@ export default {
|
|
|
var allSizeSum = this.getAllSizeSum(tableRow);
|
|
|
if (allSizeSum == 0){
|
|
|
this.$message.error('第'+(i+1)+'行所有尺码数量为0,无法保存');
|
|
|
-
|
|
|
+ this.judge+=1
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -816,6 +901,7 @@ export default {
|
|
|
{key:'boxNumber',value:'箱数'},
|
|
|
]
|
|
|
for(var j=0 ; j<Valuable.length;j++){
|
|
|
+
|
|
|
if(tableRow[Valuable[j].key] == null || tableRow[Valuable[j].key] == "" || tableRow[Valuable[j].key] == undefined){
|
|
|
this.$message.error('第'+(i+1)+'行'+Valuable[j].value+'无值,无法保存');
|
|
|
this.judge+=1
|
|
@@ -900,191 +986,193 @@ export default {
|
|
|
this.clothesAddColumns= [
|
|
|
{
|
|
|
title: '账套',
|
|
|
- key: 'acSetNo',
|
|
|
+ dataIndex : 'acSetNo',
|
|
|
width: 160,
|
|
|
// fixed: 'left',
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '成衣工厂',
|
|
|
- key: 'garmentFactory',
|
|
|
+ dataIndex : 'garmentFactory',
|
|
|
width: 120,
|
|
|
// fixed: 'left',
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: 'HOD',
|
|
|
- key: 'hod',
|
|
|
+ dataIndex : 'hod',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: 'STYLE NO.',
|
|
|
- key: 'styleNo',
|
|
|
+ dataIndex : 'styleNo',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: 'PO NO.',
|
|
|
- key: 'poNo',
|
|
|
+ dataIndex : 'poNo',
|
|
|
width: 90,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: 'ITEM NO./SKU NO./UPC NO./PACKS CODE',
|
|
|
- key: 'itemCode',
|
|
|
+ dataIndex : 'itemCode',
|
|
|
width: 340,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: 'PREPACK SKU',
|
|
|
- key: 'prepackSku',
|
|
|
+ dataIndex : 'prepackSku',
|
|
|
width: 200,
|
|
|
- type: JVXETypes.input,
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'prepackSku' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '分销点/DC/LABEL',
|
|
|
- key: 'distributionPoint',
|
|
|
+ dataIndex : 'distributionPoint',
|
|
|
width: 200,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor',
|
|
|
insertAfter:true,
|
|
|
},
|
|
|
{
|
|
|
title: '启始箱号',
|
|
|
- key: 'startingBoxNumber',
|
|
|
- type: JVXETypes.slot ,
|
|
|
+ dataIndex : 'startingBoxNumber',
|
|
|
+ className: 'replacecolor',
|
|
|
width: 120,
|
|
|
- slotName:'startingBoxNumber'
|
|
|
+ scopedSlots: { customRender: 'startingBoxNumber' } ,
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: '结束箱号',
|
|
|
- key: 'endCaseNumber',
|
|
|
+ dataIndex : 'endCaseNumber',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot ,
|
|
|
- slotName:'endCaseNumber'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'endCaseNumber' } ,
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: '颜色(中英文)',
|
|
|
- key: 'colour',
|
|
|
+ dataIndex : 'colour',
|
|
|
width: 140,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '配码',
|
|
|
- key: 'withCode',
|
|
|
+ dataIndex : 'withCode',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '件数/箱',
|
|
|
- key: 'piecesBox',
|
|
|
+ dataIndex : 'piecesBox',
|
|
|
width: 120,
|
|
|
type: JVXETypes.normal
|
|
|
},
|
|
|
{
|
|
|
title: '箱数',
|
|
|
- key: 'boxNumber',
|
|
|
+ dataIndex : 'boxNumber',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'boxNumber'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'replacecolor' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '计划尺码数量',
|
|
|
- key: 'planSize',
|
|
|
+ dataIndex : 'planSize',
|
|
|
width: 240,
|
|
|
- type: JVXETypes.normal ,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '计划装箱数量',
|
|
|
- key: 'planQuantity',
|
|
|
+ dataIndex : 'planQuantity',
|
|
|
width: 240,
|
|
|
- type: JVXETypes.normal ,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '总件数',
|
|
|
- key: 'total',
|
|
|
+ dataIndex : 'total',
|
|
|
width: 90,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '净重/箱',
|
|
|
- key: 'netWeight',
|
|
|
+ dataIndex : 'netWeight',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'netWeight'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'netWeight' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '总净重',
|
|
|
- key: 'totalNetWeight',
|
|
|
+ dataIndex : 'totalNetWeight',
|
|
|
width: 90,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '毛重/箱',
|
|
|
- key: 'grossWeight',
|
|
|
+ dataIndex : 'grossWeight',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'grossWeight'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'grossWeight' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '总毛重',
|
|
|
- key: 'totalGrossWeight',
|
|
|
+ dataIndex : 'totalGrossWeight',
|
|
|
width: 90,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '外箱长度',
|
|
|
- key: 'outerBoxLength',
|
|
|
+ dataIndex : 'outerBoxLength',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'outerBoxLength'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'outerBoxLength' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '外箱宽度',
|
|
|
- key: 'outerBoxWidth',
|
|
|
+ dataIndex : 'outerBoxWidth',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'outerBoxWidth'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'outerBoxWidth' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '外箱高度',
|
|
|
- key: 'outerBoxHeight',
|
|
|
+ dataIndex : 'outerBoxHeight',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'outerBoxHeight'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'outerBoxHeight' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '总体积',
|
|
|
- key: 'totalVolume',
|
|
|
+ dataIndex : 'totalVolume',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.normal,
|
|
|
+ className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
title: '净净重',
|
|
|
- key: 'netWeightToo',
|
|
|
+ dataIndex : 'netWeightToo',
|
|
|
width: 120,
|
|
|
- type: JVXETypes.slot,
|
|
|
- slotName:'netWeightToo'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'netWeightToo' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '备注',
|
|
|
- key: 'remarks',
|
|
|
+ dataIndex : 'remarks',
|
|
|
width: 140,
|
|
|
- customRender: t => ellipsis(t),
|
|
|
+
|
|
|
// fixed: 'right',
|
|
|
- type: JVXETypes.input,
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'remarks' } ,
|
|
|
},
|
|
|
{
|
|
|
title: '操作',
|
|
|
- key: 'operation',
|
|
|
- type: JVXETypes.slot,
|
|
|
+ dataIndex : 'operation',
|
|
|
+ className: 'replacecolor',
|
|
|
width: 160,
|
|
|
fixed: 'right',
|
|
|
align: 'center',
|
|
|
- slotName: 'action',
|
|
|
+ scopedSlots: { customRender: 'operation' } ,
|
|
|
}
|
|
|
]
|
|
|
},
|