1 line
3.2 KiB
JavaScript
1 line
3.2 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/everdayRenven/detail"],{"12cf":function(e,t,n){"use strict";n.r(t);var a=n("415b"),i=n("f440");for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("fd34");var s,r=n("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"ea49f17c",null,!1,a["a"],s);t["default"]=u.exports},3938:function(e,t,n){"use strict";(function(e){n("40da");a(n("66fd"));var t=a(n("12cf"));function a(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"415b":function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var i=function(){var e=this,t=e.$createElement,n=(e._self._c,e.showPage&&!e.isBrandService?e.$util.fmoney(e.pageMsg.CASHPAY):null),a=e.showPage&&e.isBrandService&&e.pageMsg.Revenue_Amount?e.$util.fmoney(e.pageMsg.Revenue_Amount,2):null;e.$mp.data=Object.assign({},{$root:{g0:n,g1:a}})},o=[]},a15b:function(e,t,n){},c13c:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){n.e("pages/everdayRenven/components/listUnit").then(function(){return resolve(n("edea"))}.bind(null,n)).catch(n.oe)},i={data:function(){return{showPage:!1,isBrandService:!1,pageMsg:{},keyJson:{SHOWMORE_SIGN:{1:"【长款】",2:"【异常长款】"},SHOWLESS_SIGN:{1:"【短款】",2:"【异常短款】"},SHOWABNORMAL_SIGN:{1:"【异常校验】"},SHOWSCAN_SIGN:{1:"【扫】"},SHOWSSUPPLY_SIGN:{1:"【补】"},SHOWCHECK_SIGN:{1:"【稽核检查】"},INTERFACE_SIGN:{1:"【接口传输】"}}}},components:{shopCell:a},methods:{toggleShow:function(e){var t=this.isBrandService?this.pageMsg.listBrandShopModel[e]:this.pageMsg.List[e];t.show=!t.show,this.$forceUpdate()},getData:function(t){var n=this,a=this;this.$request.$get("getShopRevenueList",{serverpartID:t.id,pushProvinceCode:t.provinceId,StartDate:t.time,EndDate:t.time}).then((function(t){e.hideLoading(),100==t.ResultCode&&(t.Data.List.map((function(e){e.show=!1,e.detail=n.getDetail(e)})),a.pageMsg=t.Data,a.showPage=!0)}))},getDetail:function(e){var t=[],n=this.keyJson,a=["SHOWABNORMAL_SIGN","SHOWCHECK_SIGN","SHOWMORE_SIGN","SHOWLESS_SIGN","SHOWSCAN_SIGN","SHOWSSUPPLY_SIGN","INTERFACE_SIGN"];return a.map((function(a){n[a][e[a]]&&t.push(n[a][e[a]])})),t},getBrandRevenue:function(t){var n=this,a=this;this.$request.$webGet("/WeChat/GetServerpartBrandShop",{Serverpart_Id:t.id,business_Brand:t.bid,pushProvinceCode:t.provinceId,statictics_Time:t.time,bussiness_Trade:t.btid}).then((function(t){e.hideLoading(),100==t.Result_Code&&(t.Result_Data.listBrandShopModel.map((function(e){e.show=!1,e.detail=n.getDetail(e)})),a.pageMsg=t.Result_Data,a.showPage=!0)}))}},onUnload:function(){this.$util.addUserBehavior()},onLoad:function(t){e.showLoading({title:"正在加载..."}),t.bid?(this.isBrandService=!0,this.getBrandRevenue(t)):this.getData(t)}};t.default=i}).call(this,n("543d")["default"])},f440:function(e,t,n){"use strict";n.r(t);var a=n("c13c"),i=n.n(a);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},fd34:function(e,t,n){"use strict";var a=n("a15b"),i=n.n(a);i.a}},[["3938","common/runtime","common/vendor"]]]); |