index.js 3.4 KB

12345678910
  1. require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/components/PriceChange/index"],{"04d4":function(t,s,e){"use strict";e.r(s);var n=e("9ec1"),r=e("73b2");for(var u in r)["default"].indexOf(u)<0&&function(t){e.d(s,t,(function(){return r[t]}))}(u);e("9868");var a=e("828b"),o=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);s["default"]=o.exports},"73b2":function(t,s,e){"use strict";e.r(s);var n=e("bb91"),r=e.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){e.d(s,t,(function(){return n[t]}))}(u);s["default"]=r.a},"919e":function(t,s,e){},9868:function(t,s,e){"use strict";var n=e("919e"),r=e.n(n);r.a},"9ec1":function(t,s,e){"use strict";e.d(s,"b",(function(){return n})),e.d(s,"c",(function(){return r})),e.d(s,"a",(function(){}));var n=function(){var t=this,s=t.$createElement,e=(t._self._c,0==t.status?t.$t("一键改价"):null),n=0!=t.status&&1==t.status?t.$t("订单备注"):null,r=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("原始邮费"),i=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("实际支付"),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("¥"),h=0==t.status||2==t.status||t.orderInfo.remark?null:t.$t("请填写备注信息"),_=1==t.status||0==t.orderInfo.refund_status?t.$t("立即修改"):null,$=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:n,m2:r,m3:u,m4:a,m5:o,m6:i,m7:f,m8:c,m9:d,m10:l,m11:m,m12:p,m13:h,m14:_,m15:$,m16:I}})},r=[]},bb91:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.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(){this.$emit("savePrice",{price:this.price,refund_price:this.refund_price,type:1,remark:this.remark})},refuse:function(){this.$emit("savePrice",{price:this.price,refund_price:this.refund_price,type:2,remark:this.remark})}}};s.default=n}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'pages/admin/components/PriceChange/index-create-component',
  4. {
  5. 'pages/admin/components/PriceChange/index-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('df3c')['createComponent'](__webpack_require__("04d4"))
  7. })
  8. },
  9. [['pages/admin/components/PriceChange/index-create-component']]
  10. ]);