You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
49 KiB
1 line
49 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-warehouse-weituo"],{"0001":function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("a9e3");var n={props:{loading:{type:Boolean,default:uni.$u.props.switch.loading},disabled:{type:Boolean,default:uni.$u.props.switch.disabled},size:{type:[String,Number],default:uni.$u.props.switch.size},activeColor:{type:String,default:uni.$u.props.switch.activeColor},inactiveColor:{type:String,default:uni.$u.props.switch.inactiveColor},value:{type:[Boolean,String,Number],default:uni.$u.props.switch.value},activeValue:{type:[String,Number,Boolean],default:uni.$u.props.switch.activeValue},inactiveValue:{type:[String,Number,Boolean],default:uni.$u.props.switch.inactiveValue},asyncChange:{type:Boolean,default:uni.$u.props.switch.asyncChange},space:{type:[String,Number],default:uni.$u.props.switch.space}}};t.default=n},"0f2a":function(e,t,i){var n=i("53c1");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("0cf1b5d1",n,!0,{sourceMap:!1,shadowMode:!1})},"19d0":function(e,t,i){"use strict";var n=i("0f2a"),o=i.n(n);o.a},"1a22":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.show?i("v-uni-view",{staticClass:"u-loading-icon",class:[e.vertical&&"u-loading-icon--vertical"],style:[e.$u.addStyle(e.customStyle)]},[e.webviewHide?e._e():i("v-uni-view",{ref:"ani",staticClass:"u-loading-icon__spinner",class:["u-loading-icon__spinner--"+e.mode],style:{color:e.color,width:e.$u.addUnit(e.size),height:e.$u.addUnit(e.size),borderTopColor:e.color,borderBottomColor:e.otherBorderColor,borderLeftColor:e.otherBorderColor,borderRightColor:e.otherBorderColor,"animation-duration":e.duration+"ms","animation-timing-function":"semicircle"===e.mode||"circle"===e.mode?e.timingFunction:""}},["spinner"===e.mode?e._l(e.array12,(function(e,t){return i("v-uni-view",{key:t,staticClass:"u-loading-icon__dot"})})):e._e()],2),e.text?i("v-uni-text",{staticClass:"u-loading-icon__text",style:{fontSize:e.$u.addUnit(e.textSize),color:e.textColor}},[e._v(e._s(e.text))]):e._e()],1):e._e()},o=[]},"204a":function(e,t,i){"use strict";i.r(t);var n=i("ad26"),o=i("4ad4");for(var a in o)["default"].indexOf(a)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(a);i("9e48");var r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"12709030",null,!1,n["a"],void 0);t["default"]=s.exports},3365:function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("a9e3");var o=n(i("a7fb")),a=i("4838"),r={data:function(){return{orderInfo:[],warehouse:[],orderDetails:{},value:30,min:0,max:0,coupon_id:null,sxfRadio:null,sxf:null,switchValue:1,total:0,enough:0,couponNumOrgin:0,available_commission_amount:0}},methods:{changeYongjin:function(e){if(console.log(e),e){var t=(Number(this.sxf)-Number(this.couponNumOrgin)-Number(this.available_commission_amount)).toFixed(2);this.total=t>0?t:0}else(Number(this.sxf)-Number(this.couponNumOrgin)).toFixed(2)>0?this.total=(Number(this.sxf)-Number(this.couponNumOrgin)).toFixed(2):this.total=0},submitHandle:function(){var e=this,t={order_id:this.id,coupon_id:this.coupon_id,use_commission:this.switchValue};(0,a.payUpGoods)(t).then((function(t){1==t.data.pay_data?(uni.showToast({title:"支付成功",icon:"none"}),uni.redirectTo({url:"/pages/qianggou/productList"})):(o.default.config({debug:!1,appId:t.data.pay_data.appId,timestamp:t.data.pay_data.timeStamp,nonceStr:t.data.pay_data.nonceStr,signature:t.data.pay_data.signType,jsApiList:["chooseWXPay"]}),o.default.ready((function(){o.default.checkJsApi({jsApiList:["chooseWXPay"],success:function(e){console.log("checkjsapi Success"),console.log(e)},fail:function(e){console.log("res"),console.log(e)}}),o.default.chooseWXPay({timestamp:t.data.pay_data.timeStamp,nonceStr:t.data.pay_data.nonceStr,package:t.data.pay_data.package,sig
|