Commit 6f422449 authored by huhaiqing's avatar huhaiqing

海运新增报关方式字段

parent 0d319769
...@@ -62,6 +62,11 @@ ...@@ -62,6 +62,11 @@
</section> </section>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('报关方式')" align="center" prop="customsType">
<template slot-scope="scope">
<dict-tag :type="DICT_TYPE.ECW_CUSTOMS_TYPE" :value="scope.row.customsType" />
</template>
</el-table-column>
<el-table-column :label="$t('计划箱数')" align="center" prop="num"> <el-table-column :label="$t('计划箱数')" align="center" prop="num">
<template slot-scope="scope"> <template slot-scope="scope">
{{getTotlContent(scope.row,['num'])}} {{getTotlContent(scope.row,['num'])}}
...@@ -311,9 +316,15 @@ export default { ...@@ -311,9 +316,15 @@ export default {
startWarehouseId: [ startWarehouseId: [
{ required: true, message: this.$t("必填"), trigger: "change" }, { required: true, message: this.$t("必填"), trigger: "change" },
], ],
cabinetId: [{ required: true, message: this.$t("必填"), trigger: "change" }], cabinetId: [
qrCode: [{ required: true, message: this.$t("必填"), trigger: "change" }], { required: true, message: this.$t("必填"), trigger: "change" },
orderNo: [{ required: true, message: this.$t("必填"), trigger: "change" }], ],
qrCode: [
{ required: true, message: this.$t("必填"), trigger: "change" },
],
orderNo: [
{ required: true, message: this.$t("必填"), trigger: "change" },
],
}, },
// 当前行 // 当前行
currRow: {}, currRow: {},
...@@ -338,7 +349,7 @@ export default { ...@@ -338,7 +349,7 @@ export default {
this.listData = data.map((item, index) => { this.listData = data.map((item, index) => {
return { return {
...item, ...item,
title: this.$t('第{index}部分', {index: 1+index}), title: this.$t("第{index}部分", { index: 1 + index }),
}; };
}); });
if (this.listData.length) { if (this.listData.length) {
......
...@@ -45,6 +45,11 @@ ...@@ -45,6 +45,11 @@
<dict-tag :type="DICT_TYPE.ECW_IS_BRAND" :value="row.feeType" /> <dict-tag :type="DICT_TYPE.ECW_IS_BRAND" :value="row.feeType" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('报关方式')" align="center" prop="customsType">
<template slot-scope="scope">
<dict-tag :type="DICT_TYPE.ECW_CUSTOMS_TYPE" :value="scope.row.customsType" />
</template>
</el-table-column>
<el-table-column :label="$t('箱数')" align="center" prop="num"> <el-table-column :label="$t('箱数')" align="center" prop="num">
<template slot-scope="scope"> <template slot-scope="scope">
<el-link type="primary" @click.native="showWarehouseLogs(scope.row)"> <el-link type="primary" @click.native="showWarehouseLogs(scope.row)">
......
...@@ -43,6 +43,11 @@ ...@@ -43,6 +43,11 @@
</section> </section>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('报关方式')" align="center" prop="customsType">
<template slot-scope="scope">
<dict-tag :type="DICT_TYPE.ECW_CUSTOMS_TYPE" :value="scope.row.customsType" />
</template>
</el-table-column>
<el-table-column :label="$t('实装箱数')" align="center" prop="installNum" /> <el-table-column :label="$t('实装箱数')" align="center" prop="installNum" />
<el-table-column :label="$t('卸柜箱数')" align="center" prop="unloadNum" /> <el-table-column :label="$t('卸柜箱数')" align="center" prop="unloadNum" />
<el-table-column :label="$t('清关状态')" align="center" prop=""> <el-table-column :label="$t('清关状态')" align="center" prop="">
...@@ -172,7 +177,7 @@ export default { ...@@ -172,7 +177,7 @@ export default {
this.sectionList = res.data.map((item, index) => { this.sectionList = res.data.map((item, index) => {
return { return {
...item, ...item,
title: this.$t('第{index}部分', {index: index + 1}), title: this.$t("第{index}部分", { index: index + 1 }),
}; };
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment