Commit 05c2463e authored by 华国豪's avatar 华国豪 🙄

公司管理 新增公司抬头

parent 9052c325
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="7"> <td colspan="7" :id="isSave ? 'selectBox' : ''">
<p> <p>
<span>甲方同意本订单所有费用在出发前支付到乙方指定账户:</span> <span>甲方同意本订单所有费用在出发前支付到乙方指定账户:</span>
<!-- && !isSave --> <!-- && !isSave -->
...@@ -324,7 +324,7 @@ export default { ...@@ -324,7 +324,7 @@ export default {
}, },
methods: { methods: {
setHtml: function() { setHtml: function() {
let dom = document.getElementById("selectBox") let dom = document.getElementById("selectBox")
if (!dom) return if (!dom) return
let str = `<p> let str = `<p>
<span>甲方同意本订单所有费用在出发前支付到乙方指定账户:</span> <span>甲方同意本订单所有费用在出发前支付到乙方指定账户:</span>
...@@ -361,14 +361,16 @@ export default { ...@@ -361,14 +361,16 @@ export default {
this.accountNum = data.BankIndexNum; this.accountNum = data.BankIndexNum;
this.ConfirmationDetails = data; this.ConfirmationDetails = data;
this.accountChange(); this.accountChange();
setTimeout(() => { setTimeout(() => {
this.setHtml();
if (data.OperationState === 1 || data.OperationState === 0 || this.$route.query.isShen) { if (data.OperationState === 1 || data.OperationState === 0 || this.$route.query.isShen) {
let ele=document.getElementsByClassName('__input') let ele=document.getElementsByClassName('__input')
for(var i=0;i<ele.length;i++){ for(var i=0;i<ele.length;i++){
ele[i].contentEditable = false ele[i].contentEditable = false
} }
} }
if (data.OperationState !== -1) { this.setHtml(); }
}, 1000); }, 1000);
} else { } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
......
...@@ -90,7 +90,10 @@ ...@@ -90,7 +90,10 @@
</el-form-item>--> </el-form-item>-->
<el-form-item class='w400' :label="$t('admin.admin_company')" prop="BName"> <el-form-item class='w400' :label="$t('admin.admin_company')" prop="BName">
<el-input type="text" v-model="addMsg.BName" :placeholder="$t('pub.pleaseImport')"></el-input> <el-input type="text" v-model="addMsg.BName" :placeholder="$t('pub.pleaseImport')"></el-input>
</el-form-item> </el-form-item>
<el-form-item class='w400' label="确认件抬头" prop="CompanyTitle">
<el-input type="text" v-model="addMsg.CompanyTitle" placeholder="请输入确认件抬头"></el-input>
</el-form-item>
<!-- <el-form-item class='w400' :label="$t('admin.admin_domain')" prop="Domain"> <!-- <el-form-item class='w400' :label="$t('admin.admin_domain')" prop="Domain">
<el-input type="text" v-model="addMsg.Domain" :placeholder="$t('pub.pleaseImport')"></el-input> <el-input type="text" v-model="addMsg.Domain" :placeholder="$t('pub.pleaseImport')"></el-input>
</el-form-item> --> </el-form-item> -->
...@@ -293,6 +296,9 @@ ...@@ -293,6 +296,9 @@
BeginTier:[ BeginTier:[
{ required: true, validator: validateBeginTier, trigger: 'blur' } { required: true, validator: validateBeginTier, trigger: 'blur' }
], ],
CompanyTitle: [
{ required: true, message: '请输入确认件抬头', trigger: 'blur' }
]
}, },
addMsg: { addMsg: {
...@@ -319,7 +325,8 @@ ...@@ -319,7 +325,8 @@
ConfirmationSignet:'', ConfirmationSignet:'',
GatheringTime:'', GatheringTime:'',
GatheringAddress:'', GatheringAddress:'',
TravelLogo:'' TravelLogo:'',
CompanyTitle: '',
}, },
updateMsg: { updateMsg: {
GroupId: '1' GroupId: '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