Commit a20891ef authored by youjie's avatar youjie

no message

parent d5190dca
......@@ -324,8 +324,8 @@
<div class="flexOne-type">
<b>取票方式:</b>
<div>
<el-radio v-model="msg.MailingState" label="1">自行取票</el-radio>
<el-radio v-model="msg.MailingState" label="2" >邮寄票券</el-radio>
<el-radio v-model="msg.MailingState" label="1" @change="changePeople">自行取票</el-radio>
<el-radio v-model="msg.MailingState" label="2" @change="changePeople">邮寄票券</el-radio>
</div>
</div>
<div class="flexOne-description">
......@@ -409,12 +409,20 @@
</template>
</template>
<div v-else class="noData">没有选择票券</div>
<div class="right-list" v-if="msg.MailingMoney>0&&msg.Money>msg.MailingMoney">
<div>
<el-tag size="mini" type="danger">邮寄费</el-tag>
</div>
<div class="right-list-right">
{{msg.MailingMoney}}
</div>
</div>
</div>
</div>
<div class="right-Money">
<div>
<span>订单总金额:</span>
<b>{{ msg.Money.toFixed(2) }} <span class="fz12">{{types[0].CurrencyName}}</span></b>
<b>{{ msg.Money>msg.MailingMoney?msg.Money.toFixed(2):0.0 }} <span class="fz12" v-if="types&&types.length>0">{{types[0].CurrencyName}}</span></b>
</div>
</div>
<div class="right-Submit">
......@@ -447,6 +455,7 @@
Remark: '',
MailingState: '1',//邮寄状态 1自取 2邮寄
MailingAddress: '',//MailingState =2 填写邮寄
MailingMoney: null,
UseDate:'',//门票日期
Name:'',
EName:'',
......@@ -506,6 +515,7 @@
setFormMsg(){
if(this.msg.MailingState=='1'){
this.msg.MailingAddress = ''
this.msg.MailingMoney = null
}
this.msg.DetailList = []
this.types.forEach(x=>{
......@@ -552,11 +562,18 @@
},
calcMoneyHandler(){
this.msg.Money=0.0
let Money= 0
if(this.msg.MailingState == '2'){
this.msg.MailingMoney = this.detailsObj.MailingMoney
}else{
this.msg.MailingMoney = 0
}
this.types.forEach(x=>{
if(x.checked){
this.msg.Money+=x.B2BPrice*x.num
Money+=x.B2BPrice*x.num
}
})
this.msg.Money = Number(Money)+Number(this.msg.MailingMoney)
},
changeDetailListHandler(e) {
if (e.checked) {
......
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