Commit f46f7e92 authored by youjie's avatar youjie

no message

parent 6ddbf1c2
...@@ -350,26 +350,28 @@ ...@@ -350,26 +350,28 @@
</div> </div>
</div> </div>
<div class="text-subtitle1 q-py-md text-weight-bold">行李数量</div> <template v-if="details.CarType!=3">
<div class="row q-col-gutter-md"> <div class="text-subtitle1 q-py-md text-weight-bold">行李数量</div>
<div :class="filedGuestWidth"> <div class="row q-col-gutter-md">
<q-input <div :class="filedGuestWidth">
type="Number" <q-input
standout type="Number"
v-model="parameters.HandLuggageNum" standout
label="手提行李" v-model="parameters.HandLuggageNum"
/> label="手提行李"
</div> />
<div :class="filedGuestWidth"> </div>
<q-input <div :class="filedGuestWidth">
type="Number" <q-input
standout type="Number"
v-model="parameters.RegisteredLuggageNum" standout
label="托运行李" v-model="parameters.RegisteredLuggageNum"
/> label="托运行李"
</div> />
</div>
</div>
</div>
</template>
</div> </div>
<div class="text-subtitle1 q-my-md text-weight-bold">特殊需求備註:</div> <div class="text-subtitle1 q-my-md text-weight-bold">特殊需求備註:</div>
<q-input standout v-model="parameters.Remark" input-style="height:170px;" type="textarea" placeholder="此欄位僅限資料備註。不在商品規範內的個人需求,不保證提供" maxlength="200" counter /> <q-input standout v-model="parameters.Remark" input-style="height:170px;" type="textarea" placeholder="此欄位僅限資料備註。不在商品規範內的個人需求,不保證提供" maxlength="200" counter />
...@@ -463,8 +465,11 @@ ...@@ -463,8 +465,11 @@
<div class="text-h6 text-weight-bolder text-primary product-price">CNY {{ moneyFormat(sumPrice,2) }}</div> <div class="text-h6 text-weight-bolder text-primary product-price">CNY {{ moneyFormat(sumPrice,2) }}</div>
</div> </div>
</div> </div>
<div class="text-right q-mt-md"> <div class="text-right q-mt-md" v-if="step!=3">
<q-btn unelevated color="primary" :loading="loading" label="立即支付" @click="submit()"/> <q-btn v-if="step!=3" unelevated color="primary"
:loading="loading" :label="step!=3?'立即支付':'已支付'" @click="submit()"
:disable="step!=3&&loading"/>
<q-btn v-else unelevated color="primary" label=""/>
</div> </div>
</div> </div>
...@@ -587,7 +592,8 @@ ...@@ -587,7 +592,8 @@
created() {}, created() {},
mounted() { mounted() {
if(this.$route.query.OrderDate){ if(this.$route.query.OrderDate){
let OrderDate = JSON.parse(this.$route.query.OrderDate) let obj = decodeURIComponent(this.$route.query.OrderDate)
let OrderDate = JSON.parse(obj)
this.CarObj = OrderDate.CarObj,//车型 this.CarObj = OrderDate.CarObj,//车型
this.AirportObj = OrderDate.AirportObj,//机场 this.AirportObj = OrderDate.AirportObj,//机场
this.calculationAmount = OrderDate.calculationAmount,//日期 this.calculationAmount = OrderDate.calculationAmount,//日期
...@@ -614,7 +620,6 @@ ...@@ -614,7 +620,6 @@
}, },
methods: { methods: {
submit(){ submit(){
console.log(this.parameters,'======')
let flag = false let flag = false
this.$refs.mail.validate() this.$refs.mail.validate()
...@@ -662,7 +667,7 @@ ...@@ -662,7 +667,7 @@
// this.$refs.myform.resetValidation() // this.$refs.myform.resetValidation()
if (r.data.resultCode == 1) { if (r.data.resultCode == 1) {
this.step = 2 this.step = 2
let ErpOrderId = r.data.data.OrderId let ErpOrderId = r.data.data.Id
this.AddOrderInfo(ErpOrderId) this.AddOrderInfo(ErpOrderId)
}else{ }else{
this.$q.notify({ this.$q.notify({
......
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