Browse Source

详情展示

yxb
DESKTOP-2IO5MST\huting 1 year ago
parent
commit
491ae8887a

+ 2
- 2
subpackage/orders/car-release.vue View File

console.log("过户检测", value) console.log("过户检测", value)
if (value.transferLogs && value.transferLogs.length > 0) { if (value.transferLogs && value.transferLogs.length > 0) {
let arr = value.transferLogs; let arr = value.transferLogs;
state.data.transferLogs=[]
state.data.transferLogs = []
for (var k = 0; k < arr.length; k++) { for (var k = 0; k < arr.length; k++) {
if (arr[k]['status'] == "WAITING") { if (arr[k]['status'] == "WAITING") {
state.data.transferLogs.push(arr[k]) state.data.transferLogs.push(arr[k])
state.form.totalMass = parseFloat(state.form.totalMass); state.form.totalMass = parseFloat(state.form.totalMass);
state.form.permittedWeight = parseFloat(state.form.permittedWeight); state.form.permittedWeight = parseFloat(state.form.permittedWeight);
state.form.permittedTowWeight = parseFloat(state.form.permittedTowWeight); state.form.permittedTowWeight = parseFloat(state.form.permittedTowWeight);
const options = { const options = {
type: 2, type: 2,
data: state.form, data: state.form,

+ 1
- 6
subpackage/orders/interestsList.vue View File

<view class="title" @click="addInterestsList(item)"> <view class="title" @click="addInterestsList(item)">
<view> <view>
<view v-if='item.children' style="display: inline-block;"> <view v-if='item.children' style="display: inline-block;">
<image :class="item.isShow?'imageChange':'imageDefault'" @click="changeIsShow(index)"
<image :class="item.isShow?'imageChange':'imageDefault'" @click.prevent="changeIsShow(index)"
src="../../static/image/icon-back.png" alt="" srcset=""></image> src="../../static/image/icon-back.png" alt="" srcset=""></image>
</view> </view>
<text><text>{{item.productName}}</text>&nbsp;&nbsp;<text>¥{{item.discountPrice * 0.01}}</text></text> <text><text>{{item.productName}}</text>&nbsp;&nbsp;<text>¥{{item.discountPrice * 0.01}}</text></text>
</view> </view>
<!-- <checkbox-group @change='getValue(index)'>
<label>
<checkbox :value="index" />
</label>
</checkbox-group> -->
</view> </view>
<view v-if="item.isShow" class="children" v-for="(itemChild,index) in item.children" :key='index'> <view v-if="item.isShow" class="children" v-for="(itemChild,index) in item.children" :key='index'>
<view><text>{{itemChild.productName}}</text>&nbsp;&nbsp;<text>{{itemChild.discountPrice * 0.01}}</text> <view><text>{{itemChild.productName}}</text>&nbsp;&nbsp;<text>{{itemChild.discountPrice * 0.01}}</text>

+ 0
- 10
subpackage/orders/order_payment.vue View File



// #endif // #endif
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
// if (!state.openid) {
// getOpenID();
// }
uni.login({ uni.login({
provider: "weixin", provider: "weixin",
success: function (e) { success: function (e) {
// uni.request({
// url: `https://api.weixin.qq.com/sns/jscode2session?appid=${wechatAppID}&secret=${wechatSecret}&js_code=${e.code}&grant_type=authorization_code`,
// success: (res : any) => {

const options1 = { const options1 = {
type: 2, type: 2,
data: { data: {
}); });
}); });
}); });

// },
// });
}, },
}); });



Loading…
Cancel
Save