Commit be9ad22b authored by dragondean@qq.com's avatar dragondean@qq.com

仓库空运线路里增加模板中英文标题设置

parent 56c1435d
......@@ -336,6 +336,12 @@
</el-radio-group>
</el-form-item>
<template v-if="['3','4'].includes(lineform.transportType)" >
<el-form-item :label="$t('模板中文标题')">
<el-input v-model="lineform.tempTitleZh" style="width: 400px" ></el-input>
</el-form-item>
<el-form-item :label="$t('模板英文标题')">
<el-input v-model="lineform.tempTitleEn" style="width: 400px" ></el-input>
</el-form-item>
<el-form-item :label="$t('空运发件人')">
<el-input v-model="lineform.senderInfo.name" style="width: 400px" ></el-input>
</el-form-item>
......@@ -587,6 +593,8 @@ export default {
controlStatus:'0',
currencyUnit:1,
minPrice:0,
tempTitleZh: '',
tempTitleEn: '',
"recipientInfo": {
"companyAddress": "",
"companyAddressEn": "",
......@@ -938,6 +946,8 @@ export default {
this.lineform.makeBillNode = row.makeBillNode || '6';
this.lineform.currencyUnit = row.currencyUnit ? row.currencyUnit : 1
this.lineform.controlStatus = row.controlStatus ? row.controlStatus : 0
this.lineform.tempTitleZh = row.tempTitleEn
this.lineform.tempTitleEn = row.tempTitleEn
// 先清空 发货人和收货人信息
this.lineform.senderInfo = {
"companyAddress": "",
......@@ -983,8 +993,9 @@ export default {
currencyUnit:this.lineform.currencyUnit,
minPrice:this.lineform.minPrice,
senderInfo:this.lineform.senderInfo,
recipientInfo:this.lineform.recipientInfo
recipientInfo:this.lineform.recipientInfo,
tempTitleZh: this.lineform.tempTitleZh,
tempTitleEn: this.lineform.tempTitleEn
}).then(res => {
this.$modal.msgSuccess(this.$t("操作成功"));
this.getRouteList()
......
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