|
@@ -1,8 +1,8 @@
|
|
<template>
|
|
<template>
|
|
- <!-- 新增 预装箱单-->
|
|
|
|
|
|
+ <!-- 新增 预装箱单-成衣-->
|
|
<div id="addAdvancePacking">
|
|
<div id="addAdvancePacking">
|
|
<a-drawer
|
|
<a-drawer
|
|
- title="新增预装箱单"
|
|
|
|
|
|
+ title="新增预装箱单-成衣"
|
|
width="89%"
|
|
width="89%"
|
|
placement="right"
|
|
placement="right"
|
|
:closable="true"
|
|
:closable="true"
|
|
@@ -12,7 +12,8 @@
|
|
<!-- 主表信息 填写 -->
|
|
<!-- 主表信息 填写 -->
|
|
<a-card :bordered="false">
|
|
<a-card :bordered="false">
|
|
<div class="table-page-search-wrapper">
|
|
<div class="table-page-search-wrapper">
|
|
- <a-form-model layout="inline" ref="form" :model="addAdpacking" :rules="validatorRules">
|
|
|
|
|
|
+ <!-- :rules="validatorRules" -->
|
|
|
|
+ <a-form-model layout="inline" ref="form" :model="addAdpacking">
|
|
<a-row :gutter="24">
|
|
<a-row :gutter="24">
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
<a-form-model-item label="订单号" prop="orderNum">
|
|
<a-form-model-item label="订单号" prop="orderNum">
|
|
@@ -21,14 +22,14 @@
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
- <a-form-model-item label="款号" prop="styleNum">
|
|
|
|
- <a-input placeholder="请输入款号" v-model="addAdpacking.styleNum"></a-input>
|
|
|
|
|
|
+ <a-form-model-item label="款号" prop="itemNumber">
|
|
|
|
+ <a-input placeholder="请输入款号" v-model="addAdpacking.itemNumber"></a-input>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
- <a-form-model-item label="品名" prop="name">
|
|
|
|
- <a-input placeholder="请输入品名" v-model="addAdpacking.name"></a-input>
|
|
|
|
|
|
+ <a-form-model-item label="品名" prop="productName">
|
|
|
|
+ <a-input placeholder="请输入品名" v-model="addAdpacking.productName"></a-input>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
@@ -38,8 +39,6 @@
|
|
<!-- <a-select placeholder="请选择尺码范围">
|
|
<!-- <a-select placeholder="请选择尺码范围">
|
|
<a-select-option value="">请选择</a-select-option>
|
|
<a-select-option value="">请选择</a-select-option>
|
|
<a-select-option value="0">客户1</a-select-option>
|
|
<a-select-option value="0">客户1</a-select-option>
|
|
- <a-select-option value="1">客户2</a-select-option>
|
|
|
|
- <a-select-option value="2">客户3</a-select-option>
|
|
|
|
</a-select> -->
|
|
</a-select> -->
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
@@ -57,20 +56,20 @@
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
- <a-form-model-item label="集装箱号" prop="containerNo">
|
|
|
|
- <a-input placeholder="请输入集装箱号" v-model="addAdpacking.containerNo"></a-input>
|
|
|
|
|
|
+ <a-form-model-item label="集装箱号" prop="containerNumber">
|
|
|
|
+ <a-input placeholder="请输入集装箱号" v-model="addAdpacking.containerNumber"></a-input>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
- <a-form-model-item label="备注" prop="note">
|
|
|
|
- <a-input placeholder="请输入备注" v-model="addAdpacking.note"></a-input>
|
|
|
|
|
|
+ <a-form-model-item label="备注" prop="memo">
|
|
|
|
+ <a-input placeholder="请输入备注" v-model="addAdpacking.memo"></a-input>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
- <a-form-model-item label="成衣工厂" prop="clothesFactory">
|
|
|
|
- <a-input placeholder="请输入成衣工厂" v-model="addAdpacking.clothesFactory"></a-input>
|
|
|
|
|
|
+ <a-form-model-item label="成衣工厂" prop="garmentFactory">
|
|
|
|
+ <a-input placeholder="请输入成衣工厂" v-model="addAdpacking.garmentFactory"></a-input>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
@@ -78,16 +77,16 @@
|
|
</div>
|
|
</div>
|
|
</a-card>
|
|
</a-card>
|
|
|
|
|
|
- <!--操作按钮区域 参照发运明细 増行-->
|
|
|
|
|
|
+ <!-- 参照发运明细 増行-->
|
|
<a-card :bordered="false" style="margin:10px 0 60px 0;">
|
|
<a-card :bordered="false" style="margin:10px 0 60px 0;">
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
<a-button type="primary" @click="referShipmentDetails" icon="ordered-list">参照发运明细</a-button>
|
|
<a-button type="primary" @click="referShipmentDetails" icon="ordered-list">参照发运明细</a-button>
|
|
<a-button type="primary" @click="handleAddColumn" icon="plus" style="margin-left: 20px">増行</a-button>
|
|
<a-button type="primary" @click="handleAddColumn" icon="plus" style="margin-left: 20px">増行</a-button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <!-- 子表 ipagination-->
|
|
|
|
|
|
+ <!-- 子表 ipagination :rules="validatorRules"-->
|
|
<a-spin :spinning="confirmLoading">
|
|
<a-spin :spinning="confirmLoading">
|
|
- <a-form-model ref="formRef" :rules="validatorRules">
|
|
|
|
|
|
+ <a-form-model ref="formRef">
|
|
<a-table
|
|
<a-table
|
|
bordered
|
|
bordered
|
|
rowKey="id"
|
|
rowKey="id"
|
|
@@ -100,63 +99,63 @@
|
|
>
|
|
>
|
|
<!-- 结束箱号 输入框-->
|
|
<!-- 结束箱号 输入框-->
|
|
<template slot="endBoxNo" slot-scope="text, record, index">
|
|
<template slot="endBoxNo" slot-scope="text, record, index">
|
|
- <a-form-model-item prop="endBoxNo" :rules="rules.styleNum" required>
|
|
|
|
|
|
+ <a-form-model-item prop="endBoxNo">
|
|
<a-input style="width:100%" type="text" v-model="record.endBoxNo" />
|
|
<a-input style="width:100%" type="text" v-model="record.endBoxNo" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<!-- 颜色(中英文) -->
|
|
<!-- 颜色(中英文) -->
|
|
- <template slot="colorChUsa" slot-scope="text, record, index">
|
|
|
|
- <a-form-model-item prop="colorChUsa" :rules="rules.styleNum" required>
|
|
|
|
- <a-input style="width:100%" type="text" v-model="record.colorChUsa" />
|
|
|
|
|
|
+ <template slot="color" slot-scope="text, record, index">
|
|
|
|
+ <a-form-model-item prop="color">
|
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.color" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
- <!-- 箱数 -->
|
|
|
|
- <template slot="boxes" slot-scope="text, record, index">
|
|
|
|
- <a-form-model-item prop="boxes" :rules="rules.styleNum" required>
|
|
|
|
- <a-input style="width:100%" type="text" v-model="record.boxes" />
|
|
|
|
|
|
+ <!-- 箱数 -->
|
|
|
|
+ <template slot="boxNumber" slot-scope="text, record, index">
|
|
|
|
+ <a-form-model-item prop="boxNumber">
|
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.boxNumber" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<!-- 总件数 -->
|
|
<!-- 总件数 -->
|
|
<template slot="totalPackagesNum" slot-scope="text, record, index">
|
|
<template slot="totalPackagesNum" slot-scope="text, record, index">
|
|
- <a-form-model-item prop="totalPackagesNum" :rules="rules.styleNum" required>
|
|
|
|
|
|
+ <a-form-model-item prop="totalPackagesNum">
|
|
<a-input style="width:100%" type="text" v-model="record.totalPackagesNum" />
|
|
<a-input style="width:100%" type="text" v-model="record.totalPackagesNum" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<!-- 总净重 -->
|
|
<!-- 总净重 -->
|
|
- <template slot="totalSuttle" slot-scope="text, record, index">
|
|
|
|
- <a-form-model-item prop="totalSuttle" :rules="rules.styleNum" required>
|
|
|
|
- <a-input style="width:100%" type="text" v-model="record.totalSuttle" />
|
|
|
|
|
|
+ <template slot="totalNetWeight" slot-scope="text, record, index">
|
|
|
|
+ <a-form-model-item prop="totalNetWeight">
|
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.totalNetWeight" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<!-- 总毛重 -->
|
|
<!-- 总毛重 -->
|
|
- <template slot="totalRoughWeigh" slot-scope="text, record, index">
|
|
|
|
- <a-form-model-item prop="totalRoughWeigh" :rules="rules.styleNum" required>
|
|
|
|
- <a-input style="width:100%" type="text" v-model="record.totalRoughWeigh" />
|
|
|
|
|
|
+ <template slot="totalGrossWeight" slot-scope="text, record, index">
|
|
|
|
+ <a-form-model-item prop="totalGrossWeight">
|
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.totalGrossWeight" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<!-- 外箱宽度 -->
|
|
<!-- 外箱宽度 -->
|
|
<template slot="boxWidth" slot-scope="text, record, index">
|
|
<template slot="boxWidth" slot-scope="text, record, index">
|
|
- <a-form-model-item prop="boxWidth" :rules="rules.styleNum" required>
|
|
|
|
|
|
+ <a-form-model-item prop="boxWidth">
|
|
<a-input style="width:100%" type="text" v-model="record.boxWidth" />
|
|
<a-input style="width:100%" type="text" v-model="record.boxWidth" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<!-- 外箱高度 -->
|
|
<!-- 外箱高度 -->
|
|
<template slot="boxHeight" slot-scope="text, record, index">
|
|
<template slot="boxHeight" slot-scope="text, record, index">
|
|
- <a-form-model-item prop="boxHeight" :rules="rules.styleNum" required>
|
|
|
|
|
|
+ <a-form-model-item prop="boxHeight">
|
|
<a-input style="width:100%" type="text" v-model="record.boxHeight" />
|
|
<a-input style="width:100%" type="text" v-model="record.boxHeight" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<!-- 总体积 -->
|
|
<!-- 总体积 -->
|
|
<template slot="totalVolume" slot-scope="text, record, index">
|
|
<template slot="totalVolume" slot-scope="text, record, index">
|
|
- <a-form-model-item prop="totalVolume" :rules="rules.styleNum" required>
|
|
|
|
|
|
+ <a-form-model-item prop="totalVolume">
|
|
<a-input style="width:100%" type="text" v-model="record.totalVolume" />
|
|
<a-input style="width:100%" type="text" v-model="record.totalVolume" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
@@ -173,6 +172,7 @@
|
|
</a-form-model>
|
|
</a-form-model>
|
|
</a-spin>
|
|
</a-spin>
|
|
</a-card>
|
|
</a-card>
|
|
|
|
+
|
|
<!-- 页面底部提交取消 -->
|
|
<!-- 页面底部提交取消 -->
|
|
<div
|
|
<div
|
|
:style="{
|
|
:style="{
|
|
@@ -190,8 +190,8 @@
|
|
<a-popconfirm title="确定放弃新增?" @confirm="handleCancel" okText="确定" cancelText="取消">
|
|
<a-popconfirm title="确定放弃新增?" @confirm="handleCancel" okText="确定" cancelText="取消">
|
|
<a-button :style="{ marginRight: '8px' }">取消</a-button>
|
|
<a-button :style="{ marginRight: '8px' }">取消</a-button>
|
|
</a-popconfirm>
|
|
</a-popconfirm>
|
|
- <a-button type="primary" @click="submitAdd">
|
|
|
|
- 提交
|
|
|
|
|
|
+ <a-button type="primary" @click="saveAdd">
|
|
|
|
+ 保存
|
|
</a-button>
|
|
</a-button>
|
|
</div>
|
|
</div>
|
|
</a-drawer>
|
|
</a-drawer>
|
|
@@ -208,12 +208,16 @@
|
|
<script>
|
|
<script>
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
import JEllipsis from '@/components/jeecg/JEllipsis'
|
|
import JEllipsis from '@/components/jeecg/JEllipsis'
|
|
|
|
+import moment from 'moment'
|
|
|
|
+
|
|
import ReferShipmentDetailsModal from '@views/advance-packingList/referShipmentDetailsModal.vue'
|
|
import ReferShipmentDetailsModal from '@views/advance-packingList/referShipmentDetailsModal.vue'
|
|
|
|
|
|
|
|
+// import {} from '@api/reportForms/advance-packingList.js'
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
name: 'AddAdvancePacking', // 新增预装箱单
|
|
name: 'AddAdvancePacking', // 新增预装箱单
|
|
mixins: [JeecgListMixin],
|
|
mixins: [JeecgListMixin],
|
|
- components: { ReferShipmentDetailsModal, JEllipsis }, // 参照发运明细弹框
|
|
|
|
|
|
+ components: { JEllipsis, moment, ReferShipmentDetailsModal }, // 参照发运明细弹框
|
|
data() {
|
|
data() {
|
|
let ellipsis = (v, l = 20) => <j-ellipsis value={v} length={l} /> // 省略
|
|
let ellipsis = (v, l = 20) => <j-ellipsis value={v} length={l} /> // 省略
|
|
|
|
|
|
@@ -229,7 +233,7 @@ export default {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '成衣工厂',
|
|
title: '成衣工厂',
|
|
- dataIndex: 'clothesFactory',
|
|
|
|
|
|
+ dataIndex: 'garmentFactory',
|
|
width: 120,
|
|
width: 120,
|
|
fixed: 'left',
|
|
fixed: 'left',
|
|
className: 'replacecolor'
|
|
className: 'replacecolor'
|
|
@@ -262,7 +266,7 @@ export default {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '分销点/DC/LABEL',
|
|
title: '分销点/DC/LABEL',
|
|
- dataIndex: 'dcLabel',
|
|
|
|
|
|
+ dataIndex: 'distributionPoint',
|
|
width: 180,
|
|
width: 180,
|
|
className: 'replacecolor'
|
|
className: 'replacecolor'
|
|
},
|
|
},
|
|
@@ -327,10 +331,10 @@ export default {
|
|
|
|
|
|
{
|
|
{
|
|
title: '颜色(中英文)',
|
|
title: '颜色(中英文)',
|
|
- dataIndex: 'colorChUsa',
|
|
|
|
|
|
+ dataIndex: 'color',
|
|
width: 140,
|
|
width: 140,
|
|
customRender: t => ellipsis(t),
|
|
customRender: t => ellipsis(t),
|
|
- scopedSlots: { customRender: 'colorChUsa' },
|
|
|
|
|
|
+ scopedSlots: { customRender: 'color' },
|
|
className: 'replacecolor'
|
|
className: 'replacecolor'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -347,9 +351,9 @@ export default {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '箱数',
|
|
title: '箱数',
|
|
- dataIndex: 'boxes',
|
|
|
|
|
|
+ dataIndex: 'boxNumber',
|
|
width: 140,
|
|
width: 140,
|
|
- scopedSlots: { customRender: 'boxes' },
|
|
|
|
|
|
+ scopedSlots: { customRender: 'boxNumber' },
|
|
className: 'replacecolor'
|
|
className: 'replacecolor'
|
|
},
|
|
},
|
|
|
|
|
|
@@ -368,9 +372,9 @@ export default {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '总净重',
|
|
title: '总净重',
|
|
- dataIndex: 'totalSuttle',
|
|
|
|
|
|
+ dataIndex: 'totalNetWeight',
|
|
width: 140,
|
|
width: 140,
|
|
- scopedSlots: { customRender: 'totalSuttle' },
|
|
|
|
|
|
+ scopedSlots: { customRender: 'totalNetWeight' },
|
|
className: 'replacecolor'
|
|
className: 'replacecolor'
|
|
},
|
|
},
|
|
|
|
|
|
@@ -382,9 +386,9 @@ export default {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '总毛重',
|
|
title: '总毛重',
|
|
- dataIndex: 'totalRoughWeigh',
|
|
|
|
|
|
+ dataIndex: 'totalGrossWeight',
|
|
width: 140,
|
|
width: 140,
|
|
- scopedSlots: { customRender: 'totalRoughWeigh' },
|
|
|
|
|
|
+ scopedSlots: { customRender: 'totalGrossWeight' },
|
|
className: 'replacecolor'
|
|
className: 'replacecolor'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -432,14 +436,14 @@ export default {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '总价',
|
|
title: '总价',
|
|
- dataIndex: 'totalPrices',
|
|
|
|
|
|
+ dataIndex: 'totalPrice',
|
|
width: 120,
|
|
width: 120,
|
|
|
|
|
|
className: 'replacecolor'
|
|
className: 'replacecolor'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '备注(U8)',
|
|
title: '备注(U8)',
|
|
- dataIndex: 'note',
|
|
|
|
|
|
+ dataIndex: 'memo',
|
|
width: 140,
|
|
width: 140,
|
|
fixed: 'right',
|
|
fixed: 'right',
|
|
customRender: t => ellipsis(t),
|
|
customRender: t => ellipsis(t),
|
|
@@ -456,38 +460,52 @@ export default {
|
|
}
|
|
}
|
|
],
|
|
],
|
|
|
|
|
|
- addAdvancePackingData: [{}, {}, {}, {}, {}],
|
|
|
|
|
|
+ addAdvancePackingData: [],
|
|
loading: false, // 表格加载
|
|
loading: false, // 表格加载
|
|
visible: false,
|
|
visible: false,
|
|
- validatorRules: {
|
|
|
|
- orderNum: [{ required: true, message: '订单号不能为空', trigger: 'blur' }],
|
|
|
|
- styleNum: [{ required: true, message: '款号不能为空', trigger: 'blur' }],
|
|
|
|
- name: [{ required: true, message: '品名不能为空', trigger: 'blur' }]
|
|
|
|
- // 待确定还有哪些必填信息
|
|
|
|
- },
|
|
|
|
|
|
+ // 待确定还有哪些必填信息
|
|
|
|
+ // validatorRules: {
|
|
|
|
+ // orderNum: [{ required: true, message: '订单号不能为空', trigger: 'blur' }],
|
|
|
|
+ // itemNumber: [{ required: true, message: '款号不能为空', trigger: 'blur' }],
|
|
|
|
+ // productName: [{ required: true, message: '品名不能为空', trigger: 'blur' }]
|
|
|
|
+ // },
|
|
addAdpacking: {},
|
|
addAdpacking: {},
|
|
confirmLoading: false
|
|
confirmLoading: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {},
|
|
created() {},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 保存
|
|
|
|
+ saveAdd() {
|
|
|
|
+ console.log('保存新增、刷新预装箱单-成衣')
|
|
|
|
+ // const that = this
|
|
|
|
+ // // 触发表单验证
|
|
|
|
+ // this.$refs.form.validate(valid => {
|
|
|
|
+ // if (valid) {
|
|
|
|
+ // that.confirmLoading = true
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ this.close()
|
|
|
|
+ // this.getShipmentList() // 刷新 预装箱单-成衣列表
|
|
|
|
+ },
|
|
// 参照发运明细
|
|
// 参照发运明细
|
|
referShipmentDetails() {
|
|
referShipmentDetails() {
|
|
console.log('打开参照订单数据')
|
|
console.log('打开参照订单数据')
|
|
this.$refs.referShipmentDetailsModal.referShipmentDetailsModVis = true
|
|
this.$refs.referShipmentDetailsModal.referShipmentDetailsModVis = true
|
|
},
|
|
},
|
|
|
|
+
|
|
// 増行
|
|
// 増行
|
|
handleAddColumn() {
|
|
handleAddColumn() {
|
|
console.log('増行')
|
|
console.log('増行')
|
|
|
|
|
|
const addrow = {
|
|
const addrow = {
|
|
accountSet: '',
|
|
accountSet: '',
|
|
- clothesFactory: '',
|
|
|
|
|
|
+ garmentFactory: '',
|
|
hod: '',
|
|
hod: '',
|
|
styleNo: '',
|
|
styleNo: '',
|
|
poNo: '',
|
|
poNo: '',
|
|
itemNoSoon: '',
|
|
itemNoSoon: '',
|
|
- dcLabel: '',
|
|
|
|
|
|
+ distributionPoint: '',
|
|
prepackSku: '',
|
|
prepackSku: '',
|
|
s: '',
|
|
s: '',
|
|
m: '',
|
|
m: '',
|
|
@@ -497,23 +515,23 @@ export default {
|
|
xxxl: '',
|
|
xxxl: '',
|
|
inceptionBoxNo: '',
|
|
inceptionBoxNo: '',
|
|
endBoxNo: '',
|
|
endBoxNo: '',
|
|
- colorChUsa: '',
|
|
|
|
|
|
+ color: '',
|
|
configCode: '',
|
|
configCode: '',
|
|
packagesBox: '',
|
|
packagesBox: '',
|
|
- boxes: '',
|
|
|
|
|
|
+ boxNumber: '',
|
|
totalPackagesNum: '',
|
|
totalPackagesNum: '',
|
|
suttle: '',
|
|
suttle: '',
|
|
- totalSuttle: '',
|
|
|
|
|
|
+ totalNetWeight: '',
|
|
roughWeight: '',
|
|
roughWeight: '',
|
|
- totalRoughWeigh: '',
|
|
|
|
|
|
+ totalGrossWeight: '',
|
|
boxLength: '',
|
|
boxLength: '',
|
|
boxWidth: '',
|
|
boxWidth: '',
|
|
boxHeight: '',
|
|
boxHeight: '',
|
|
totalVolume: '',
|
|
totalVolume: '',
|
|
netNetWeight: '',
|
|
netNetWeight: '',
|
|
price: '',
|
|
price: '',
|
|
- totalPrices: '',
|
|
|
|
- note: '',
|
|
|
|
|
|
+ totalPrice: '',
|
|
|
|
+ memo: '',
|
|
operation: ''
|
|
operation: ''
|
|
}
|
|
}
|
|
|
|
|
|
@@ -531,19 +549,7 @@ export default {
|
|
console.log('点击抽屉取消')
|
|
console.log('点击抽屉取消')
|
|
this.close()
|
|
this.close()
|
|
},
|
|
},
|
|
- // 抽屉 提交
|
|
|
|
- submitAdd() {
|
|
|
|
- console.log('保存新增、刷新预装箱单-成衣')
|
|
|
|
- const that = this
|
|
|
|
- // 触发表单验证
|
|
|
|
- this.$refs.form.validate(valid => {
|
|
|
|
- if (valid) {
|
|
|
|
- that.confirmLoading = true
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- this.close()
|
|
|
|
- // this.getShipmentList() // 刷新 预装箱单-成衣列表
|
|
|
|
- },
|
|
|
|
|
|
+
|
|
// -------------------------------------
|
|
// -------------------------------------
|
|
close() {
|
|
close() {
|
|
this.$emit('close')
|
|
this.$emit('close')
|