Commit c7570731 authored by 黄奎's avatar 黄奎

页面修改

parent b0602c73
......@@ -445,12 +445,14 @@
<input v-model="da.UnitPrice" type="number" @keydown="handleInput2" @change="Calculation(2,daIn+1)" @blur="addList(2,daIn+1)" class="w80 h34 _border_b_1"></input>
</td> -->
<td height="26px">
<el-input v-model="da.Number" @keyup.native="checkInteger(da,'Number')" type="text" @input="chages($event)"
@blur="addList(2,daIn+1)" @change="Calculation(2,daIn+1)" class="w80 _border_b_1"></el-input>
<el-input v-model="da.Number" @keyup.native="checkInteger(da,'Number')" type="text"
@input="chages($event)" @blur="addList(2,daIn+1)" @change="Calculation(2,daIn+1)"
class="w80 _border_b_1"></el-input>
</td>
<td height="26px">
<el-input v-model="da.UnitPrice" type="text" @keyup.native="checkPrice(da,'UnitPrice',true)" @input="chages($event)"
@change="Calculation(2,daIn+1)" @blur="addList(2,daIn+1)" class="w80 h34 _border_b_1"></el-input>
<el-input v-model="da.UnitPrice" type="text" @keyup.native="checkPrice(da,'UnitPrice',true)"
@input="chages($event)" @change="Calculation(2,daIn+1)" @blur="addList(2,daIn+1)"
class="w80 h34 _border_b_1"></el-input>
</td>
<td height="26px">
<span class="w80">{{da.currenName}}</span>
......@@ -462,8 +464,8 @@
</td>
<td height="26px">{{da.bTotalPrice}}</td>
<td height="26px">
<el-input v-model="da.Remark" type="textarea" class="w80 _border_b_1" @input="chages($event)"></el-input> <i
@click="deleteRow(daIn,da)" class="_delete_row iconfont icon-img_delete_small"></i>
<el-input v-model="da.Remark" type="textarea" class="w80 _border_b_1" @input="chages($event)">
</el-input> <i @click="deleteRow(daIn,da)" class="_delete_row iconfont icon-img_delete_small"></i>
</td>
</tr>
</template>
......@@ -482,13 +484,13 @@
<input v-model="detailList.UnitPrice" type="number" @keydown="handleInput2" @change="Calculation(1)" @blur="addList(1)" class="w80 h34 _border_b_1"></input>
</td> -->
<td>
<el-input v-model="detailList.Number" type="text" @keyup.native="checkInteger(detailList,'Number')" @input="chages($event)"
@blur="addList(1)" @change="Calculation(1)" class="w80 _border_b_1"></el-input>
<el-input v-model="detailList.Number" type="text" @keyup.native="checkInteger(detailList,'Number')"
@input="chages($event)" @blur="addList(1)" @change="Calculation(1)" class="w80 _border_b_1"></el-input>
</td>
<td>
<el-input v-model="detailList.UnitPrice" type="text"
@keyup.native="checkPrice(detailList,'UnitPrice',true)" @change="Calculation(1)" @blur="addList(1)" @input="chages($event)"
class="w80 h34 _border_b_1"></el-input>
@keyup.native="checkPrice(detailList,'UnitPrice',true)" @change="Calculation(1)" @blur="addList(1)"
@input="chages($event)" class="w80 h34 _border_b_1"></el-input>
</td>
<td>
<span class="w110">{{detailList.currenName}}</span>
......@@ -500,7 +502,8 @@
</td>
<td>{{detailList.bTotalPrice}}</td>
<td>
<el-input v-model="detailList.Remark" @blur="addList(1)" type="textarea" class="w80 _border_b_1" @input="chages($event)">
<el-input v-model="detailList.Remark" @blur="addList(1)" type="textarea" class="w80 _border_b_1"
@input="chages($event)">
</el-input>
</td>
</tr>
......@@ -586,68 +589,67 @@
</el-option>
</el-select>
</span></p>
<template v-if="(orderObj&&!orderObj.isPrestore)||msg.SigningCustomerId||msg.DepositCustomerId">
<template v-if="!msg.DepositCustomerId">
<p v-if="CustomerIdList&&CustomerIdList.length" style="margin-left: 15px;">签约客户:<span>
<template v-if="(orderObj&&!orderObj.isPrestore)||msg.SigningCustomerId||msg.DepositCustomerId">
<template v-if="!msg.DepositCustomerId">
<p v-if="CustomerIdList&&CustomerIdList.length" style="margin-left: 15px;">签约客户:<span>
<el-select clearable filterable v-model='msg.SigningCustomerId' class="w135 _border_b_1"
:disabled="isDepositCustomer"
@change="getSigningCustomerId(1)">
:disabled="isDepositCustomer" @change="getSigningCustomerId(1)">
<el-option v-for='item in CustomerIdList' :label='item.customerName' :value='item.customerId'
:key='item.customerId'>
</el-option>
</el-select>
</span>
</p>
</template>
<template v-if="!msg.SigningCustomerId">
<p v-if="StoredCustomerList&&StoredCustomerList.length" style="margin-left: 15px;">预收抵用:<span>
</template>
<template v-if="!msg.SigningCustomerId">
<p v-if="StoredCustomerList&&StoredCustomerList.length" style="margin-left: 15px;">预收抵用:<span>
<el-select clearable filterable v-model='msg.DepositCustomerId' class="w135 _border_b_1"
:disabled="isDepositCustomer"
@change="getSigningCustomerId(2)">
:disabled="isDepositCustomer" @change="getSigningCustomerId(2)">
<el-option v-for='item in StoredCustomerList' :label='item.customerName' :value='item.customerId'
:key='item.customerId'>
</el-option>
</el-select>
</span>
</p>
</template>
</template>
</template>
</div>
<table v-if="ContractCustomer" class="Receipt_table" border="1" bordercolor="#c94052"
style="border-collapse:collapse;margin-top: 10px;">
<tr>
<th>签约客户</th>
<th>联系人</th>
<th>手机号</th>
<th>签约到期时间</th>
<th>签约金额</th>
<th>待结算金额</th>
</tr>
<tr class="_color_b">
<td height="26px">{{ContractCustomer.customerName?ContractCustomer.customerName:'-'}}</td>
<td height="26px">{{ContractCustomer.contact?ContractCustomer.contact:'-'}}</td>
<td height="26px">{{ContractCustomer.contactNumber?ContractCustomer.contactNumber:'-'}}</td>
<td height="26px">{{ContractCustomer.signingEndTimet?ContractCustomer.signingEndTimet:'-'}}</td>
<td height="26px">{{ContractCustomer.signingPrice?ContractCustomer.signingPrice:'-'}}</td>
<td height="26px">{{ContractCustomer.signingUnsettledPrice?ContractCustomer.signingUnsettledPrice:'-'}}</td>
</tr>
</table>
<table v-if="DepositCustomer" class="Receipt_table" border="1" bordercolor="#c94052"
<tr>
<th>签约客户</th>
<th>联系人</th>
<th>手机号</th>
<th>签约到期时间</th>
<th>签约金额</th>
<th>待结算金额</th>
</tr>
<tr class="_color_b">
<td height="26px">{{ContractCustomer.customerName?ContractCustomer.customerName:'-'}}</td>
<td height="26px">{{ContractCustomer.contact?ContractCustomer.contact:'-'}}</td>
<td height="26px">{{ContractCustomer.contactNumber?ContractCustomer.contactNumber:'-'}}</td>
<td height="26px">{{ContractCustomer.signingEndTimet?ContractCustomer.signingEndTimet:'-'}}</td>
<td height="26px">{{ContractCustomer.signingPrice?ContractCustomer.signingPrice:'-'}}</td>
<td height="26px">{{ContractCustomer.signingUnsettledPrice?ContractCustomer.signingUnsettledPrice:'-'}}
</td>
</tr>
</table>
<table v-if="DepositCustomer" class="Receipt_table" border="1" bordercolor="#c94052"
style="border-collapse:collapse;margin-top: 10px;">
<tr>
<th>预存客户</th>
<th>联系人</th>
<th>手机号</th>
<th>余额 </th>
</tr>
<tr class="_color_b">
<td height="26px">{{DepositCustomer.customerName?DepositCustomer.customerName:'-'}}</td>
<td height="26px">{{DepositCustomer.contact?DepositCustomer.contact:'-'}}</td>
<td height="26px">{{DepositCustomer.contactNumber?DepositCustomer.contactNumber:'-'}}</td>
<td height="26px">{{DepositCustomer.depositMoney?DepositCustomer.depositMoney:'-'}}</td>
</tr>
</table>
<tr>
<th>预存客户</th>
<th>联系人</th>
<th>手机号</th>
<th>余额 </th>
</tr>
<tr class="_color_b">
<td height="26px">{{DepositCustomer.customerName?DepositCustomer.customerName:'-'}}</td>
<td height="26px">{{DepositCustomer.contact?DepositCustomer.contact:'-'}}</td>
<td height="26px">{{DepositCustomer.contactNumber?DepositCustomer.contactNumber:'-'}}</td>
<td height="26px">{{DepositCustomer.depositMoney?DepositCustomer.depositMoney:'-'}}</td>
</tr>
</table>
</div>
<div class="_remark">
<p>{{$t('system.label_info')}}</p>
......@@ -695,10 +697,9 @@
<label>
<!-- {{$t('fnc.xiayibu')}} -->
下一步审核人:<span class="red">{{msg.AuditDescription}}</span></label>
<!-- $t('rule.qxzxybshren') -->
<!-- $t('rule.qxzxybshren') -->
<el-select size="mini" style="width:300px" v-model="chosenPeople" multiple filterable remote
reserve-keyword placeholder="请输入下一步审核人,并选中下" :remote-method="remoteMethod"
:loading="loadingPeople">
reserve-keyword placeholder="请输入下一步审核人,并选中下" :remote-method="remoteMethod" :loading="loadingPeople">
<el-option v-for="item in peopleData" :key="item.empId" :label="`${item.name}`" :value="item.empId">
<span style="float: left; font-size: 12px">{{ item.name }}</span>
<span style="float: right; font-size: 12px; margin-right:20px;">{{ item.departmentName }}</span>
......@@ -873,8 +874,8 @@
tradeWay: '',
platformAccount: '',
Handmsg: {},
crmOrderObj:null,
tradeObj:{},
crmOrderObj: null,
tradeObj: {},
StandardCurrencyId: 0,
StandardCurrencyName: '',
TCID: 0,
......@@ -886,7 +887,7 @@
deleteRow(i, obj) {
obj.show = false;
this.msg.detailList.splice(i, 1);
if(this.bankType==12){
if (this.bankType == 12) {
this.getcommission()
this.countFee();
}
......@@ -1125,7 +1126,7 @@
this.$forceUpdate();
}
},
getAccName(i, o,t) { // 根据选择账户获取账户名
getAccName(i, o, t) { // 根据选择账户获取账户名
this.accountList.forEach(x => {
if (x.ID == i) {
this.AccountNumber = x.allName;
......@@ -1153,12 +1154,12 @@
this.shouxufei = res.data.data
}, err => {})
} else {
if (!this.$route.query.edit&&!t) {
if (!this.$route.query.edit && !t) {
this.msg.OriginalFee = 0
this.msg.Fee = 0
}
}
if(this.bankType==12){//如果等于平台账户 进去判断
if (this.bankType == 12) { //如果等于平台账户 进去判断
this.getcommission()
this.countFee();
}
......@@ -1175,8 +1176,8 @@
}
}, err => {})
},
getAccountList(i,t) { //获取账户类型对应下的账户列表
if(!t){
getAccountList(i, t) { //获取账户类型对应下的账户列表
if (!t) {
this.msg.BankList[0].AccountId = '';
this.AccountNumber = '';
}
......@@ -1187,20 +1188,20 @@
}, res => {
if (res.data.resultCode == 1) {
let data = res.data.data;
let list= []
if(this.$route.query.id==192){//如果流程等于192 只显示地接部专户 10月8号新增
list= []
data.forEach(x=>{
if(x.Alias=='国内地接专户'){
let list = []
if (this.$route.query.id == 192) { //如果流程等于192 只显示地接部专户 10月8号新增
list = []
data.forEach(x => {
if (x.Alias == '国内地接专户') {
x.allName = x.BackNo + "(" + x.Alias + ")";
x.Name = x.Alias;
list.push(x)
}
})
}else{//如果不是192的情况不显示 国内地接专户
list= []
data.forEach(x=>{
if(x.Alias!='国内地接专户'){
} else { //如果不是192的情况不显示 国内地接专户
list = []
data.forEach(x => {
if (x.Alias != '国内地接专户') {
x.allName = x.BackNo + "(" + x.Alias + ")";
x.Name = x.Alias;
list.push(x)
......@@ -1211,12 +1212,12 @@
if (this.$route.query.edit) {
this.getAccName(this.msg.BankList[0].AccountId)
}
if(t){
if (t) {
let isState = true
this.accountList.forEach(item=>{
if(isState&&item.ID===this.msg.BankList[0].AccountId){
this.accountList.forEach(item => {
if (isState && item.ID === this.msg.BankList[0].AccountId) {
this.detailList.Rate = item.Rate
this.msg.detailList.forEach(x=>{
this.msg.detailList.forEach(x => {
x.Rate = item.Rate
})
isState = false
......@@ -1224,11 +1225,11 @@
}
})
if(isState){
if (isState) {
this.msg.BankList[0].AccountId = '';
this.AccountNumber = '';
}
this.getAccName(this.msg.BankList[0].AccountId,1,1)
this.getAccName(this.msg.BankList[0].AccountId, 1, 1)
// this.Calculation(0,1)
// this.countFee()
}
......@@ -1350,13 +1351,13 @@
})
}
})
if(this.$route.query.id==192){//如果流程等于192 只显示地接部专户 10月8号新增
newAccList=[]
if (this.$route.query.id == 192) { //如果流程等于192 只显示地接部专户 10月8号新增
newAccList = []
AccList.forEach(y => {
if ( y.Name == '地接部专户' ) {
newAccList.push(y)
}
})
if (y.Name == '地接部专户') {
newAccList.push(y)
}
})
}
this.AccList = newAccList;
} else {
......@@ -1371,12 +1372,15 @@
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null
},
AddFinancial(z) { //保存
if((this.orderObj&&!this.orderObj.isPrestore)||this.msg.DepositCustomerId){
let To = Number(this.allPrice+this.msg.Fee)
let totalAmount = this.DepositCustomer.depositMoney
if(To > totalAmount){
this.Error(`本位币总金额需小于等于${this.DepositCustomer.depositMoney}!`)
return
if ((this.orderObj && !this.orderObj.isPrestore) || this.msg.DepositCustomerId) {
let To = Number(this.allPrice + this.msg.Fee)
let totalAmount = 0;
if (this.DepositCustomer && this.DepositCustomer.depositMoney) {
totalAmount = this.DepositCustomer.depositMoney;
if (To > totalAmount) {
this.Error(`本位币总金额需小于等于${this.DepositCustomer.depositMoney}!`)
return
}
}
}
if (this.Handmsg != null) {
......@@ -1424,22 +1428,22 @@
this.msg.ReFinanceId = this.orderObj.ReFinanceId ? this.orderObj.ReFinanceId : 0;
this.msg.ReFinanceId2 = this.orderObj.ReFinanceId2 ? this.orderObj.ReFinanceId2 : 0;
this.msg.ECOrderList = this.orderObj.ECOrderList ? this.orderObj.ECOrderList : [];
this.msg.StandardCurrencyName = this.orderObj.StandardCurrencyName?this.orderObj.StandardCurrencyName:'';
this.msg.StandardCurrencyName = this.orderObj.StandardCurrencyName ? this.orderObj.StandardCurrencyName : '';
}
// 原币总金验证
if(this.orderObj&&this.orderObj.Money){
let yballPrice = 0
this.msg&&this.msg.detailList&&this.msg.detailList.forEach((item,i)=>{
yballPrice += Number(item.UnitPrice)
})
this.yballPriceTo = yballPrice
if(this.orderObj.Money!=this.yballPriceTo){
this.Error(`原币总金额需等于${this.orderObj.Money}!`)
return
}
if (this.orderObj && this.orderObj.Money) {
let yballPrice = 0
this.msg && this.msg.detailList && this.msg.detailList.forEach((item, i) => {
yballPrice += Number(item.UnitPrice)
})
this.yballPriceTo = yballPrice
if (this.orderObj.Money != this.yballPriceTo) {
this.Error(`原币总金额需等于${this.orderObj.Money}!`)
return
}
}
// crm自动登陆传过来的参数
if(this.crmOrderObj){
if (this.crmOrderObj) {
this.msg.OtherType = this.crmOrderObj.OtherType
this.msg.ReFinanceId = this.crmOrderObj.ReFinanceId
this.msg.ReFinanceId2 = this.crmOrderObj.ReFinanceId2
......@@ -1447,7 +1451,7 @@
this.msg.RelevanceFrId = this.crmOrderObj.RelevanceFrId
}
// 同业的参数
if(this.tradeObj.OtherType){
if (this.tradeObj.OtherType) {
this.msg.OtherType = this.tradeObj.OtherType
this.msg.ReFinanceId = this.tradeObj.ReFinanceId
this.msg.ReFinanceId2 = this.tradeObj.ReFinanceId2
......@@ -1578,35 +1582,35 @@
if (this.shouxufei > 0) {
this.shouxufeiJiSuan()
}
if(this.bankType==12){
if (this.bankType == 12) {
this.getcommission()
}
this.countFee();
},
getcommission(){//计算手续费 满足平台账户 而且是结算方式为百分比 SettlementType=1
getcommission() { //计算手续费 满足平台账户 而且是结算方式为百分比 SettlementType=1
let obj = null
for(let i=0;i< this.accountList.length;i++){
for (let i = 0; i < this.accountList.length; i++) {
let x = this.accountList[i]
if(x.ID == this.msg.BankList[0].AccountId){
obj={
SettlementType:x.SettlementType,
Commission:x.Commission
if (x.ID == this.msg.BankList[0].AccountId) {
obj = {
SettlementType: x.SettlementType,
Commission: x.Commission
}
break
}
}
let price = 0
if(obj.SettlementType==1){
if(this.msg.detailList && this.msg.detailList.length>0){
this.msg.detailList.forEach(x=>{
if(Number(x.yTotalPrice) > 0){
price = price + Number(x.yTotalPrice)
if (obj.SettlementType == 1) {
if (this.msg.detailList && this.msg.detailList.length > 0) {
this.msg.detailList.forEach(x => {
if (Number(x.yTotalPrice) > 0) {
price = price + Number(x.yTotalPrice)
}
})
}
this.msg.OriginalFee = Math.round((price * obj.Commission) ) / 100;
}else{
this.msg.OriginalFee = Math.round((price * obj.Commission)) / 100;
} else {
this.msg.OriginalFee = 0
this.msg.Fee = 0
}
......@@ -1711,7 +1715,7 @@
this.msg.BankList[0].Fee = parseFloat(this.msg.BankList[0].ybFee);
this.$forceUpdate();
},
chages(){
chages() {
this.$forceUpdate()
},
......@@ -1772,9 +1776,9 @@
if (res.data.resultCode == 1) {
let data = res.data.data;
this.msg = JSON.parse(JSON.stringify(data));
this.msg.SigningCustomerId = data.SigningCustomerId?Number(data.SigningCustomerId):''
this.msg.DepositCustomerId = data.DepositCustomerId?Number(data.DepositCustomerId):''
if(this.msg.DepositCustomerId) this.isDepositCustomer = true
this.msg.SigningCustomerId = data.SigningCustomerId ? Number(data.SigningCustomerId) : ''
this.msg.DepositCustomerId = data.DepositCustomerId ? Number(data.DepositCustomerId) : ''
if (this.msg.DepositCustomerId) this.isDepositCustomer = true
let obj = {
AccountId: '',
CurrencyId: '',
......@@ -1902,24 +1906,24 @@
}, err => {})
},
admin_get_DepartmentGetList(Bid, T) { // 获取部门
if(this.bankType){
this.getAccountList(this.bankType,1)
if (this.bankType) {
this.getAccountList(this.bankType, 1)
}
this.msg.detailList.forEach(x=>{
this.msg.detailList.forEach(x => {
x.Rate = ''
})
this.detailList.Rate = ''
let isShow = true
if(this.msg.RB_Branch_Id){
this.companyList.forEach(item=>{
if(this.msg.RB_Branch_Id==item.Id&&item.StandardCurrencyId>0){
if (this.msg.RB_Branch_Id) {
this.companyList.forEach(item => {
if (this.msg.RB_Branch_Id == item.Id && item.StandardCurrencyId > 0) {
this.StandardCurrencyId = item.StandardCurrencyId
this.StandardCurrencyName = item.StandardCurrencyName
isShow = false
}
})
}
if(isShow){
if (isShow) {
this.StandardCurrencyId = -1
this.StandardCurrencyName = ''
}
......@@ -1937,25 +1941,25 @@
}
}, err => {})
},
getSigningCustomerId(type){
getSigningCustomerId(type) {
// 1 签约客户 2 预存客户抵用
if(type==1){
if(!this.msg.SigningCustomerId){
if (type == 1) {
if (!this.msg.SigningCustomerId) {
this.ContractCustomer = null
}
this.CustomerIdList.forEach(item=>{
if(item.customerId==this.msg.SigningCustomerId){
this.CustomerIdList.forEach(item => {
if (item.customerId == this.msg.SigningCustomerId) {
this.ContractCustomer = item
}
})
this.msg.DepositCustomerId = ''
this.DepositCustomer = null
}else if(type==2){
if(!this.msg.DepositCustomerId){
} else if (type == 2) {
if (!this.msg.DepositCustomerId) {
this.DepositCustomer = null
}
this.StoredCustomerList.forEach(item=>{
if(item.customerId==this.msg.DepositCustomerId){
this.StoredCustomerList.forEach(item => {
if (item.customerId == this.msg.DepositCustomerId) {
this.DepositCustomer = item
}
})
......@@ -1965,24 +1969,27 @@
},
getCustomerIdList() {
this.apipost(
"app_today_visit_GetMySigningCustomerList",
{pageIndex: 1,pageSize: 1000,CustomerStatus: 0},
res => {
if (res.data.resultCode == 1) {
"app_today_visit_GetMySigningCustomerList", {
pageIndex: 1,
pageSize: 1000,
CustomerStatus: 0
},
res => {
if (res.data.resultCode == 1) {
this.CustomerIdList = res.data.data.signingList;
this.StoredCustomerList = res.data.data.depositList
if(this.msg.SigningCustomerId||this.msg.DepositCustomerId){
let type = this.msg.SigningCustomerId?1:2
if (this.msg.SigningCustomerId || this.msg.DepositCustomerId) {
let type = this.msg.SigningCustomerId ? 1 : 2
this.getSigningCustomerId(type)
}
} else {
this.loading = false;
this.$message.error(res.data.message);
}
},
err => {},
);
},
} else {
this.loading = false;
this.$message.error(res.data.message);
}
},
err => {},
);
},
getCompany() { // 获取公司
this.apipost('admin_get_BranchGetList', this.companyMsg, res => {
let data = res.data.data;
......@@ -2006,14 +2013,14 @@
});
}
this.companyList = data;
if(this.msg.RB_Branch_Id){
this.companyList.forEach(item=>{
if(this.msg.RB_Branch_Id==item.Id&&item.StandardCurrencyId>0){
this.StandardCurrencyId = item.StandardCurrencyId
this.StandardCurrencyName = item.StandardCurrencyName
}
})
}
if (this.msg.RB_Branch_Id) {
this.companyList.forEach(item => {
if (this.msg.RB_Branch_Id == item.Id && item.StandardCurrencyId > 0) {
this.StandardCurrencyId = item.StandardCurrencyId
this.StandardCurrencyName = item.StandardCurrencyName
}
})
}
if (!Status) {
let id = this.$route.query.id;
this.apipost('FinancialFlowTemplate_post_GetTemplateBranch', {
......@@ -2044,18 +2051,19 @@
this.tradeWay = this.$route.query.tradeWay ? this.$route.query.tradeWay : 0;
this.platformAccount = this.$route.query.platformAccount ? this.$route.query.platformAccount : 0;
// crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){
if (this.$route.query.crmOrderObj) {
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj);
}else if(this.$route.query.tradeObj){//同业参数
} else if (this.$route.query.tradeObj) { //同业参数
this.tradeObj = JSON.parse(this.$route.query.tradeObj);
}else{
} else {
this.orderObj = this.$route.query.orderObj ? JSON.parse(this.$route.query.orderObj) : null;
if(this.orderObj&&this.orderObj.Money){
if (this.orderObj && this.orderObj.Money) {
this.detailList.UnitPrice = this.orderObj.Money
}
}
let TCID = (this.orderObj && this.orderObj.TCIDList && this.orderObj.TCIDList.length>0) ? this.orderObj.TCIDList[0] : 0
let TCID = (this.orderObj && this.orderObj.TCIDList && this.orderObj.TCIDList.length > 0) ? this.orderObj
.TCIDList[0] : 0
this.TCID = TCID
this.Handmsg = this.$route.query.Handmsg ? JSON.parse(this.$route.query.Handmsg) : null;
......
......@@ -107,7 +107,7 @@
<th width="110">
配置数量
</th>
<th width="400">
<th width="500">
票务备注
</th>
</tr>
......@@ -124,7 +124,7 @@
</el-select>
</td>
<td rowspan="2">
<el-select class="w80" filterable v-model="item.UnionCityId" :disabled="true">
<el-select class="w80" filterable v-model="item.UnionCityId">
<el-option label='请选择' :value="selectDefauleValue"></el-option>
<el-option v-for="subItem in cityList" :label='subItem.Name' :value='subItem.ID'
:key="subItem.subCode">
......@@ -138,7 +138,7 @@
去程
</td>
<td>
<el-select class="w95" filterable v-model="item.DayNum" :disabled="true">
<el-select class="w95" filterable v-model="item.DayNum">
<el-option v-for="subItem in DayList" :label='subItem.Name' :value='subItem.ID'
:key="subItem.subCode">
</el-option>
......@@ -163,7 +163,7 @@
</td>
<td rowspan="2">
<el-checkbox v-model="item.IsStay" :checked="item.IsStay===CheckedVaule" :true-label="CheckedVaule"
:false-label="UnCheckedVaule" :disabled="true"></el-checkbox>
:false-label="UnCheckedVaule"></el-checkbox>
</td>
<td>
<el-input class="w95" v-model="item.AddGoCostPrice"
......@@ -181,7 +181,7 @@
<tr>
<td>返程</td>
<td>
<el-select class="w95" filterable v-model="item.BackDayNum" :disabled="true">
<el-select class="w95" filterable v-model="item.BackDayNum">
<el-option v-for="subItem in DayList" :label='subItem.Name' :value='subItem.ID'
:key="subItem.subCode">
</el-option>
......
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