Sfoglia il codice sorgente

储值卡转记账卡选择产品

yxb
DESKTOP-2IO5MST\huting 1 anno fa
parent
commit
c6d7145809

+ 7
- 0
pages.json Vedi File

@@ -860,6 +860,13 @@
"enablePullDownRefresh": false
}
},
{
"path": "to-bookkeeping-card/choice-product-new",
"style": {
"navigationBarTitleText": "储值卡转记账卡-选择产品",
"enablePullDownRefresh": false
}
},
{
"path": "to-bookkeeping-card/detail",
"style": {

+ 434
- 0
subpackage/after-sale/to-bookkeeping-card/choice-product-new.vue Vedi File

@@ -0,0 +1,434 @@
<template>
<!-- <navBar title="选择产品" :scrollTop="scrollTop"></navBar>
<navBgCar></navBgCar> -->
<view class="content-value">
<view @click="savaHandle(item)" class="ul-item" v-for="(item, index) in state.dataArray" :key="index">
<image style="width: 100%; height: 170rpx; border-radius: 20rpx"
:src="`${$imgUrl}applyCard/product-bg.png`"></image>
<view class="item-value">
<image class="icon-tip"
:src="state.sysType === 'WECHAT'?`${$imgUrl}applyCard/wechat.png` : `${$imgUrl}applyCard/alibaba.png`">
</image>
<view class="content">
<view class="title">
{{ item.promoteName }}
</view>
<!-- 1记账卡2储值卡3记存卡 -->
<!-- <view style="margin-top: 15rpx" class="tip" v-if="item.cardType=='1'">
记账卡
</view> -->
<view style="margin-top: 15rpx" class="tip">
{{ item.cardTypeArr }}
</view>
</view>
<view class="money">
¥:{{ item.fee * 0.01 }}
</view>
</view>
</view>
<view class="bottomTip"> 到底啦!敬请期待其他产品! </view>
</view>
<u-popup mode="center" v-model="state.choiceCardShow" closeable>
<view class="squire">
<view class="mask-title" :style="{ '--color': color }">选择办理卡类型</view>

<view class="as-layout-horizontal">
<view v-for="(item, index) in state.radiolist1" :key="index" :label="item.disabled" :name="item.name"
@click="radioChange(item.name)"
style="width: 100%;display: flex;align-items: center;margin-bottom: 30rpx;">
<view class="as-layout-vertical as-gravity-center">
<image style="width: 140rpx; height: 100rpx; border-radius: 20rpx;margin-right: 20rpx;"
:src="`${$imgUrl}card2.png`" mode="aspectFill"></image>
<view style="margin-top: 20rpx;">
{{item.name}}
</view>
</view>
</view>
</view>

</view>
</u-popup>
</template>

<script setup lang="ts">
import { onLoad, onPageScroll } from "@dcloudio/uni-app";
import { reactive, ref } from "vue";
import { etcQueryProduct, productReCode } from "@/utils/network/api.js";
import { request } from "@/utils/network/request.js";
import { stringToJson } from "@/utils/network/encryption";
import { fileURL } from "@/datas/fileURL.js";
// import navBgCar from "./components/nav-bg-car1";
// import navBar from "@/components/nav-bar/nav-bar2.vue";
import { getItem, StorageKeys, setItem } from "@/utils/storage.ts";
import { msg } from "@/utils/utils";
import {
navTo
} from "@/utils/utils"
const imgURL = `${fileURL}image/`;
// import { setItem } from "@/utils/storage";

const scrollTop = ref(0); //滚动距离
// 单选默认数据
// let flag = ref(true)
// 单选
const radioChange = (n) => {
console.log('radioChange', n);
if (n == '记账卡') {
state.isValueCard = 2
} else if (n == '储值卡') {
state.isValueCard = 1
} else {
state.isValueCard = 3
}
uni.redirectTo({
url: `/subpackage/orders/essential-information?promoteId=${getItem("promoteId")}&userType=${state.userType}&type=${state.type}&isSign=${state.isSign}&isValueCard=${state.isValueCard}`,
});
}
const savaHandle = (val) => {
console.log("vAL", val)
navTo(
`/subpackage/after-sale/to-bookkeeping-card/mailing_information?orderId=${state.orderId}&&applyId=${state.applyId}&&productId=${val.promoteId}`
)
return;
setItem("clientFee", val.clientFee);
setItem("promoteId", val.promoteId);
setItem("isValueCard", val.isValueCard);
state.isSign = val.isSign;
// 判断是几张卡
console.log("val.cardTypeArr.split(", ")", val.cardTypeArr.split(","))
// if (val.promoteName.indexOf('选装') != -1) {
// if (val.cardTypeArr.split(",")[0] == "记账卡") {
// state.isValueCard = 2
// } else if (val.cardTypeArr.split(",")[0] == '储值卡') {
// state.isValueCard = 1
// } else {
// state.isValueCard = 3
// }
// uni.redirectTo({
// url: `/subpackage/orders/verify/verify-phone/verify-phone?promoteId=${getItem("promoteId")}&userType=${state.userType}&type=${state.type}&isValueCard=${state.isValueCard}`,
// });
// return
// }

if (val.cardTypeArr.split(",").length == 1) {
if (val.cardTypeArr.split(",")[0] == "记账卡") {
state.isValueCard = 2
} else if (val.cardTypeArr.split(",")[0] == '储值卡') {
state.isValueCard = 1
} else {
state.isValueCard = 3
}
uni.redirectTo({
url: `/subpackage/orders/essential-information?promoteId=${getItem("promoteId")}&userType=${state.userType}&type=${state.type}&isValueCard=${state.isValueCard}`,
});
} else {
state.radiolist1 = [];
// 处理卡的数据
for (var i = 0; i < val.cardTypeArr.split(",").length; i++) {
const obj = {};
obj["name"] = val.cardTypeArr.split(",")[i];
obj["disabled"] = false;
state.radiolist1.push(obj)
}
state.choiceCardShow = true;
console.log("state.radiolist1", state.radiolist1)
}
};

onLoad((option : any) => {
console.log("option选择产品", option)
// #ifdef MP-ALIPAY
state.sysType = 'ALI';
// #endif
// #ifdef MP-WEIXIN
state.sysType = 'WECHAT';
// #endif
// state.orderId = option.orderId;
// state.userType = option.userType;
// state.vehiclePlateColor = option.vehiclePlateColor;
// state.userType = option.userType;
state.orderId = option.orderId;
state.applyId = option.applyId;
state.type = option.type;
var data = {
type: state.type,
source: state.sysType //请求方来源
};
const options = {
type: 2,
data: data,
method: "POST",
showLoading: true,
};
request(etcQueryProduct, options).then((res) => {
const data = stringToJson(res.bizContent);
console.log("csmsnPromoteDistPro", data.csmsnPromoteDistPro);
state.dataArray = data.csmsnPromoteDistPro ? data.csmsnPromoteDistPro : [];
for (var i = 0; i < state.dataArray.length; i++) {
const cardTypeArr = []
for (var j = 0; j < state.dataArray[i].cardType.length; j++) {
if (state.dataArray[i].cardType[j] == '1') {
cardTypeArr.push('储值卡')
} else if (state.dataArray[i].cardType[j] == '2') {
cardTypeArr.push('记账卡')
} else if (state.dataArray[i].cardType[j] == '3') {
cardTypeArr.push('预存卡')
}
}
state.dataArray[i].cardTypeArr = cardTypeArr.toString()
}
state.dataArray = state.dataArray.filter(function (e) {
console.log("e", e.cardType)
for (var i = 0; i < e.cardType.length; i++) {
if (e.cardType[i] == "2") {
return e.cardType;
}
}
});
console.log("state.dataArray", state.dataArray)
});
});

//监听页面滚动
onPageScroll((e) => {
scrollTop.value = e.scrollTop;
});

const productReCodeAction = (id) => {
var data = {
productId: id,
orderId: state.orderId,
};
const options = {
type: 2,
data: data,
method: "POST",
showLoading: true,
};

return new Promise(async (resolve, reject) => {
const res = await request(productReCode, options);
const data = stringToJson(res.bizContent);
resolve(data);
}).catch((error) => {
reject(error);
});
};

const state = reactive({
applyId: "",
isValueCard: 1, //卡的类型
radiolist1: [], //选择卡的数据列表
choiceCardShow: false, //选择卡的弹出框
isSign: '',
sysType: "",
orderId: "",
userType: 1, //1 个人 2单位
type: 0, //
vehiclePlateColor: "",
data: {
show: false,
src: imgURL + "applyCard/edit.png",
},
dataArray: [],
list: [
{
bg: imgURL + "applyCard/product-bg.png",
icon: imgURL + "applyCard/wechat.png",
title: "【货车】微信车主服务",
tip: "绑定微信支付,无需绑定银行卡",
},
],
});
</script>

<style lang="scss" scoped>
::v-deep .u-radio {
display: flex !important;
align-items: center !important;
float: none !important;
}

::v-deep .u-icon__icon {
top: -4px !important;
}

.bottomTip {
margin-top: 100rpx;
text-align: center;
font-size: 28rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #b3b3b3;
}

.content-value {
position: relative;
// margin-top: -50rpx;
padding: 0rpx 30rpx;
position: relative;

.img-pos {
position: absolute;
left: 500rpx;
top: -38rpx;
right: 50rpx;

.img-flex {
display: flex;
justify-content: space-between;
align-items: center;

.car-img {
width: 86rpx;
height: 42rpx;
}

.flag-img {
width: 30rpx;
height: 35rpx;
}
}
}
}

.flex {
display: flex;
align-items: center;
}

.action {
margin-top: 30rpx;
padding-left: 20rpx;
padding-right: 20rpx;
padding-bottom: 30rpx;

.button {
height: 80rpx;
background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
border-radius: 40rpx;
font-size: 32rpx;
font-weight: 400;
color: #ffffff;
line-height: 80rpx;
}
}

.action-btn {
margin-left: 45rpx;
width: 121rpx;
height: 61rpx;
border: 1px solid rgba(255, 255, 255, 1);
border-radius: 30rpx;
background: rgba(255, 255, 255, 0.2);

text-align: center;
font-size: 30rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
line-height: 61rpx;
}

.tag1 {
padding: 5rpx;
background: rgba(0, 179, 139, 0.5);
border-radius: 6rpx;
font-size: 22rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}

.tag3 {
padding: 5rpx;
background: rgba(139, 112, 228, 0.5);
border-radius: 6rpx;
font-size: 22rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}

.tag2 {
padding: 5rpx;
background: rgba(249, 97, 60, 0.5);
border-radius: 6rpx;
font-size: 22rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}

.ul-item {
padding: 5px 20rpx;
display: flex;
align-items: center;

.item-value {
padding: 20rpx;
position: absolute;
display: flex;
align-items: center;
// justify-content: space-around;
width: 80%;

.content {
width: 51%;

.title {
font-size: 32rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;

}

.tip {
font-size: 24rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
}
}

.icon-tip {
width: 100rpx;
height: 100rpx;
}

.content {
margin-left: 40rpx;
}
}

.money {
color: white;
// float: right;
}

::v-deep .u-mode-center-box {
border-radius: 10rpx;
}

.squire {
padding: 30rpx 30rpx 50rpx 50rpx;
}

.mask-close {
text-align: right;
}

.icon-closed {
width: 48rpx;
height: 48rpx;
}

.mask-title {
text-align: center;
font-size: 32rpx;
color: $uni-text-color-black;
margin-bottom: 50rpx;
}
</style>

+ 236
- 243
subpackage/after-sale/to-bookkeeping-card/choice-product.vue Vedi File

@@ -1,250 +1,243 @@
<template>
<!-- <navBar title="选择产品"></navBar> -->
<!-- <navBgCar></navBgCar> -->
<view class="content-value">
<view
@click="savaHandle(item)"
class="ul-item"
v-for="(item, index) in state.list"
:key="index"
>
<image
style="width: 100%; height: 170rpx; background-color: #eeeeee"
:src="`${$imgUrl}applyCard/product-bg.png`"
></image>
<view class="item-value">
<image class="icon-tip" :src="`${$imgUrl}applyCard/wechat.png`"></image>
<view class="content">
<view class="title">
{{ item.title }}
</view>
<view style="margin-top: 15rpx" class="tip">
{{ item.tip }}
</view>
</view>
</view>
</view>
<view class="bottomTip"> 到底啦!敬请期待其他产品! </view>
</view>
<!-- <navBar title="选择产品"></navBar> -->
<!-- <navBgCar></navBgCar> -->
<view class="content-value">
<view @click="savaHandle(item)" class="ul-item" v-for="(item, index) in state.list" :key="index">
<image style="width: 100%; height: 170rpx; background-color: #eeeeee"
:src="`${$imgUrl}applyCard/product-bg.png`"></image>
<view class="item-value">
<image class="icon-tip" :src="`${$imgUrl}applyCard/wechat.png`"></image>
<view class="content">
<view class="title">
{{ item.title }}
</view>
<view style="margin-top: 15rpx" class="tip">
{{ item.tip }}
</view>
</view>
</view>
</view>
<view class="bottomTip"> 到底啦!敬请期待其他产品! </view>
</view>
</template>

<script setup lang="ts">
import { onLoad, onShow } from "@dcloudio/uni-app";
import { reactive } from "vue";
import { etcQueryProduct } from "@/utils/network/api.js";
import { request } from "@/utils/network/request.js";
import { stringToJson } from "@/utils/network/encryption";
import { fileURL } from "@/datas/fileURL.js";
// import navBgCar from "./components/nav-bg-car5";
// import navBar from "../../components/nav-bar/nav-bar2.vue"
import { getItem, StorageKeys } from "@/utils/storage.ts";
import { msg } from "@/utils/utils";
const imgURL = `${fileURL}image/`;
const savaHandle = (val) => {
// uni.navigateTo({
// url: `/pages/applyCard/product-detail?orderId=${state.orderId}&&clientFee=${val.clientFee}`
// })
uni.redirectTo({
url: "/subpackage/after-sale/to-bookkeeping-card/detail",
});
};
onLoad((option: any) => {
state.orderId = "20230226185753476388740";
var data = {
orderId: state.orderId,
};
const options = {
type: 2,
data: data,
method: "POST",
showLoading: true,
};
request(etcQueryProduct, options).then((res) => {
const data = stringToJson(res.bizContent);
state.dataArray = data;
});
});
const state = reactive({
orderId: "",
data: {
show: false,
src: imgURL + "applyCard/edit.png",
},
dataArray: [],
list: [
{
bg: imgURL + "applyCard/product-bg.png",
icon: imgURL + "applyCard/wechat.png",
title: "【货车】微信车主服务",
tip: "绑定微信支付,无需绑定银行卡",
},
{
bg: "../../../static/image/jianshe-bg.png",
icon: "../../../static/image/bank1",
title: "【货车】微信车主服务",
tip: "绑定微信支付,无需绑定银行卡",
},
{
bg: "../../../static/image/gongshang-bg.png",
icon: "../../../static/image/bank2",
title: "【货车】微信车主服务",
tip: "绑定微信支付,无需绑定银行卡",
},
],
});
import { onLoad, onShow } from "@dcloudio/uni-app";
import { reactive } from "vue";
import { etcQueryProduct } from "@/utils/network/api.js";
import { request } from "@/utils/network/request.js";
import { stringToJson } from "@/utils/network/encryption";
import { fileURL } from "@/datas/fileURL.js";
// import navBgCar from "./components/nav-bg-car5";
// import navBar from "../../components/nav-bar/nav-bar2.vue"
import { getItem, StorageKeys } from "@/utils/storage.ts";
import { msg } from "@/utils/utils";
const imgURL = `${fileURL}image/`;
const savaHandle = (val) => {
// uni.navigateTo({
// url: `/pages/applyCard/product-detail?orderId=${state.orderId}&&clientFee=${val.clientFee}`
// })
uni.redirectTo({
url: "/subpackage/after-sale/to-bookkeeping-card/detail",
});
};
onLoad((option : any) => {
state.orderId = "20230226185753476388740";
var data = {
orderId: state.orderId,
};
const options = {
type: 2,
data: data,
method: "POST",
showLoading: true,
};
request(etcQueryProduct, options).then((res) => {
const data = stringToJson(res.bizContent);
state.dataArray = data;
});
});
const state = reactive({
orderId: "",
data: {
show: false,
src: imgURL + "applyCard/edit.png",
},
dataArray: [],
list: [
{
bg: imgURL + "applyCard/product-bg.png",
icon: imgURL + "applyCard/wechat.png",
title: "【货车】微信车主服务",
tip: "绑定微信支付,无需绑定银行卡",
},
{
bg: "../../../static/image/jianshe-bg.png",
icon: "../../../static/image/bank1",
title: "【货车】微信车主服务",
tip: "绑定微信支付,无需绑定银行卡",
},
{
bg: "../../../static/image/gongshang-bg.png",
icon: "../../../static/image/bank2",
title: "【货车】微信车主服务",
tip: "绑定微信支付,无需绑定银行卡",
},
],
});
</script>

<style lang="scss" scoped>
.bottomTip {
margin-top: 100rpx;
text-align: center;
font-size: 28rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #b3b3b3;
}
.content-value {
position: relative;
// margin-top: -50rpx;
padding: 0rpx 30rpx;
position: relative;
.img-pos {
position: absolute;
left: 500rpx;
top: -38rpx;
right: 50rpx;
.img-flex {
display: flex;
justify-content: space-between;
align-items: center;
.car-img {
width: 86rpx;
height: 42rpx;
}
.flag-img {
width: 30rpx;
height: 35rpx;
}
}
}
}
.flex {
display: flex;
align-items: center;
}
.action {
margin-top: 30rpx;
padding-left: 20rpx;
padding-right: 20rpx;
padding-bottom: 30rpx;
.button {
height: 80rpx;
background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
border-radius: 40rpx;
font-size: 32rpx;
font-weight: 400;
color: #ffffff;
line-height: 80rpx;
}
}
.action-btn {
margin-left: 45rpx;
width: 121rpx;
height: 61rpx;
border: 1px solid rgba(255, 255, 255, 1);
border-radius: 30rpx;
background: rgba(255, 255, 255, 0.2);
text-align: center;
font-size: 30rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
line-height: 61rpx;
}
.tag1 {
padding: 5rpx;
background: rgba(0, 179, 139, 0.5);
border-radius: 6rpx;
font-size: 22rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
.tag3 {
padding: 5rpx;
background: rgba(139, 112, 228, 0.5);
border-radius: 6rpx;
font-size: 22rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
.tag2 {
padding: 5rpx;
background: rgba(249, 97, 60, 0.5);
border-radius: 6rpx;
font-size: 22rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
.ul-item {
padding: 5px 20rpx;
display: flex;
align-items: center;
margin: 30rpx 0;
.item-value {
padding: 20rpx;
position: absolute;
display: flex;
align-items: center;
justify-content: space-around;
.content {
.title {
font-size: 32rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
.tip {
font-size: 24rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
}
}
.icon-tip {
width: 100rpx;
height: 100rpx;
}
.content {
margin-left: 40rpx;
}
}
</style>
.bottomTip {
margin-top: 100rpx;
text-align: center;
font-size: 28rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #b3b3b3;
}
.content-value {
position: relative;
// margin-top: -50rpx;
padding: 0rpx 30rpx;
position: relative;
.img-pos {
position: absolute;
left: 500rpx;
top: -38rpx;
right: 50rpx;
.img-flex {
display: flex;
justify-content: space-between;
align-items: center;
.car-img {
width: 86rpx;
height: 42rpx;
}
.flag-img {
width: 30rpx;
height: 35rpx;
}
}
}
}
.flex {
display: flex;
align-items: center;
}
.action {
margin-top: 30rpx;
padding-left: 20rpx;
padding-right: 20rpx;
padding-bottom: 30rpx;
.button {
height: 80rpx;
background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
border-radius: 40rpx;
font-size: 32rpx;
font-weight: 400;
color: #ffffff;
line-height: 80rpx;
}
}
.action-btn {
margin-left: 45rpx;
width: 121rpx;
height: 61rpx;
border: 1px solid rgba(255, 255, 255, 1);
border-radius: 30rpx;
background: rgba(255, 255, 255, 0.2);
text-align: center;
font-size: 30rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
line-height: 61rpx;
}
.tag1 {
padding: 5rpx;
background: rgba(0, 179, 139, 0.5);
border-radius: 6rpx;
font-size: 22rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
.tag3 {
padding: 5rpx;
background: rgba(139, 112, 228, 0.5);
border-radius: 6rpx;
font-size: 22rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
.tag2 {
padding: 5rpx;
background: rgba(249, 97, 60, 0.5);
border-radius: 6rpx;
font-size: 22rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
.ul-item {
padding: 5px 20rpx;
display: flex;
align-items: center;
margin: 30rpx 0;
.item-value {
padding: 20rpx;
position: absolute;
display: flex;
align-items: center;
justify-content: space-around;
.content {
.title {
font-size: 32rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
.tip {
font-size: 24rpx;
font-family: Microsoft YaHei;
font-weight: 400;
color: #ffffff;
}
}
}
.icon-tip {
width: 100rpx;
height: 100rpx;
}
.content {
margin-left: 40rpx;
}
}
</style>

+ 13
- 7
subpackage/after-sale/to-bookkeeping-card/confirm.vue Vedi File

@@ -107,17 +107,23 @@

/*视图进入后操作*/
onLoad((option) => {
queryOrderDetail(option.id).then((val: any) => {
queryOrderDetail(option.id).then((val : any) => {
state.data = val
})
});
/*下一步*/
const nextACtion = () => {
queryCckChangejzCardAction().then(val => {
navTo(
`/subpackage/after-sale/to-bookkeeping-card/mailing_information?orderId=${state.data.orderId}&&applyId=${val.applyId}`
)
})
// queryCckChangejzCardAction().then(val => {
// // navTo(
// // `/subpackage/after-sale/to-bookkeeping-card/mailing_information?orderId=${state.data.orderId}&&applyId=${val.applyId}`
// // )
navTo(
`/subpackage/after-sale/to-bookkeeping-card/choice-product-new?orderId=${state.data.orderId}&&applyId=${val.applyId}&&type=${state.data.type}`
)
// })
// navTo(
// `/subpackage/after-sale/to-bookkeeping-card/choice-product-new?orderId=1&&applyId=2&&type=2`
// )
}

//申请
@@ -303,4 +309,4 @@
line-height: 80rpx;
}
}
</style>
</style>

+ 14
- 9
subpackage/after-sale/to-bookkeeping-card/mailing_information.vue Vedi File

@@ -43,14 +43,15 @@
</view>
</u-form-item>
<!-- <u-form-item prop="logistics" v-if="form.sendStatusName == '寄回'"> -->
<view class="from_item" v-if="form.sendStatusName == '寄回'" @click="showPicker">
<text style="font-size: 28rpx;"><text style="color: red">*</text>退货物流公司:</text>
<view style="display: flex;align-items: center;font-size: 28rpx;" >
<u-input v-model="form.courierCompany" class="input" disabled @click="showPicker" style="visibility: hidden;" placeholder="请选择" />
<!-- <text v-if="form.courierCompany">{{form.courierCompany}}</text> -->
<u-icon name="arrow-right" style="margin-left: 10px"></u-icon>
</view>
<view class="from_item" v-if="form.sendStatusName == '寄回'" @click="showPicker">
<text style="font-size: 28rpx;"><text style="color: red">*</text>退货物流公司:</text>
<view style="display: flex;align-items: center;font-size: 28rpx;">
<u-input v-model="form.courierCompany" class="input" disabled @click="showPicker"
style="visibility: hidden;" placeholder="请选择" />
<!-- <text v-if="form.courierCompany">{{form.courierCompany}}</text> -->
<u-icon name="arrow-right" style="margin-left: 10px"></u-icon>
</view>
</view>
<!-- </u-form-item> -->
<u-form-item prop="returnNum" v-if="form.sendStatusName == '寄回'">
<view class="from_item">
@@ -140,7 +141,7 @@
} from "@dcloudio/uni-app";
import {
navTo,
checkStr,msg
checkStr, msg
} from "@/utils/utils";
import {
request
@@ -189,6 +190,7 @@
obuId: '', */
orderId: '',
applyId: '',
productId: ""
});


@@ -264,8 +266,10 @@
};

onLoad((option) => {
console.log("option", option)
params.orderId = option.orderId
params.applyId = option.applyId
params.productId = option.productId
});

onShow(() => {
@@ -345,13 +349,14 @@

};
const queryCckChangejzCardInfo = () => {
if(!form.address){
if (!form.address) {
msg("请编辑收货详细地址");
return;
}
var data = {
applyId: params.applyId,
orderId: params.orderId,
productId: params.productId,
sendStatus: form.sendStatus,
configId: wechatPayConfigId,
courierCompany: form.courierCompany,

+ 6
- 4
subpackage/orders/choice-product.vue Vedi File

@@ -6,7 +6,9 @@
<image style="width: 100%; height: 170rpx; border-radius: 20rpx"
:src="`${$imgUrl}applyCard/product-bg.png`"></image>
<view class="item-value">
<image class="icon-tip" :src="state.sysType === 'WECHAT'?`${$imgUrl}applyCard/wechat.png` : `${$imgUrl}applyCard/alibaba.png`"></image>
<image class="icon-tip"
:src="state.sysType === 'WECHAT'?`${$imgUrl}applyCard/wechat.png` : `${$imgUrl}applyCard/alibaba.png`">
</image>
<view class="content">
<view class="title">
{{ item.promoteName }}
@@ -128,10 +130,10 @@

onLoad((option : any) => {
// #ifdef MP-ALIPAY
state.sysType = 'ALI';
state.sysType = 'ALI';
// #endif
// #ifdef MP-WEIXIN
state.sysType = 'WECHAT';
state.sysType = 'WECHAT';
// #endif
// state.orderId = option.orderId;
// state.userType = option.userType;
@@ -203,7 +205,7 @@
radiolist1: [], //选择卡的数据列表
choiceCardShow: false, //选择卡的弹出框
isSign: '',
sysType:"",
sysType: "",
orderId: "",
userType: 1, //1 个人 2单位
type: 0, //0 客车 1货车

Loading…
Annulla
Salva