no message
This commit is contained in:
@@ -194,10 +194,14 @@ export default {
|
|||||||
selectAddress: {},// 收件地址选择
|
selectAddress: {},// 收件地址选择
|
||||||
wayOption: [],
|
wayOption: [],
|
||||||
isShowBalance: false,
|
isShowBalance: false,
|
||||||
|
ji:0
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
const ids = option.ids;
|
const ids = option.ids;
|
||||||
|
if(option.ji){
|
||||||
|
this.ji = 1;
|
||||||
|
}
|
||||||
if (ids && ids !== "null") {
|
if (ids && ids !== "null") {
|
||||||
this.ids = ids;
|
this.ids = ids;
|
||||||
this.getOrder();
|
this.getOrder();
|
||||||
@@ -235,7 +239,9 @@ export default {
|
|||||||
},
|
},
|
||||||
async getWayOption() {
|
async getWayOption() {
|
||||||
let parmas = {
|
let parmas = {
|
||||||
type:4
|
}
|
||||||
|
if(this.ji){
|
||||||
|
params['type'] = 4;
|
||||||
}
|
}
|
||||||
const result = await getSupportPay(parmas);
|
const result = await getSupportPay(parmas);
|
||||||
if (result && result.bizcode === 100) {
|
if (result && result.bizcode === 100) {
|
||||||
|
|||||||
@@ -504,7 +504,7 @@ export default {
|
|||||||
if (resp && resp.bizcode === 100) {
|
if (resp && resp.bizcode === 100) {
|
||||||
if (isBy) {
|
if (isBy) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/order_package/order_submit/order_submit?ids=' + resp.data,
|
url: `/pages/order_package/order_submit/order_submit?ids=${resp.data}&ji=${ji}`,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|||||||
Reference in New Issue
Block a user