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 lines
3.0 KiB

require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package2/index/downstream"],{"07a0":function(e,t,n){"use strict";(function(e,t){var u=n("47a9");n("7859");u(n("3240"));var o=u(n("f8fe"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"89c0":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=n("8f59"),o={name:"upstream",computed:(0,u.mapState)(["userId","shopIndex"]),data:function(){return{choose:"1",userId:"",showPrice:!1,options1:[{text:"编辑金额",style:{backgroundColor:"#3c9cff"}}],popupShow:!1,shopName:"",list:[],keyboardNum:""}},onShow:function(){this.getList()},methods:{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 t=this;this.tui.request("/app/debt/saveOrUpdateDebt","post",{userId:this.userId,amountOwed:this.keyboardNum,userType:"0"},!1,!1).then((function(e){200==e.code?(t.getList(),t.tui.toast("操作成功"),t.keyboardNum="",t.$refs.inputDialog.close()):(t.keyboardNum="",t.tui.toast(e.message))}))},toggle:function(e){this.userId=e.userId,this.$refs.inputDialog.open()},getList:function(){var e=this;this.tui.request("/app/customer/debt","POST",{},!1,!0).then((function(t){200==t.code?e.list=t.result.records:e.tui.toast(t.message)}))},onItemClick:function(t){e.navigateTo({url:"/pages/index/downarrears?userId=".concat(t.userId,"&nickname=").concat(t.nickname)})}}};t.default=o}).call(this,n("df3c")["default"])},a465:function(e,t,n){"use strict";var u=n("d526"),o=n.n(u);o.a},a526:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return u}));var u={uAlert:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-alert/u-alert")]).then(n.bind(null,"9f6d"))},uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,"2864"))},uKeyboard:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-keyboard/u-keyboard")]).then(n.bind(null,"e056"))}},o=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.showPrice=!0})},i=[]},d526:function(e,t,n){},e789:function(e,t,n){"use strict";var u=n("effd6"),o=n.n(u);o.a},ecbf:function(e,t,n){"use strict";n.r(t);var u=n("89c0"),o=n.n(u);for(var i in u)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(i);t["default"]=o.a},effd6:function(e,t,n){},f8fe:function(e,t,n){"use strict";n.r(t);var u=n("a526"),o=n("ecbf");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("a465"),n("e789");var a=n("828b"),r=Object(a["a"])(o["default"],u["b"],u["c"],!1,null,"420536e2",null,!1,u["a"],void 0);t["default"]=r.exports}},[["07a0","common/runtime","common/vendor"]]]);