feat(订单页面): 开票
This commit is contained in:
@@ -136,7 +136,9 @@
|
||||
store_id: uni.getStorageSync('store_id') || '11001',
|
||||
}
|
||||
}).then((res) => {
|
||||
if (res.data.errcode == 0) {
|
||||
const ok = res.data && (res.data.code === 0 || res.data.errcode === 0)
|
||||
if (ok) {
|
||||
uni.setStorageSync('delivery_method', 0)
|
||||
uni.showLoading({
|
||||
title: "加载中"
|
||||
});
|
||||
@@ -150,6 +152,12 @@
|
||||
});
|
||||
|
||||
}, 1300)
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: (res.data && (res.data.message || res.data.msg)) || '更新失败',
|
||||
icon: 'none',
|
||||
duration: 1500
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user