Commit acbd26f2 authored by youjie's avatar youjie

no message

parent 8eb1ca0f
......@@ -138,6 +138,16 @@
<el-dialog custom-class='w500' :title="dialogTitle" :visible.sync="outerVisible" center
:before-close="closeChangeMachie">
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="120px">
<el-form-item class='w400' label="本位币" prop="StandardCurrencyId">
<el-select class='w280' placeholder="请选择本位币" filterable v-model="addMsg.StandardCurrencyId">
<el-option v-for='item in coinGetList'
:label='item.Name'
:value='item.ID'
:key='item.ID'>
</el-option>
</el-select>
<!-- <el-input type="text" v-model="addMsg.StandardCurrencyId" placeholder="请选择本位币"></el-input> -->
</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>
......@@ -215,7 +225,7 @@
</el-form-item>
<el-form-item :label='$t("admin.companyZhang")'>
<el-upload class="avatar-uploader" :http-request="UploadImage" :show-file-list="false"
<el-upload action="http://upload.oytour.com" class="avatar-uploader" :http-request="UploadImage" :show-file-list="false"
:on-success="handleAvatarSuccess" :before-upload="beforeAvatarUpload">
<img v-if="imageUrl" :src="imageUrl" class="avatar">
<i class="el-icon-upload2 avatar-uploader-icon"></i>
......@@ -224,7 +234,7 @@
</el-upload>
</el-form-item>
<el-form-item :label='$t("admin.tripLogo")'>
<el-upload class="avatar-uploader" :http-request="UploadImage_Logo" :show-file-list="false"
<el-upload action="http://upload.oytour.com" class="avatar-uploader" :http-request="UploadImage_Logo" :show-file-list="false"
:on-success="handleAvatarSuccessLogo" :before-upload="beforeAvatarUpload">
<img v-if="imageUrlLogo" :src="imageUrlLogo" class="avatar">
<i class="el-icon-upload2 avatar-uploader-icon"></i>
......@@ -305,6 +315,11 @@
message: '请选择集团',
trigger: 'change'
}],
StandardCurrencyId: [{
required: true,
message: '请选择本位币',
trigger: 'change'
}],
BName: [{
required: true,
message: '请输入公司名称',
......@@ -379,8 +394,10 @@
TravelLogo: '',
CompanyTitle: '',
IsFreeFee: 0,
ServiceFee: 0
ServiceFee: 0,
StandardCurrencyId: ''
},
coinGetList: [],
updateMsg: {
GroupId: '1'
},
......@@ -400,8 +417,16 @@
this.getList();
this.getGroup();
this.getEmployee();
this.financeinfo_post_GetList()
},
methods: {
financeinfo_post_GetList(TCID){ // 获取币种
this.apipost('financeinfo_post_GetList',{Name:'', TCID: TCID}, res => {
if(res.data.resultCode == 1) {
this.coinGetList = res.data.data;
}
}, err => {})
},
//上传图片
UploadImage(file) {
let newArr = [];
......@@ -505,6 +530,9 @@
this.addMsg.is_show = this.addMsg.is_show.toString();
this.addMsg.B2BShow = this.addMsg.B2BShow.toString();
this.addMsg.IsParentCompany = this.addMsg.IsParentCompany.toString();
if(this.addMsg.StandardCurrencyId==0){
this.addMsg.StandardCurrencyId = ''
}
this.imageUrl = this.addMsg.ConfirmationSignet;
this.imageUrlLogo = this.addMsg.TravelLogo;
} else {}
......
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