平板端快衣店
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.
 
 
 
 
 

2 lines
4.2 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/upstream"],{308:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var u=o(t(309));e.__webpack_require_UNI_MP_PLUGIN__=t,n(u.default)}).call(this,t(1)["default"],t(2)["createPage"])},309:function(e,n,t){"use strict";t.r(n);var o=t(310),u=t(312);for(var r in u)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(r);t(314),t(316);var i,s=t(38),c=Object(s["default"])(u["default"],o["render"],o["staticRenderFns"],!1,null,"13d5c731",null,!1,o["components"],i);c.options.__file="pages/index/upstream.vue",n["default"]=c.exports},310:function(e,n,t){"use strict";t.r(n);var o=t(311);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},311:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return u})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return r})),t.d(n,"components",(function(){return o}));try{o={uAlert:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-alert/u-alert")]).then(t.bind(null,1224))},uniPopup:function(){return t.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(t.bind(null,1064))},uKeyboard:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-keyboard/u-keyboard")]).then(t.bind(null,1192))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var u=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.showPrice=!0})},r=!1,i=[];u._withStripped=!0},312:function(e,n,t){"use strict";t.r(n);var o=t(313),u=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=u.a},313:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t(32),u={name:"upstream",computed:(0,o.mapState)(["userId","shopIndex"]),data:function(){return{choose:"1",keyboardNum:"",userId:"",showPrice:!1,options1:[{text:"编辑金额",style:{backgroundColor:"#3c9cff"}}],popupShow:!1,shopName:"",list:[]}},onShow:function(){this.getList()},onLoad:function(){},methods:{getList:function(){var e=this;this.tui.request("/app/purchase/debt","get",{},!1,!0).then((function(n){200==n.code?e.list=n.result.records:e.tui.toast(n.message)}))},onItemClick:function(n){e.navigateTo({url:"/pages/index/uparrears?supplierId=".concat(n.supplierId,"&consigneeName=").concat(n.supplierName)})},keyboardConfirm:function(){this.showPrice=!1},keyCancel:function(){this.showPrice=!1,this.keyboardNum=""},valChange:function(e){this.keyboardNum+=e},backspace:function(e){this.keyboardNum=e},huicancel:function(){this.$refs.inputDialog.close(),this.keyboardNum=""},receivePay:function(e){var n=this;this.tui.request("/app/debt/saveOrUpdateDebt","post",{userId:this.userId,amountOwed:this.keyboardNum,userType:"1"},!1,!1).then((function(e){200==e.code?(n.getList(),n.tui.toast("操作成功"),n.keyboardNum="",n.$refs.inputDialog.close()):(n.keyboardNum="",n.tui.toast(e.message))}))},toggle:function(e){this.userId=e.supplierId,this.$refs.inputDialog.open()}}};n.default=u}).call(this,t(2)["default"])},314:function(e,n,t){"use strict";t.r(n);var o=t(315),u=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=u.a},315:function(e,n,t){},316:function(e,n,t){"use strict";t.r(n);var o=t(317),u=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=u.a},317:function(e,n,t){}},[[308,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/upstream.js.map