| 1 |
- require('common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesPurchase/order"],{"0e54":function(t,e,n){"use strict";(function(t){n("6cdc");u(n("b5e3"));var e=u(n("fb3f"));function u(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("934e")["createPage"])},4067:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n("a075"),a=function(){Promise.all([n.e("common/vendor"),n.e("pagesPurchase/orderItem")]).then(function(){return resolve(n("8ab3"))}.bind(null,n)).catch(n.oe)},i=function(){n.e("components/app-wrapper-empty").then(function(){return resolve(n("c078"))}.bind(null,n)).catch(n.oe)},r={components:{AppWrapperEmpty:i,OrderItem:a},data:function(){return{tabs:[{name:"供应商",key:""},{name:"采购记录",key:"1"},{name:"111",key:"1"}],list:{data:[]},supplierList:[],tabIndex:0}},onPullDownRefresh:function(){this.getGHSList().then((function(e){t.stopPullDownRefresh()}))},methods:{enter:function(e){var n=e.id;t.navigateTo({url:"/pagesPurchase/ghsProduct?id=".concat(n),type:2}),t.removeStorageSync("ghsXj"+n)},init:function(){this.getGHSList()},getGHSList:function(){var t=this;return(0,u.ghsList)().then((function(e){t.supplierList=e.data.list,console.log(t.supplierList,111)})).catch((function(t){console.log(t)}))},settleAccounts:function(t){this.pageTo({url:"/pagesPurchase/gathering?id="+t.id})},gotoDetails:function(t){console.log(t),this.pageTo({url:"/pagesPurchase/purDetails?status="+t.status+"&id="+t.id,type:2})}}};e.default=r}).call(this,n("934e")["default"])},"8da8":function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return u}));var a=function(){var t=this,e=t.$createElement,n=(t._self._c,0==t.tabIndex?t.$util.isEmpty(t.supplierList):null),u=0!=t.tabIndex||n?null:t.__map(t.supplierList,(function(e,n){var u=t.__get_orig(e),a=Number(e.debtAmount);return{$orig:u,m0:a}})),a=0==t.tabIndex&&n?t.$util.isEmpty(t.supplierList):null;t.$mp.data=Object.assign({},{$root:{g0:n,l0:u,g1:a}})},i=[]},adc3:function(t,e,n){"use strict";var u=n("e26f"),a=n.n(u);a.a},dcaa:function(t,e,n){"use strict";n.r(e);var u=n("4067"),a=n.n(u);for(var i in u)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(i);e["default"]=a.a},e26f:function(t,e,n){},fb3f:function(t,e,n){"use strict";n.r(e);var u=n("8da8"),a=n("dcaa");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("adc3");var r,o=n("8261"),c=Object(o["a"])(a["default"],u["b"],u["c"],!1,null,"3cab2f47",null,!1,u["a"],r);e["default"]=c.exports}},[["0e54","common/runtime","common/vendor"]]]);
|