usedTotal.js 4.8 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/usedTotal/usedTotal"],{4482:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var a={uniTable:function(){return n.e("uni_modules/uni-table/components/uni-table/uni-table").then(n.bind(null,"0863f"))},uniTr:function(){return n.e("uni_modules/uni-table/components/uni-tr/uni-tr").then(n.bind(null,"e4a9"))},uniTh:function(){return n.e("uni_modules/uni-table/components/uni-th/uni-th").then(n.bind(null,"cfde"))},uniTd:function(){return n.e("uni_modules/uni-table/components/uni-td/uni-td").then(n.bind(null,"5c67"))},uniDataCheckbox:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox")]).then(n.bind(null,"be76"))}},c=function(){var t=this,e=t.$createElement;t._self._c;t._isMounted||(t.e0=function(e){t.headerNavType=1},t.e1=function(e){t.headerNavType=2})},i=[]},"5ef9":function(t,e,n){"use strict";n.r(e);var a=n("74ac"),c=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=c.a},"74ac":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n("cea2");function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=function(){Promise.all([n.e("common/vendor"),n.e("components/commons-select-time/index")]).then(function(){return resolve(n("76f4"))}.bind(null,n)).catch(n.oe)},u={components:{commonsSelectTime:o},data:function(){return{companyType:0,companyList:[{text:"金额",value:0},{text:"件",value:1},{text:"米",value:2},{text:"平方",value:3}],warehouseList:[{text:"全部",value:0},{text:"一楼",value:1},{text:"四楼",value:2}],req:{type:0,time:[],beginTime:null,endTime:null},technologyTypeList:["直喷","热转","打纸","墨水","其他"],headerNavType:1,fabricStatisticsType:0,selectFabricWType:0,selectFabricEWType:0,selectFabricWData:{},fabricStatisticsData:{},selectFabricEWData:{},selectInkStatisticsData:{},selectInkEWData:{},selectInkEWData2:{}}},onLoad:function(t){var e=this;e.getSelectFabricStatistics(),e.getSelectFabricW(),e.getSelectFabricEW(),e.getSelectInkStatistics(),e.getSelectInkEW(),e.getSelectInkEW2()},methods:{timeInit:function(){this.getSelectFabricEW(),this.getSelectFabricW(),this.getSelectInkEW(),this.getSelectInkEW2()},timeChangeFn:function(){console.log(this.req)},toRouter:function(e){console.log(123123),t.navigateTo({url:"/pages"+e})},getSelectFabricEW:function(){var t=this;t.$post("/applet/selectFabricEW",c({houseType:t.selectFabricEWType},t.req)).then((function(e){t.selectFabricEWData=e.data}))},getSelectFabricW:function(){var t=this;t.$post("/applet/selectFabricW",c({houseType:t.selectFabricWType},t.req)).then((function(e){t.selectFabricWData=e.data}))},getSelectFabricStatistics:function(){var t=this;t.$post("/applet/selectFabricStatistics",{type:t.fabricStatisticsType}).then((function(e){t.fabricStatisticsData=e.data}))},getSelectInkStatistics:function(){var t=this;t.$post("/applet/selectInkStatistics",{}).then((function(e){e.data.amountTotal=1*e.data.amountTotal;for(var n=0;n<e.data.details.length;n++)e.data.details[n].amount=1*e.data.details[n].amount;t.selectInkStatisticsData=e.data}))},getSelectInkEW:function(){var t=this;t.$post("/applet/selectInkEW",c(c({},t.req),{},{EWType:1})).then((function(e){t.selectInkEWData=e.data}))},getSelectInkEW2:function(){var t=this;t.$post("/applet/selectInkEW",c(c({},t.req),{},{EWType:2})).then((function(e){console.log(e.data,12312312312312312e7),t.selectInkEWData2=e.data}))}}};e.default=u}).call(this,n("543d")["default"])},"7ae1":function(t,e,n){"use strict";n.r(e);var a=n("4482"),c=n("5ef9");for(var i in c)"default"!==i&&function(t){n.d(e,t,(function(){return c[t]}))}(i);n("9e0e");var o,u=n("f0c5"),r=Object(u["a"])(c["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);e["default"]=r.exports},8398:function(t,e,n){},"9e0e":function(t,e,n){"use strict";var a=n("8398"),c=n.n(a);c.a},d4de:function(t,e,n){"use strict";(function(t){n("6b59");a(n("66fd"));var e=a(n("7ae1"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])}},[["d4de","common/runtime","common/vendor"]]]);