(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["priceAdjustmentTask/components/details"],{"0bb0":function(e,t,r){"use strict";r.r(t);var i=r("97d4"),n=r.n(i);for(var c in i)"default"!==c&&function(e){r.d(t,e,(function(){return i[e]}))}(c);t["default"]=n.a},2469:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return c})),r.d(t,"a",(function(){return i}));var i={uniIcons:function(){return Promise.all([r.e("common/vendor"),r.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(r.bind(null,"3b32"))}},n=function(){var e=this,t=e.$createElement,r=(e._self._c,e.typeBackground(e.details.taskExecutStatus)),i=e.typeColor(e.details.taskExecutStatus),n=e.typeColor(e.details.taskExecutStatus),c=e._f("typeText")(e.details.taskExecutStatus),u=e._f("state")(e.details.effectiveMode),a=e.__map(e.priceData,(function(t,r){var i=e.__get_orig(t),n=Number(e.details[t.price]),c=n?Number(e.details[t.price]).toFixed("底价"==t.lable?4:2):null,u=e.iconFn(t),a=e.icontype(t),s=Number(e.details[t.oldePrice]),l=s?Number(e.details[t.oldePrice]).toFixed("底价"==t.lable?4:2):null;return{$orig:i,m3:n,g0:c,m4:u,m5:a,m6:s,g1:l}}));e.$mp.data=Object.assign({},{$root:{m0:r,m1:i,m2:n,f0:c,f1:u,l0:a}})},c=[]},"97d4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={props:{details:{type:Object,default:null}},data:function(){return{priceData:[{lable:"发改委价格",price:"marketPrice",oldePrice:"oldMarketPrice"},{lable:"油站价格",price:"sitePrice",oldePrice:"oldSitePrice"},{lable:"个人价",price:"personalPrice",oldePrice:"oldPersonalPrice"},{lable:"企业价",price:"enterprisePrice",oldePrice:"oldEnterprisePrice"},{lable:"底价",price:"floorPrice",oldePrice:"oldFloorPrice"},{lable:"结算价",price:"settlementPrice",oldePrice:"oldSettlementPrice"}]}},watch:{details:function(e,t){e&&console.log(this.details,"*********************")}},mounted:function(){var e=this;console.log(this.details,"******/***"),setTimeout((function(){console.log(e.details,"*********")}),1e3)},created:function(){},filters:{state:function(e){switch(Number(e)){case 0:return"即时";case 1:return"预约";default:return"---"}},typeText:function(e){switch(Number(e)){case 0:return"等待执行";case 1:return"执行成功";case-1:return"执行失败";case-2:return"任务撤回";default:return"---"}},applyStatus:function(e){switch(Number(e)){case 1:return"审核通过";case 2:return"等待执行";case 3:return"执行成功";case 0:return"等待审核";case-1:return"审核失败";case-2:return"已撤回";case-3:return"执行失败";case-4:return"已撤销"}}},methods:{icontype:function(e){return console.log(this.details[e.price],this.details[e.oldePrice],"////////"),Number(this.details[e.price])>Number(this.details[e.oldePrice])?"icona-shangzhang1":Number(this.details[e.price])Number(this.details[e.oldePrice])?"#ff5555":Number(this.details[e.price])