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

公司管理 新增公司抬头

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