From 5c8906cc4aaa7fcf70ee37de2dd1069161d80a61 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期五, 24 十一月 2023 14:08:19 +0800 Subject: [PATCH] 收款明细页面及对接接口、详情页面 --- pages/home/home.vue | 34 ++++++++++++++++++++++++++++++---- 1 files changed, 30 insertions(+), 4 deletions(-) diff --git a/pages/home/home.vue b/pages/home/home.vue index 8676b1f..3d73838 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -19,7 +19,7 @@ </view> </template> <template v-slot:center> - <view class="center-container"> + <view class="center-container" @click="() => shenqingDetail(item)"> <view class="center-content__one center-margin"> <view class=""> <text>鎵�灞炴祦绋嬶細{{ item.processName }}</text> @@ -102,7 +102,7 @@ </view> </template> <template v-slot:center> - <view class="center-container"> + <view class="center-container" @click="() => daibanDetail(item)"> <view class="center-content__one center-margin"> <view class=""> <text>浠诲姟鍚嶇О锛歿{ item.name || '' }}</text> @@ -156,7 +156,7 @@ </view> </template> <template v-slot:center> - <view class="center-container"> + <view class="center-container" @click="() => shenqingDetail(item)"> <view class="center-content__one center-margin"> <view> <text>浠诲姟鍚嶇О锛歿{ item.name }}</text> @@ -491,6 +491,32 @@ this.doneList(); // 鎴戠殑宸插姙 this.xscarshippingdayplan(); // 鏃ヨ鍒� }, + //浠e姙璇︽儏 + daibanDetail(item) { + if(item?.actBusiness?.actType == 'Offsetting') { //鏀舵 actType = 鈥極ffsetting鈥� + uni.navigateTo({ + url: `/pages/payment-form-data/payment-form-data?id=${item.tableId}`, + + }) + }else if(item?.actBusiness?.actType == 'WAY_BILL') { + uni.navigateTo({ + url: `/pages/new-application-form-data/new-application-form-data?id=${item.tableId}` + }) + } + }, + //浠e姙璇︽儏 + shenqingDetail(item) { + if(item.actType == 'Offsetting') { //鏀舵 actType = 鈥極ffsetting鈥� + uni.navigateTo({ + url: `/pages/payment-form-data/payment-form-data?id=${item.tableId}`, + + }) + }else if(item.actType == 'WAY_BILL') { + uni.navigateTo({ + url: `/pages/new-application-form-data/new-application-form-data?id=${item.tableId}` + }) + } + }, getUserInfo() { this.$reqGet('getUserInfo').then(res => { if (res.code == 0) { @@ -1110,4 +1136,4 @@ } } } -</style> +</style> -- Gitblit v1.9.1