调整提交数据
This commit is contained in:
@@ -164,9 +164,6 @@ const amountType = (bigFive) => {
|
||||
|
||||
// 办理业务
|
||||
const bigfiveStore = data => {
|
||||
|
||||
console.log(data)
|
||||
|
||||
return request({
|
||||
url : "bigfive/order/store",
|
||||
method : "POST",
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
this.needAmount = parentData.need_amount
|
||||
this.pickerArr = parentData.child.data
|
||||
this.pickertype = parentData.type
|
||||
this.selectP = parentData.select_p
|
||||
this.selectP = parentData.select_p || []
|
||||
},
|
||||
methods: {
|
||||
// 获取标的额
|
||||
@@ -121,7 +121,10 @@
|
||||
let { type, need_amount, select_p } = res;
|
||||
this.pickertype = type
|
||||
this.needAmount = need_amount
|
||||
this.selectP = select_p
|
||||
|
||||
console.log(select_p)
|
||||
|
||||
this.selectP = select_p || []
|
||||
if(type == 'select'){
|
||||
this.settleInfo()
|
||||
}
|
||||
@@ -180,8 +183,9 @@
|
||||
amount : amount,
|
||||
mobile : phone,
|
||||
price : pickertype == 'free' ? priceValue : price,
|
||||
select_key : selectP[selectPIndex].key
|
||||
select_key : selectP.length > 0 ? selectP[selectPIndex].key : ''
|
||||
}
|
||||
|
||||
bigfiveStore(params).then(res => {
|
||||
let { order_type, order_id, order_no } = res;
|
||||
this.$Router.replace({
|
||||
|
||||
Reference in New Issue
Block a user