Commit ad53fcf5 authored by youjie's avatar youjie

no message

parent f4a52edc
......@@ -933,6 +933,12 @@
placeholder="请输入邮寄地址" />
</el-form-item>
</li>
<li v-if="msgParameter.MailingState == 2">
<el-form-item label="邮寄费" prop="MailingMoney">
<el-input type="Number" style="border-radius: 3px;" v-model="msgParameter.MailingMoney"
placeholder="请输入邮寄费" />
</el-form-item>
</li>
<li class="bottom">
<el-form-item label="性别" prop="Sex">
<el-radio v-model="msgParameter.Sex" label="1"></el-radio>
......@@ -1051,6 +1057,9 @@ export default {
message: '请输入邮寄地址',
trigger: 'blur'
}],
MailingMoney: [
{ required: true, message: "请输入邮寄费用", trigger: "blur" },
],
},
outerVisible: false,
rules: {
......@@ -1173,10 +1182,10 @@ export default {
if(this.pagesTitle=='OP'){
m = {
OrderId: this.msgParameter.OrderId,
MailingMoney: this.msgParameter.MailingState==2?this.msgParameter.MailingMoney:0,
MailingMoney: this.msgParameter.MailingMoney,
MailingState: this.msgParameter.MailingState,//邮寄状态 1自取 2邮寄
MailingAddress: this.msgParameter.MailingAddress,//MailingState =2 填写邮寄
SelffetchAddress: this.msgParameter.MailingState==1?this.msgParameter.SelffetchAddress:'',//自取地址
SelffetchAddress: this.msgParameter.SelffetchAddress,//自取地址
Name: this.msgParameter.Name,
EName: this.msgParameter.EName,
Sex: this.msgParameter.Sex,//1男2女
......@@ -1334,19 +1343,23 @@ export default {
}
},
GetTicketCouponsInfo(){
this.apipost('ticket_post_GetTicketCouponsSelffetchAddress', {
this.apipost('ticket_post_GetTicketCouponsInfo',{
CouponsId: this.msgParameter.CouponsId,
OpenTime: this.msgParameter.UseDate,
},
res => {
res => {
this.loading3 = false
if (res.data.resultCode == 1) {
this.msgParameter.SelffetchAddress = res.data.data.SelffetchAddress
let arr = res.data.data.TicketPriceList.sort((a,b)=>{
return a.MailingMoney-b.MailingMoney
})
this.msgParameter.MailingMoney = this.msgParameter.MailingMoney?this.msgParameter.MailingMoney:arr[0].MailingMoney
}
},
err => {
this.Error(err.message)
});
})
},
clickRightButtom(item, type) {
// 0取消订单 1确认订单 2已邮寄 3设置自提地址 4收损
......
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