DESKTOP-2IO5MST\huting před 1 rokem
rodič
revize
ae79e50a54

+ 1
- 1
subpackage/after-sale/activation-once-again/activation-once-again.vue Zobrazit soubor

const options = { const options = {
type: 2, type: 2,
data: { data: {
id: "cebc78a8aa024a0c96c0d1b0da3752e5",
id: id,
}, },
method: "POST", method: "POST",
showLoading: true, showLoading: true,

+ 5
- 2
subpackage/after-sale/activation/activate.vue Zobrazit soubor

.then((res) => { .then((res) => {
tools.hideLoadingAlert(); tools.hideLoadingAlert();
let result = JSON.parse(res.bizContent); let result = JSON.parse(res.bizContent);
console.log("写卡指令============",result)
if (result.orderStatus == 1 || result.orderStatus == "1") { if (result.orderStatus == 1 || result.orderStatus == "1") {
tools.showLoadingAlert("执行指令中"); tools.showLoadingAlert("执行指令中");
bluetoothUtil.transCmd(result.command.split(","), "10", function(res) { bluetoothUtil.transCmd(result.command.split(","), "10", function(res) {
expireTime: formatTime(new Date()), expireTime: formatTime(new Date()),
accountOrganization: "", accountOrganization: "",
accountCardNo: "", accountCardNo: "",
cosRecordId: ""
cosRecordId: "",
openId: getItem('openId')
}, //请求参数 }, //请求参数
method: "POST", //提交方式(默认POST) method: "POST", //提交方式(默认POST)
showLoading: true, //是否显示加载中(默认显示) showLoading: true, //是否显示加载中(默认显示)
installType: "1", installType: "1",
installChannelId: "5201010200601130001", installChannelId: "5201010200601130001",
obuId: obu.obuId, obuId: obu.obuId,
orderId: fileDataStrings.orderId
orderId: fileDataStrings.orderId,
openId: getItem('openId')
}, //请求参数 }, //请求参数
method: "POST", //提交方式(默认POST) method: "POST", //提交方式(默认POST)
showLoading: true, //是否显示加载中(默认显示) showLoading: true, //是否显示加载中(默认显示)

+ 13
- 3
subpackage/orders/flowingWater.vue Zobrazit soubor

<template> <template>
<view class="wrapper">
<view class="wrapper" v-if="state.haveData">
<!-- 背景颜色充满屏 --> <!-- 背景颜色充满屏 -->
<view class="bg-color"></view> <view class="bg-color"></view>
<!-- 补卡额订单列表--> <!-- 补卡额订单列表-->
</view> </view>
</view> </view>
<view class="no">暂无补卡额圈存数据</view>
</template> </template>


<script lang="ts" setup> <script lang="ts" setup>
id:"", id:"",
list:"", list:"",
cardBalance:"", cardBalance:"",
haveData:false, //是否有数据
}) })
const listData = reactive(null) const listData = reactive(null)
// const listData = reactive([ // const listData = reactive([
state.vehicleId=options.vehicleId state.vehicleId=options.vehicleId
//根据车牌查询信息.data //根据车牌查询信息.data
queryRefundAction().then(val => { queryRefundAction().then(val => {
console.log("val",val.data)
state.list = val.data
console.log("val",val)
if(val.hasData){
state.list = val.data
state.haveData=true
}
}) })
/*监听蓝牙回调*/ /*监听蓝牙回调*/
uni.$on('bluetoothLink', function(status) { uni.$on('bluetoothLink', function(status) {
</script> </script>


<style lang="scss" scoped> <style lang="scss" scoped>
.no{
text-align: center;
font-size: 32rpx;
margin: 20rpx auto;
}
.bg-color { .bg-color {
position: fixed; position: fixed;
top: 0; top: 0;

+ 11
- 10
subpackage/orders/order-details-new.vue Zobrazit soubor

<view v-if="state.orderInfo.orderStatus == OrderStatus.已取消"> <view v-if="state.orderInfo.orderStatus == OrderStatus.已取消">
<view class="d-row" v-if="state.orderInfo.orderStep > OrderStatus.已支付"> <view class="d-row" v-if="state.orderInfo.orderStep > OrderStatus.已支付">
<text class="d-label">付款时间:</text> <text class="d-label">付款时间:</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt.payTime)}}</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt?state.orderInfo.orderInfoExt.payTime:"")}}</text>
</view> </view>
<view class="d-row"> <view class="d-row">
<text class="d-label">取消时间:</text> <text class="d-label">取消时间:</text>
<view v-if="state.orderInfo.orderStep == OrderStatus.审核不通过 || state.orderInfo.orderStep == OrderStatus.待审核"> <view v-if="state.orderInfo.orderStep == OrderStatus.审核不通过 || state.orderInfo.orderStep == OrderStatus.待审核">
<view class="d-row"> <view class="d-row">
<text class="d-label">付款时间:</text> <text class="d-label">付款时间:</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt.payTime)}}</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt?state.orderInfo.orderInfoExt.payTime:"")}}</text>
</view> </view>
<view class="d-row" v-if="state.orderInfo.orderStep == OrderStatus.审核不通过"> <view class="d-row" v-if="state.orderInfo.orderStep == OrderStatus.审核不通过">
<text class="d-label">不通过原因:</text> <text class="d-label">不通过原因:</text>
<view v-if="state.orderInfo.orderStep == OrderStatus.待发货"> <view v-if="state.orderInfo.orderStep == OrderStatus.待发货">
<view class="d-row"> <view class="d-row">
<text class="d-label">付款时间:</text> <text class="d-label">付款时间:</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt.payTime)}}</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt?state.orderInfo.orderInfoExt.payTime:"")}}</text>
</view> </view>
<view class="d-row" v-if="state.orderInfo.staffName"> <view class="d-row" v-if="state.orderInfo.staffName">
<text class="d-label">业 务 员:</text> <text class="d-label">业 务 员:</text>
|| state.orderInfo.orderStep == OrderStatus['已申请-退货']"> || state.orderInfo.orderStep == OrderStatus['已申请-退货']">
<view class="d-row"> <view class="d-row">
<text class="d-label">付款时间:</text> <text class="d-label">付款时间:</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt.payTime)}}</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt?state.orderInfo.orderInfoExt.payTime:'')}}</text>
</view> </view>
<view class="d-row"> <view class="d-row">
<text class="d-label">发货时间:</text> <text class="d-label">发货时间:</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt.deliveryTime)}}</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt?state.orderInfo.orderInfoExt.deliveryTime:"")}}</text>
</view> </view>
<view class="d-row" v-if="state.orderInfo.orderStep != OrderStatus.待收货"> <view class="d-row" v-if="state.orderInfo.orderStep != OrderStatus.待收货">
<text class="d-label">收货时间:</text> <text class="d-label">收货时间:</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt.receivingTime)}}</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt?state.orderInfo.orderInfoExt.receivingTime:"")}}</text>
</view> </view>
<view class="d-row"> <view class="d-row">
<text class="d-label">卡 号:</text> <text class="d-label">卡 号:</text>
<view v-if="state.orderInfo.orderStep == OrderStatus.已完成"> <view v-if="state.orderInfo.orderStep == OrderStatus.已完成">
<view class="d-row"> <view class="d-row">
<text class="d-label">付款时间:</text> <text class="d-label">付款时间:</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt.payTime)}}</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt?state.orderInfo.orderInfoExt.payTime:"")}}</text>
</view> </view>
<view class="d-row"> <view class="d-row">
<text class="d-label">发货时间:</text> <text class="d-label">发货时间:</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt.deliveryTime)}}</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt?state.orderInfo.orderInfoExt.deliveryTime:"")}}</text>
</view> </view>
<view class="d-row"> <view class="d-row">
<text class="d-label">收货时间:</text> <text class="d-label">收货时间:</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt.receivingTime)}}</text>
<text class="d-value">{{getOrderTime(state.orderInfo.orderInfoExt?state.orderInfo.orderInfoExt.receivingTime:"")}}</text>
</view> </view>
<view class="d-row"> <view class="d-row">
<text class="d-label">激活时间:</text> <text class="d-label">激活时间:</text>
</view> </view>
<!-- 订单完成 --> <!-- 订单完成 -->
<view v-if="state.orderInfo.orderStep == OrderStatus.已完成" class="btn-status"> <view v-if="state.orderInfo.orderStep == OrderStatus.已完成" class="btn-status">
<view class="btn space" @click="gotoEvaluateOrder(state.orderInfo)" v-if="!state.orderInfo.appraise">去评价</view>
<view class="btn space" @click="gotoEvaluateOrder(state.orderInfo)" v-if="!state.orderInfo.appraise || state.orderInfo.appraise=='false'">去评价</view>
<view class="btn space" v-else>已评价</view> <view class="btn space" v-else>已评价</view>
</view> </view>
<!-- 换货中 --> <!-- 换货中 -->
onUnload(()=>{ onUnload(()=>{
uni.$off('refreshOrder'); uni.$off('refreshOrder');
uni.$off('selectAddressSuccess'); uni.$off('selectAddressSuccess');
console.log("已评价")
}) })
</script> </script>
<style> <style>

+ 3
- 0
subpackage/personal-center/setting/personal-information/user-card.vue Zobrazit soubor

} }
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .u-size-mini{
white-space: nowrap;
}
.main { .main {
// overflow: hidden; // overflow: hidden;



Načítá se…
Zrušit
Uložit