|
|
@@ -36,9 +36,9 @@
|
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
<view class="tui-title ">结算方式</view>
|
|
|
- <button class="admin-button-com mini-btn" :class="payType==res?'blue':'default'" style="margin-right: 5rpx"
|
|
|
- @tap="payType=res" v-for="(res,i) in getDictionariesInfo.payWayFullName">
|
|
|
- {{ res }}
|
|
|
+ <button class="admin-button-com mini-btn" :class="payType==res.id?'blue':'default'" style="margin-right: 5rpx"
|
|
|
+ @tap="payType=res.id" v-for="(res,i) in getDictionariesInfo.htPayWayOption">
|
|
|
+ {{ res.name }}
|
|
|
</button>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
@@ -144,24 +144,7 @@ export default {
|
|
|
createPxClassOrder(options).then(res => {
|
|
|
// this.$msg("下单成功");
|
|
|
uni.removeStorageSync('affirmPxClass')
|
|
|
- return
|
|
|
- const {
|
|
|
- data: {id, orderSn}
|
|
|
- } = res;
|
|
|
- // 如果是客户跳转到客户成功页pagesClient/official/clientApply 供货员工下单到 /admin/billing/result
|
|
|
- let url =
|
|
|
- this.getLoginInfo.identity == "1"
|
|
|
- ? "pagesClient/official/clientApply"
|
|
|
- : `/admin/billing/result?orderId=${id}&orderSn=${orderSn}`;
|
|
|
- uni.redirectTo({
|
|
|
- url: url,
|
|
|
- success: result => {
|
|
|
- },
|
|
|
- fail: () => {
|
|
|
- },
|
|
|
- complete: () => {
|
|
|
- }
|
|
|
- });
|
|
|
+ uni.redirectTo({url:'/common/pageSuccess?title=开单成功'})
|
|
|
});
|
|
|
// self.formSubmit();
|
|
|
}
|