This commit is contained in:
ylj20011123 2025-05-06 19:03:56 +08:00
parent 77882c6a69
commit d3756bda64
69 changed files with 198 additions and 242 deletions

View File

@ -27,38 +27,20 @@
</div> --> </div> -->
<div class="tabs"> <div class="tabs">
<div <div class="tabs_item" :class="currentTab === item.value ? 'tab_active' : ''" v-for="(item, idx) in tabList"
class="tabs_item" :key="idx" @click="handleTab(item.value)">
:class="currentTab === item.value ? 'tab_active' : ''"
v-for="(item, idx) in tabList"
:key="idx"
@click="handleTab(item.value)"
>
{{ item.label }} {{ item.label }}
</div> </div>
</div> </div>
<div class="sum_count" v-if="TotalCount > 0"> <div class="sum_count" v-if="TotalCount > 0">
<span>{{ TotalCount }}</span <span>{{ TotalCount }}</span>笔订单, 合计<span>{{ TotalAmount }}</span>
>笔订单, 合计<span>{{ TotalAmount }}</span
>
</div> </div>
</div> </div>
<scroll-view <scroll-view v-if="orderList && orderList.length > 0" class="srcollView" scroll-y="true" refresher-enabled="true"
v-if="orderList && orderList.length > 0" @refresherrefresh="handleRefresherrefresh" :refresher-triggered="triggered" @scrolltolower="handleScrollTolower">
class="srcollView" <div @click="goEvaluate(item)" v-for="(item, idx) in orderList" :key="idx">
scroll-y="true"
refresher-enabled="true"
@refresherrefresh="handleRefresherrefresh"
:refresher-triggered="triggered"
@scrolltolower="handleScrollTolower"
>
<div
@click="goEvaluate(item)"
v-for="(item, idx) in orderList"
:key="idx"
>
<OrderItem :obj="item" @handleGetOrderList="handleGetOrderList" /> <OrderItem :obj="item" @handleGetOrderList="handleGetOrderList" />
</div> </div>
<view class="inBottom"> <view class="inBottom">
@ -71,8 +53,6 @@
</view> </view>
</template> </template>
</view>
</template>
<script> <script>
import NoData from "../../../components/noData.vue"; import NoData from "../../../components/noData.vue";
import OrderItem from "./components/orderItem.vue"; import OrderItem from "./components/orderItem.vue";
@ -125,14 +105,14 @@ export default {
this.currentTab === 1 this.currentTab === 1
? "" ? ""
: this.currentTab === 2 : this.currentTab === 2
? "1005" ? "1005"
: this.currentTab === 3 : this.currentTab === 3
? "1010" ? "1010"
: this.currentTab === 4 : this.currentTab === 4
? "2000" ? "2000"
: this.currentTab === 5 : this.currentTab === 5
? "" ? "3000"
: ""; : "";
// //
this.handleGetOrderList(type); this.handleGetOrderList(type);
this.$utils.addUserBehaviorNew(); this.$utils.addUserBehaviorNew();
@ -145,14 +125,14 @@ export default {
this.currentTab === 1 this.currentTab === 1
? "" ? ""
: this.currentTab === 2 : this.currentTab === 2
? "1005" ? "1005"
: this.currentTab === 3 : this.currentTab === 3
? "1010,2000" ? "1010"
: this.currentTab === 4 : this.currentTab === 4
? "2010" ? "2000"
: this.currentTab === 5 : this.currentTab === 5
? "" ? "3000"
: ""; : "";
this.handleGetOrderList(type); this.handleGetOrderList(type);
}, },
// //
@ -168,14 +148,14 @@ export default {
this.currentTab === 1 this.currentTab === 1
? "" ? ""
: this.currentTab === 2 : this.currentTab === 2
? "1005" ? "1005"
: this.currentTab === 3 : this.currentTab === 3
? "1010,2000" ? "1010,2000"
: this.currentTab === 4 : this.currentTab === 4
? "2010" ? "2010"
: this.currentTab === 5 : this.currentTab === 5
? "" ? ""
: ""; : "";
await this.handleGetOrderList(type); await this.handleGetOrderList(type);
this.triggered = false; this.triggered = false;
}, },
@ -189,17 +169,17 @@ export default {
this.currentTab = val; this.currentTab = val;
this.orderList = []; this.orderList = [];
let type = let type =
val === 1 this.currentTab === 1
? "" ? ""
: val === 2 : this.currentTab === 2
? "1005" ? "1005"
: val === 3 : this.currentTab === 3
? "1010" ? "1010"
: val === 4 : this.currentTab === 4
? "2000" ? "2000"
: val === 5 : this.currentTab === 5
? "" ? "3000"
: ""; : "";
this.handleGetOrderList(type); this.handleGetOrderList(type);
}, },
// //
@ -258,13 +238,13 @@ export default {
uni.navigateTo({ uni.navigateTo({
url: url:
"/pages/order/orderFoodDetail/index?sellchildid=" + "/pages/order/orderFoodDetail/index?sellchildid=" +
item.SALEBILL_CHILD_ID + (item.SALEBILL_CHILD_ID || "") +
"&orderInternal=" + "&orderInternal=" +
item.SALEBILL_ID + (item.SALEBILL_ID || "") +
"&orderStatus=" + "&orderStatus=" +
item.SALEBILL_STATE + (item.SALEBILL_STATE || "") +
"&SUPPLIER_NAME=" + "&SUPPLIER_NAME=" +
item.SUPPLIER_NAME, (item.SUPPLIER_NAME || ""),
}); });
}, },
}, },
@ -373,14 +353,17 @@ export default {
} }
} }
} }
.srcollView { .srcollView {
width: 100%; width: 100%;
height: calc(100vh - 160rpx); height: calc(100vh - 160rpx);
.inBottom { .inBottom {
width: 100%; width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.bottomText { .bottomText {
font-family: PingFangSC, PingFang SC; font-family: PingFangSC, PingFang SC;
font-weight: 400; font-weight: 400;
@ -392,6 +375,7 @@ export default {
position: relative; position: relative;
padding: 6rpx 0; padding: 6rpx 0;
} }
.bottomText::after { .bottomText::after {
content: ""; content: "";
width: 30vw; width: 30vw;
@ -401,6 +385,7 @@ export default {
left: -32vw; left: -32vw;
top: 50%; top: 50%;
} }
.bottomText::before { .bottomText::before {
content: ""; content: "";
width: 30vw; width: 30vw;

View File

@ -6,24 +6,24 @@
orderInfo.SALEBILL_STATE === 1010 orderInfo.SALEBILL_STATE === 1010
? "待接单" ? "待接单"
: orderInfo.SALEBILL_STATE === 2000 : orderInfo.SALEBILL_STATE === 2000
? "制作中" ? "制作中"
: orderInfo.SALEBILL_STATE === 2010 : orderInfo.SALEBILL_STATE === 2010
? "已完成" ? "已完成"
: orderInfo.SALEBILL_STATE === 8000 : orderInfo.SALEBILL_STATE === 8000
? "退款申请中" ? "退款申请中"
: orderInfo.SALEBILL_STATE === 8010 : orderInfo.SALEBILL_STATE === 8010
? "商品退货中" ? "商品退货中"
: orderInfo.SALEBILL_STATE === 8020 : orderInfo.SALEBILL_STATE === 8020
? "退款处理中" ? "退款处理中"
: orderInfo.SALEBILL_STATE === 8900 : orderInfo.SALEBILL_STATE === 8900
? "订单已退款" ? "订单已退款"
: orderInfo.SALEBILL_STATE === 8999 : orderInfo.SALEBILL_STATE === 8999
? "退款已关闭" ? "退款已关闭"
: orderInfo.SALEBILL_STATE === 9000 : orderInfo.SALEBILL_STATE === 9000
? "订单已关闭" ? "订单已关闭"
: orderInfo.SALEBILL_STATE === 9999 : orderInfo.SALEBILL_STATE === 9999
? "订单已撤销" ? "订单已撤销"
: "" : ""
}} }}
</div> </div>
<div class="status-btn-box"> <div class="status-btn-box">
@ -33,26 +33,20 @@
去付款 <span>{{ minutes }}</span> 去付款 <span>{{ minutes }}</span>
</div> </div>
</block> </block>
<block <block v-if="
v-if=" orderInfo.SALEBILL_STATE !== 1005 &&
orderInfo.SALEBILL_STATE !== 1005 && orderInfo.SALEBILL_STATE !== 8000 &&
orderInfo.SALEBILL_STATE !== 8000 && orderInfo.SALEBILL_STATE !== 8010 &&
orderInfo.SALEBILL_STATE !== 8010 && orderInfo.SALEBILL_STATE !== 8020 &&
orderInfo.SALEBILL_STATE !== 8020 && orderInfo.SALEBILL_STATE !== 8900 &&
orderInfo.SALEBILL_STATE !== 8900 && orderInfo.SALEBILL_STATE !== 8999 &&
orderInfo.SALEBILL_STATE !== 8999 && orderInfo.SALEBILL_STATE !== 9000 &&
orderInfo.SALEBILL_STATE !== 9000 && orderInfo.SALEBILL_STATE !== 9999
orderInfo.SALEBILL_STATE !== 9999 && ">
orderInfo.COMMENT_STATE === 0 <!-- && orderInfo.COMMENT_STATE === 0 -->
" <div class="continu-btn" @click="handleRefund" v-if="orderInfo.SALEBILL_STATE === 1010">发起退款</div>
>
<!-- <div class="continu-btn" @click="handleRefund">发起退款</div> -->
<!-- <div class="back-btn" @click="goShop" v-if="orderInfo.SALEBILL_STATE!=1010">再来一单</div> --> <!-- <div class="back-btn" @click="goShop" v-if="orderInfo.SALEBILL_STATE!=1010">再来一单</div> -->
<div <div v-if="orderInfo.COMMENT_STATE !== 1" class="continu-btn" @click="goEvaluate">
v-if="orderInfo.COMMENT_STATE !== 1"
class="continu-btn"
@click="goEvaluate"
>
评价得积分 评价得积分
</div> </div>
</block> </block>
@ -68,26 +62,21 @@
}}</span> }}</span>
</p> </p>
<p class="order-info-type"> <p class="order-info-type">
<span class="order-info-t">订单编号</span <span class="order-info-t">订单编号</span><span>{{ orderInfo.SALEBILL_CODE }}</span>
><span>{{ orderInfo.SALEBILL_CODE }}</span>
</p> </p>
<p class="order-info-type"> <p class="order-info-type">
<span class="order-info-t">下单时间</span <span class="order-info-t">下单时间</span><span>{{ orderInfo.ORDER_DATE }}</span>
><span>{{ orderInfo.ORDER_DATE }}</span>
</p> </p>
<block v-if="orderInfo.TAKE_TYPE === 2000"> <block v-if="orderInfo.TAKE_TYPE === 2000">
<p class="order-info-type"> <p class="order-info-type">
<span class="order-info-t">下单人员</span <span class="order-info-t">下单人员</span><span>{{ orderInfo.ORDER_PERSON }}</span>
><span>{{ orderInfo.ORDER_PERSON }}</span>
</p> </p>
<p class="order-info-type"> <p class="order-info-type">
<span class="order-info-t">预约时间</span <span class="order-info-t">预约时间</span><span>{{ orderInfo.RESERVATION_DATE }}</span>
><span>{{ orderInfo.RESERVATION_DATE }}</span>
</p> </p>
<p class="order-info-type"> <p class="order-info-type">
<span class="order-info-t">预约电话</span <span class="order-info-t">预约电话</span><span>{{ orderInfo.ORDER_PERSONTEL }}</span>
><span>{{ orderInfo.ORDER_PERSONTEL }}</span>
</p> </p>
</block> </block>
</div> </div>
@ -95,15 +84,12 @@
<div class="order-box"> <div class="order-box">
<div class="order-top" @click="goShop"> <div class="order-top" @click="goShop">
<div style="display: flex; align-items: center"> <div style="display: flex; align-items: center">
<img <img src="https://eshangtech.com/ShopICO/shop_ico.png" style="
src="https://eshangtech.com/ShopICO/shop_ico.png"
style="
width: 56rpx; width: 56rpx;
height: 36rpx; height: 36rpx;
vertical-align: middle; vertical-align: middle;
margin-right: 10rpx; margin-right: 10rpx;
" " />
/>
<span class="order-addr">{{ ShopAddress }}</span> <span class="order-addr">{{ ShopAddress }}</span>
</div> </div>
<van-icon name="arrow" size="30rpx" v-if="pageMsg.type === 0" /> <van-icon name="arrow" size="30rpx" v-if="pageMsg.type === 0" />
@ -133,12 +119,7 @@
</div> </div>
<div class="price-sum"> <div class="price-sum">
<div class="link-store" @click="callPhone"> <div class="link-store" @click="callPhone">
<van-icon <van-icon name="phone-circle-o" size="40rpx" color="#CAA97F" custom-style="margin-right:16rpx;"></van-icon>
name="phone-circle-o"
size="40rpx"
color="#CAA97F"
custom-style="margin-right:16rpx;"
></van-icon>
联系商家 联系商家
</div> </div>
<div class=""> <div class="">
@ -154,42 +135,23 @@
<div class="payList"> <div class="payList">
<radio-group :value="payType" class="radio-group"> <radio-group :value="payType" class="radio-group">
<div <div class="bottom-radio" color="#CAA97F" @click="handleChangePayType(1)">
class="bottom-radio"
color="#CAA97F"
@click="handleChangePayType(1)"
>
<div class="radioLeft"> <div class="radioLeft">
<div class="logoBox"> <div class="logoBox">
<image <image class="logoIcon" src="/static/images/home/alipayIcon.png" />
class="logoIcon"
src="/static/images/home/alipayIcon.png"
/>
</div> </div>
<text>支付宝支付</text> <text>支付宝支付</text>
</div> </div>
<radio <radio value="支付宝支付" color="#CAA97F" :checked="payType === 1" />
value="支付宝支付"
color="#CAA97F"
:checked="payType === 1"
/>
</div> </div>
<div <div class="bottom-radio" color="#CAA97F" @click="handleChangePayType(2)">
class="bottom-radio"
color="#CAA97F"
@click="handleChangePayType(2)"
>
<div class="radioLeft"> <div class="radioLeft">
<div class="logoBox"> <div class="logoBox">
<image class="logoIcon" src="/static/images/home/wxPay.png" /> <image class="logoIcon" src="/static/images/home/wxPay.png" />
</div> </div>
<text>微信支付</text> <text>微信支付</text>
</div> </div>
<radio <radio value="微信支付" color="#CAA97F" :checked="payType === 2" />
value="微信支付"
color="#CAA97F"
:checked="payType === 2"
/>
</div> </div>
</radio-group> </radio-group>
</div> </div>
@ -265,7 +227,7 @@ export default {
provinceCode: _this.user.PROVINCE_CODE || "530000", provinceCode: _this.user.PROVINCE_CODE || "530000",
serverpartShopId: "5634", serverpartShopId: "5634",
salebillDesc: "退款订单", salebillDesc: "退款订单",
wechatOpenId: openId || "", wechatOpenId: _this.user.WECHATAPP_OPENID || "",
wechatUnionId: _this.user.USER_UNIONID || "", wechatUnionId: _this.user.USER_UNIONID || "",
// addressId: this.addressInfo.MEMBERADDRESS_ID, // addressId: this.addressInfo.MEMBERADDRESS_ID,
// orderPersonTel: this.addressInfo.MOBILEPHONE, // orderPersonTel: this.addressInfo.MOBILEPHONE,
@ -278,7 +240,7 @@ export default {
const req = { const req = {
action_type: "UpdateOrderState", action_type: "UpdateOrderState",
action_data: _this.orderInfo.SALEBILL_ID, action_data: _this.orderInfo.SALEBILL_ID,
saleBillChildId: _this.sellchildid, saleBillChildId: _this.sellchildid || "",
SALEBILL_STATE: 8000, SALEBILL_STATE: 8000,
// deliverDate: new Date() // deliverDate: new Date()
}; };
@ -386,12 +348,12 @@ export default {
}; };
console.log( console.log(
"POST\n/v3/pay/transactions/jsapi\n" + "POST\n/v3/pay/transactions/jsapi\n" +
timeStamp + timeStamp +
"\n" + "\n" +
nonceStr + nonceStr +
"\n" + "\n" +
JSON.stringify(req) + JSON.stringify(req) +
"\n" "\n"
); );
const data = await this.$api.$get("/WeChat/GenerateSign", reqSign); const data = await this.$api.$get("/WeChat/GenerateSign", reqSign);
@ -674,7 +636,7 @@ export default {
// }) // })
} }
}, },
complete(res) {}, complete(res) { },
}); });
} else { } else {
uni.showToast({ uni.showToast({
@ -1064,7 +1026,7 @@ hr {
justify-content: space-between; justify-content: space-between;
} }
.order-info-type + .order-info-type { .order-info-type+.order-info-type {
border-top: 1px solid #f5f5f5; border-top: 1px solid #f5f5f5;
} }

View File

@ -230,8 +230,8 @@
</div> </div>
<div class="detail-image-box"> <div class="detail-image-box">
<block v-for="(img, i) in good.ContentImgList" :key="i" v-show="detailImgList[i]"> <block v-for="(img, i) in good.ContentImgList" :key="i" v-show="detailImgList[i]">
<image class="img" mode="aspectFill" lazy-load="true" :src="img.IMAGE_URL" @load="loadDetailImg($event, i)" <image mode="widthFix" class="img" lazy-load="true" :src="img.IMAGE_URL" @load="loadDetailImg($event, i)"
@click="handlePreviewDetailImg(img)"></image> @click="handlePreviewDetailImg(img, good.ContentImgList)"></image>
<!-- :style=" <!-- :style="
'width:' + 'width:' +
detailImgList[i].width + detailImgList[i].width +
@ -567,14 +567,19 @@ export default {
}); });
}, },
// //
handlePreviewDetailImg(obj) { handlePreviewDetailImg(obj, list) {
console.log("obj", obj); console.log("obj", obj);
let imgList = []; let imgList = [];
if (this.good.List && this.good.List.length > 0) { if (list && list.length > 0) {
this.good.List.forEach((item) => { imgList = list
imgList.push(item.IMAGE_URL); } else {
}); if (this.good.List && this.good.List.length > 0) {
this.good.List.forEach((item) => {
imgList.push(item.IMAGE_URL);
});
}
} }
uni.previewImage({ uni.previewImage({
current: obj.IMAGE_URL, // http current: obj.IMAGE_URL, // http
urls: imgList, // http urls: imgList, // http

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{ {
"usingComponents": {}, "component": true,
"component": true "usingComponents": {}
} }

View File

@ -1,4 +1,4 @@
{ {
"usingComponents": {}, "component": true,
"component": true "usingComponents": {}
} }

View File

@ -1,4 +1,4 @@
{ {
"usingComponents": {}, "component": true,
"component": true "usingComponents": {}
} }

View File

@ -1,4 +1,4 @@
{ {
"usingComponents": {}, "component": true,
"component": true "usingComponents": {}
} }

View File

@ -1,4 +1,4 @@
{ {
"usingComponents": {}, "component": true,
"component": true "usingComponents": {}
} }

View File

@ -202,7 +202,7 @@ var _default = {
this.searchType = query.type; this.searchType = query.type;
this.currentTab = Number(this.searchType) + 1; this.currentTab = Number(this.searchType) + 1;
} }
var type = this.currentTab === 1 ? "" : this.currentTab === 2 ? "1005" : this.currentTab === 3 ? "1010" : this.currentTab === 4 ? "2000" : this.currentTab === 5 ? "" : ""; var type = this.currentTab === 1 ? "" : this.currentTab === 2 ? "1005" : this.currentTab === 3 ? "1010" : this.currentTab === 4 ? "2000" : this.currentTab === 5 ? "3000" : "";
// 获取订单数据 // 获取订单数据
this.handleGetOrderList(type); this.handleGetOrderList(type);
this.$utils.addUserBehaviorNew(); this.$utils.addUserBehaviorNew();
@ -211,7 +211,7 @@ var _default = {
// 滚动到底部 加载更多 // 滚动到底部 加载更多
handleScrollTolower: function handleScrollTolower() { handleScrollTolower: function handleScrollTolower() {
this.pageMsg.pageIndex = this.pageMsg.pageIndex + 1; this.pageMsg.pageIndex = this.pageMsg.pageIndex + 1;
var type = this.currentTab === 1 ? "" : this.currentTab === 2 ? "1005" : this.currentTab === 3 ? "1010,2000" : this.currentTab === 4 ? "2010" : this.currentTab === 5 ? "" : ""; var type = this.currentTab === 1 ? "" : this.currentTab === 2 ? "1005" : this.currentTab === 3 ? "1010" : this.currentTab === 4 ? "2000" : this.currentTab === 5 ? "3000" : "";
this.handleGetOrderList(type); this.handleGetOrderList(type);
}, },
// 下拉刷新的方法 // 下拉刷新的方法
@ -251,7 +251,7 @@ var _default = {
}; };
this.currentTab = val; this.currentTab = val;
this.orderList = []; this.orderList = [];
var type = val === 1 ? "" : val === 2 ? "1005" : val === 3 ? "1010" : val === 4 ? "2000" : val === 5 ? "" : ""; var type = this.currentTab === 1 ? "" : this.currentTab === 2 ? "1005" : this.currentTab === 3 ? "1010" : this.currentTab === 4 ? "2000" : this.currentTab === 5 ? "3000" : "";
this.handleGetOrderList(type); this.handleGetOrderList(type);
}, },
// 获取订单数据 // 获取订单数据
@ -322,7 +322,7 @@ var _default = {
goEvaluate: function goEvaluate(item) { goEvaluate: function goEvaluate(item) {
console.log("item", item); console.log("item", item);
uni.navigateTo({ uni.navigateTo({
url: "/pages/order/orderFoodDetail/index?sellchildid=" + item.SALEBILL_CHILD_ID + "&orderInternal=" + item.SALEBILL_ID + "&orderStatus=" + item.SALEBILL_STATE + "&SUPPLIER_NAME=" + item.SUPPLIER_NAME url: "/pages/order/orderFoodDetail/index?sellchildid=" + (item.SALEBILL_CHILD_ID || "") + "&orderInternal=" + (item.SALEBILL_ID || "") + "&orderStatus=" + (item.SALEBILL_STATE || "") + "&SUPPLIER_NAME=" + (item.SUPPLIER_NAME || "")
}); });
} }
} }

View File

@ -241,7 +241,7 @@ var _default = {
provinceCode: _this.user.PROVINCE_CODE || "530000", provinceCode: _this.user.PROVINCE_CODE || "530000",
serverpartShopId: "5634", serverpartShopId: "5634",
salebillDesc: "退款订单", salebillDesc: "退款订单",
wechatOpenId: openId || "", wechatOpenId: _this.user.WECHATAPP_OPENID || "",
wechatUnionId: _this.user.USER_UNIONID || "", wechatUnionId: _this.user.USER_UNIONID || "",
// addressId: this.addressInfo.MEMBERADDRESS_ID, // addressId: this.addressInfo.MEMBERADDRESS_ID,
// orderPersonTel: this.addressInfo.MOBILEPHONE, // orderPersonTel: this.addressInfo.MOBILEPHONE,
@ -260,7 +260,7 @@ var _default = {
req = { req = {
action_type: "UpdateOrderState", action_type: "UpdateOrderState",
action_data: _this.orderInfo.SALEBILL_ID, action_data: _this.orderInfo.SALEBILL_ID,
saleBillChildId: _this.sellchildid, saleBillChildId: _this.sellchildid || "",
SALEBILL_STATE: 8000 SALEBILL_STATE: 8000
// deliverDate: new Date() // deliverDate: new Date()
}; };

File diff suppressed because one or more lines are too long

View File

@ -383,13 +383,17 @@ var _default = {
}); });
}, },
// 预览详情图片 // 预览详情图片
handlePreviewDetailImg: function handlePreviewDetailImg(obj) { handlePreviewDetailImg: function handlePreviewDetailImg(obj, list) {
console.log("obj", obj); console.log("obj", obj);
var imgList = []; var imgList = [];
if (this.good.List && this.good.List.length > 0) { if (list && list.length > 0) {
this.good.List.forEach(function (item) { imgList = list;
imgList.push(item.IMAGE_URL); } else {
}); if (this.good.List && this.good.List.length > 0) {
this.good.List.forEach(function (item) {
imgList.push(item.IMAGE_URL);
});
}
} }
uni.previewImage({ uni.previewImage({
current: obj.IMAGE_URL, current: obj.IMAGE_URL,

File diff suppressed because one or more lines are too long