【程序目录】修复移动端订单管理无法正常操作退款的问题

This commit is contained in:
吴昊天 2022-09-08 16:12:15 +08:00
parent ed70473134
commit 153e4cb89e
30 changed files with 34 additions and 34 deletions

View File

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>加载中</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.2772579d.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.0e56249a.js></script><script src=/static/js/index.fce11db2.js></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.2772579d.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.0e56249a.js></script><script src=/static/js/index.eac27f97.js></script></body></html>

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 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

View File

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

View File

@ -1,4 +1,4 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/components/PriceChange/index"],{"354e":function(t,r,e){"use strict";var n;e.d(r,"b",(function(){return u})),e.d(r,"c",(function(){return s})),e.d(r,"a",(function(){return n}));var u=function(){var t=this,r=t.$createElement,e=(t._self._c,0==t.status&&1===t.orderInfo.refund_status?t.$t("立即退款"):null),n=0==t.status&&1!==t.orderInfo.refund_status?t.$t("一键改价"):null,u=0!=t.status?t.$t("订单备注"):null,s=0==t.status&&0===t.orderInfo.refund_status?t.$t("商品总价"):null,a=0==t.status&&0===t.orderInfo.refund_status?t.$t("¥"):null,o=0==t.status&&0===t.orderInfo.refund_status?t.$t("原始邮费"):null,f=0==t.status&&0===t.orderInfo.refund_status?t.$t("¥"):null,i=0==t.status&&0===t.orderInfo.refund_status?t.$t("实际支付"):null,c=0==t.status&&0===t.orderInfo.refund_status?t.$t("¥"):null,d=0==t.status&&1===t.orderInfo.refund_status?t.$t("实际支付"):null,l=0==t.status&&1===t.orderInfo.refund_status?t.$t("¥"):null,m=0==t.status&&1===t.orderInfo.refund_status?t.$t("退款金额"):null,p=0==t.status&&1===t.orderInfo.refund_status?t.$t("¥"):null,_=0==t.status||t.orderInfo.remark?null:t.$t("请填写备注信息"),$=1==t.status||0==t.orderInfo.refund_status?t.$t("立即修改"):null,I=1!=t.status&&0!=t.orderInfo.refund_status?t.$t("确认退款"):null,h=1==t.orderInfo.refund_status&&0==t.status?t.$t("拒绝退款"):null;t.$mp.data=Object.assign({},{$root:{m0:e,m1:n,m2:u,m3:s,m4:a,m5:o,m6:f,m7:i,m8:c,m9:d,m10:l,m11:m,m12:p,m13:_,m14:$,m15:I,m16:h}})},s=[]},"4e39":function(t,r,e){},"59d4":function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n={name:"PriceChange",components:{},props:{change:Boolean,orderInfo:Object,status:String},data:function(){return{focus:!1,price:0,refund_price:0,remark:""}},watch:{orderInfo:function(t){this.price=this.orderInfo.pay_price,this.refund_price=this.orderInfo.pay_price,this.remark=""}},mounted:function(){},methods:{priceChange:function(){this.focus=!0},close:function(){this.price=this.orderInfo.pay_price,this.$emit("closechange",!1)},save:function(){var t=this;t.$emit("savePrice",{price:t.price,refund_price:t.refund_price,type:1,remark:t.remark})},refuse:function(){var t=this;t.$emit("savePrice",{price:t.price,refund_price:t.refund_price,type:2,remark:t.remark})}}};r.default=n},"7f53":function(t,r,e){"use strict";var n=e("4e39"),u=e.n(n);u.a},a276:function(t,r,e){"use strict";e.r(r);var n=e("354e"),u=e("fe1c");for(var s in u)"default"!==s&&function(t){e.d(r,t,(function(){return u[t]}))}(s);e("7f53");var a,o=e("f0c5"),f=Object(o["a"])(u["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],a);r["default"]=f.exports},fe1c:function(t,r,e){"use strict";e.r(r);var n=e("59d4"),u=e.n(n);for(var s in n)"default"!==s&&function(t){e.d(r,t,(function(){return n[t]}))}(s);r["default"]=u.a}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/components/PriceChange/index"],{"4e39":function(t,r,e){},"59d4":function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s={name:"PriceChange",components:{},props:{change:Boolean,orderInfo:Object,status:String},data:function(){return{focus:!1,price:0,refund_price:0,remark:""}},watch:{orderInfo:function(t){this.price=this.orderInfo.pay_price,this.refund_price=this.orderInfo.pay_price,this.remark=""}},mounted:function(){},methods:{priceChange:function(){this.focus=!0},close:function(){this.price=this.orderInfo.pay_price,this.$emit("closechange",!1)},save:function(){var t=this;t.$emit("savePrice",{price:t.price,refund_price:t.refund_price,type:1,remark:t.remark})},refuse:function(){var t=this;t.$emit("savePrice",{price:t.price,refund_price:t.refund_price,type:2,remark:t.remark})}}};r.default=s},"7f53":function(t,r,e){"use strict";var s=e("4e39"),n=e.n(s);n.a},a276:function(t,r,e){"use strict";e.r(r);var s=e("df9d"),n=e("fe1c");for(var u in n)"default"!==u&&function(t){e.d(r,t,(function(){return n[t]}))}(u);e("7f53");var a,o=e("f0c5"),f=Object(o["a"])(n["default"],s["b"],s["c"],!1,null,null,null,!1,s["a"],a);r["default"]=f.exports},df9d:function(t,r,e){"use strict";var s;e.d(r,"b",(function(){return n})),e.d(r,"c",(function(){return u})),e.d(r,"a",(function(){return s}));var n=function(){var t=this,r=t.$createElement,e=(t._self._c,0==t.status?t.$t("一键改价"):null),s=0!=t.status&&1==t.status?t.$t("订单备注"):null,n=0!=t.status&&1!=t.status?t.$t("立即退款"):null,u=0!=t.status&&2!=t.status||0!==t.orderInfo.refund_status?null:t.$t("商品总价"),a=0!=t.status&&2!=t.status||0!==t.orderInfo.refund_status?null:t.$t("¥"),o=0!=t.status&&2!=t.status||0!==t.orderInfo.refund_status?null:t.$t("原始邮费"),f=0!=t.status&&2!=t.status||0!==t.orderInfo.refund_status?null:t.$t("¥"),i=0!=t.status&&2!=t.status||0!==t.orderInfo.refund_status?null:t.$t("实际支付"),c=0!=t.status&&2!=t.status||0!==t.orderInfo.refund_status?null:t.$t("¥"),d=0!=t.status&&2!=t.status||1!==t.orderInfo.refund_status?null:t.$t("实际支付"),l=0!=t.status&&2!=t.status||1!==t.orderInfo.refund_status?null:t.$t("¥"),m=0!=t.status&&2!=t.status||1!==t.orderInfo.refund_status?null:t.$t("退款金额"),p=0!=t.status&&2!=t.status||1!==t.orderInfo.refund_status?null:t.$t("¥"),_=0==t.status||2==t.status||t.orderInfo.remark?null:t.$t("请填写备注信息"),$=1==t.status||0==t.orderInfo.refund_status?t.$t("立即修改"):null,h=1!=t.status&&0!=t.orderInfo.refund_status?t.$t("确认退款"):null,I=1==t.orderInfo.refund_status&&0==t.status?t.$t("拒绝退款"):null;t.$mp.data=Object.assign({},{$root:{m0:e,m1:s,m2:n,m3:u,m4:a,m5:o,m6:f,m7:i,m8:c,m9:d,m10:l,m11:m,m12:p,m13:_,m14:$,m15:h,m16:I}})},u=[]},fe1c:function(t,r,e){"use strict";e.r(r);var s=e("59d4"),n=e.n(s);for(var u in s)"default"!==u&&function(t){e.d(r,t,(function(){return s[t]}))}(u);r["default"]=n.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/admin/components/PriceChange/index-create-component',
{

View File

@ -1 +1 @@
<view><view class="{{['priceChange',change===true?'on':'']}}"><view class="priceTitle">{{''+(status==0?orderInfo.refund_status===1?$root.m0:$root.m1:$root.m2)+''}}<label data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi _span" bindtap="__e"></label></view><block wx:if="{{status==0}}"><view class="listChange"><block wx:if="{{orderInfo.refund_status===0}}"><view class="item acea-row row-between-wrapper"><view>{{$root.m3+"("+$root.m4+")"}}</view><view class="money">{{''+orderInfo.total_price}}<label class="iconfont icon-suozi _span"></label></view></view></block><block wx:if="{{orderInfo.refund_status===0}}"><view class="item acea-row row-between-wrapper"><view>{{$root.m5+"("+$root.m6+")"}}</view><view class="money">{{''+orderInfo.pay_postage}}<label class="iconfont icon-suozi _span"></label></view></view></block><block wx:if="{{orderInfo.refund_status===0}}"><view class="item acea-row row-between-wrapper"><view>{{$root.m7+"("+$root.m8+")"}}</view><view class="money"><input class="{{[focus===true?'on':'']}}" type="text" data-event-opts="{{[['focus',[['priceChange',['$event']]]],['input',[['__set_model',['','price','$event',[]]]]]]}}" value="{{price}}" bindfocus="__e" bindinput="__e"/></view></view></block><block wx:if="{{orderInfo.refund_status===1}}"><view class="item acea-row row-between-wrapper"><view>{{$root.m9+"("+$root.m10+")"}}</view><view class="money">{{''+orderInfo.pay_price}}<label class="iconfont icon-suozi _span"></label></view></view></block><block wx:if="{{orderInfo.refund_status===1}}"><view class="item acea-row row-between-wrapper"><view>{{$root.m11+"("+$root.m12+")"}}</view><view class="money"><input class="{{[focus===true?'on':'']}}" type="text" data-event-opts="{{[['focus',[['priceChange',['$event']]]],['input',[['__set_model',['','refund_price','$event',[]]]]]]}}" value="{{refund_price}}" bindfocus="__e" bindinput="__e"/></view></view></block></view></block><block wx:else><view class="listChange"><textarea placeholder="{{orderInfo.remark?orderInfo.remark:$root.m13}}" data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" value="{{remark}}" bindinput="__e"></textarea></view></block><view data-event-opts="{{[['tap',[['save',['$event']]]]]}}" class="modify" bindtap="__e">{{''+(status==1||orderInfo.refund_status==0?$root.m14:$root.m15)+''}}</view><block wx:if="{{orderInfo.refund_status==1&&status==0}}"><view data-event-opts="{{[['tap',[['refuse',['$event']]]]]}}" class="modify1" bindtap="__e">{{''+$root.m16+''}}</view></block></view><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" hidden="{{!(change===true)}}" class="mask" bindtouchmove="__e"></view></view>
<view><view class="{{['priceChange',change===true?'on':'']}}"><view class="priceTitle">{{''+(status==0?$root.m0:status==1?$root.m1:$root.m2)+''}}<label data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi _span" bindtap="__e"></label></view><block wx:if="{{status==0||status==2}}"><view class="listChange"><block wx:if="{{orderInfo.refund_status===0}}"><view class="item acea-row row-between-wrapper"><view>{{$root.m3+"("+$root.m4+")"}}</view><view class="money">{{''+orderInfo.total_price}}<label class="iconfont icon-suozi _span"></label></view></view></block><block wx:if="{{orderInfo.refund_status===0}}"><view class="item acea-row row-between-wrapper"><view>{{$root.m5+"("+$root.m6+")"}}</view><view class="money">{{''+orderInfo.pay_postage}}<label class="iconfont icon-suozi _span"></label></view></view></block><block wx:if="{{orderInfo.refund_status===0}}"><view class="item acea-row row-between-wrapper"><view>{{$root.m7+"("+$root.m8+")"}}</view><view class="money"><input class="{{[focus===true?'on':'']}}" type="text" data-event-opts="{{[['focus',[['priceChange',['$event']]]],['input',[['__set_model',['','price','$event',[]]]]]]}}" value="{{price}}" bindfocus="__e" bindinput="__e"/></view></view></block><block wx:if="{{orderInfo.refund_status===1}}"><view class="item acea-row row-between-wrapper"><view>{{$root.m9+"("+$root.m10+")"}}</view><view class="money">{{''+orderInfo.pay_price}}<label class="iconfont icon-suozi _span"></label></view></view></block><block wx:if="{{orderInfo.refund_status===1}}"><view class="item acea-row row-between-wrapper"><view>{{$root.m11+"("+$root.m12+")"}}</view><view class="money"><input class="{{[focus===true?'on':'']}}" type="text" data-event-opts="{{[['focus',[['priceChange',['$event']]]],['input',[['__set_model',['','refund_price','$event',[]]]]]]}}" value="{{refund_price}}" bindfocus="__e" bindinput="__e"/></view></view></block></view></block><block wx:else><view class="listChange"><textarea placeholder="{{orderInfo.remark?orderInfo.remark:$root.m13}}" data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" value="{{remark}}" bindinput="__e"></textarea></view></block><view data-event-opts="{{[['tap',[['save',['$event']]]]]}}" class="modify" bindtap="__e">{{''+(status==1||orderInfo.refund_status==0?$root.m14:$root.m15)+''}}</view><block wx:if="{{orderInfo.refund_status==1&&status==0}}"><view data-event-opts="{{[['tap',[['refuse',['$event']]]]]}}" class="modify1" bindtap="__e">{{''+$root.m16+''}}</view></block></view><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" hidden="{{!(change===true)}}" class="mask" bindtouchmove="__e"></view></view>

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 +1 @@
.pos-order-list .nav{width:100%;height:96rpx;background-color:#fff;font-size:30rpx;color:#282828;position:fixed;top:0;left:0;z-index:9999}.pos-order-list .nav .item.on{color:#2291f8}.pos-order-list .list{margin-top:120rpx}.pos-order-list .nothing{margin-top:120rpx;text-align:center;color:#cfcfcf}.pos-order-list .list .item{background-color:#fff;width:100%}.pos-order-list .list .item~.item{margin-top:24rpx}.pos-order-list .list .item .order-num{height:124rpx;border-bottom:1px solid #eee;font-size:30rpx;font-weight:700;color:#282828;padding:0 30rpx}.pos-order-list .list .item .order-num .state{color:#2291f8;font-weight:400}.pos-order-list .list .item .order-num .state.on{font-size:24rpx;width:150rpx;text-align:right}.pos-order-list .list .item .order-num .time{font-size:26rpx;font-weight:400;color:#999}.pos-order-list .list .item .operation{padding:20rpx 30rpx;margin-top:3rpx}.pos-order-list .list .item .operation .more{position:relative}.pos-order-list .list .item .operation .icon-gengduo{font-size:50rpx;color:#aaa}.pos-order-list .list .item .operation .order .arrow{width:0;height:0;border-left:11rpx solid transparent;border-right:11rpx solid transparent;border-top:20rpx solid #e5e5e5;position:absolute;left:15rpx;bottom:-18rpx}.pos-order-list .list .item .operation .order .arrow:before{content:"";width:0;height:0;border-left:7rpx solid transparent;border-right:7rpx solid transparent;border-top:20rpx solid #fff;position:absolute;left:-7rpx;bottom:0}.pos-order-list .list .item .operation .order{width:200rpx;background-color:#fff;border:1px solid #eee;border-radius:10rpx;position:absolute;top:-100rpx;z-index:9}.pos-order-list .list .item .operation .order .items{height:77rpx;line-height:77rpx;text-align:center}.pos-order-list .list .item .operation .order .items~.items{border-top:1px solid #f5f5f5}.pos-order-list .list .item .operation .bnt{font-size:28rpx;color:#5c5c5c;width:170rpx;height:60rpx;border-radius:30rpx;border:1px solid #bbb;text-align:center;line-height:60rpx}.pos-order-list .list .item .operation .bnt~.bnt{margin-left:14rpx}.pos-order-list .list .item .operation .wait{margin-left:30rpx}.pos-order-goods{padding:0 30rpx;background-color:#fff}.pos-order-goods .goods{padding:28rpx 0}.pos-order-goods .goods~.goods{border-top:1px dashed #e5e5e5}.pos-order-goods .goods .picTxt{width:515rpx}.pos-order-goods .goods .picTxt .pictrue{width:130rpx;height:130rpx}.pos-order-goods .goods .picTxt .pictrue image{width:100%;height:100%;border-radius:6rpx}.pos-order-goods .goods .picTxt .text{width:365rpx;height:130rpx}.pos-order-goods .goods .picTxt .text .info{width:100%;font-size:28rpx;color:#282828}.pos-order-goods .goods .picTxt .text .attr{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:24rpx;color:#999}.pos-order-goods .goods .money{width:164rpx;text-align:right;font-size:28rpx}.pos-order-goods .goods .money .info{margin-top:18rpx;font-size:24rpx}.pos-order-goods .goods .money .x-money{color:#282828}.pos-order-goods .goods .money .num{color:#ff9600;margin:5rpx 0}.pos-order-goods .goods .money .y-money{color:#999;text-decoration:line-through}.public-total{font-size:28rpx;color:#282828;border-top:1px solid #eee;height:92rpx;line-height:92rpx;text-align:right;padding:0 30rpx;background-color:#fff}.public-total .money{color:#ff4c3c}
.pos-order-list .nav{width:100%;height:96rpx;background-color:#fff;font-size:30rpx;color:#282828;position:fixed;top:0;left:0;z-index:9999}.pos-order-list .nav .item.on{color:#2291f8}.pos-order-list .list{margin-top:120rpx}.pos-order-list .nothing{margin-top:120rpx;text-align:center;color:#cfcfcf}.pos-order-list .list .item{background-color:#fff;width:100%}.pos-order-list .list .item~.item{margin-top:24rpx}.pos-order-list .list .item .order-num{height:124rpx;border-bottom:1px solid #eee;font-size:30rpx;font-weight:700;color:#282828;padding:0 30rpx}.pos-order-list .list .item .order-num .state{color:#2291f8;font-weight:400}.pos-order-list .list .item .order-num .state.on{font-size:24rpx;width:150rpx;text-align:right}.pos-order-list .list .item .order-num .time{font-size:26rpx;font-weight:400;color:#999}.pos-order-list .list .item .operation{padding:20rpx 30rpx;margin-top:3rpx}.pos-order-list .list .item .operation .more{position:relative}.pos-order-list .list .item .operation .icon-gengduo{font-size:50rpx;color:#aaa}.pos-order-list .list .item .operation .order .arrow{width:0;height:0;border-left:11rpx solid transparent;border-right:11rpx solid transparent;border-top:20rpx solid #e5e5e5;position:absolute;left:15rpx;bottom:-18rpx}.pos-order-list .list .item .operation .order .arrow:before{content:"";width:0;height:0;border-left:7rpx solid transparent;border-right:7rpx solid transparent;border-top:20rpx solid #fff;position:absolute;left:-7rpx;bottom:0}.pos-order-list .list .item .operation .order{width:200rpx;background-color:#fff;border:1px solid #eee;border-radius:10rpx;position:absolute;top:-100rpx;z-index:9}.pos-order-list .list .item .operation .order .items{height:77rpx;line-height:77rpx;text-align:center}.pos-order-list .list .item .operation .order .items~.items{border-top:1px solid #f5f5f5}.pos-order-list .list .item .operation .bnt{font-size:28rpx;color:#5c5c5c;width:170rpx;height:60rpx;border-radius:30rpx;border:1px solid #bbb;text-align:center;line-height:60rpx}.pos-order-list .list .item .operation .bnt~.bnt{margin-left:14rpx}.pos-order-list .list .item .operation .wait{margin-left:30rpx;color:#ff4500}.pos-order-goods{padding:0 30rpx;background-color:#fff}.pos-order-goods .goods{padding:28rpx 0}.pos-order-goods .goods~.goods{border-top:1px dashed #e5e5e5}.pos-order-goods .goods .picTxt{width:515rpx}.pos-order-goods .goods .picTxt .pictrue{width:130rpx;height:130rpx}.pos-order-goods .goods .picTxt .pictrue image{width:100%;height:100%;border-radius:6rpx}.pos-order-goods .goods .picTxt .text{width:365rpx;height:130rpx}.pos-order-goods .goods .picTxt .text .info{width:100%;font-size:28rpx;color:#282828}.pos-order-goods .goods .picTxt .text .attr{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:24rpx;color:#999}.pos-order-goods .goods .money{width:164rpx;text-align:right;font-size:28rpx}.pos-order-goods .goods .money .info{margin-top:18rpx;font-size:24rpx}.pos-order-goods .goods .money .x-money{color:#282828}.pos-order-goods .goods .money .num{color:#ff9600;margin:5rpx 0}.pos-order-goods .goods .money .y-money{color:#999;text-decoration:line-through}.public-total{font-size:28rpx;color:#282828;border-top:1px solid #eee;height:92rpx;line-height:92rpx;text-align:right;padding:0 30rpx;background-color:#fff}.public-total .money{color:#ff4c3c}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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