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 line
6.1 KiB

2 years ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["priceAdjustment/page/addPrice/addPrice"],{"13b7":function(t,e,i){"use strict";var o=i("1707"),n=i.n(o);n.a},1707:function(t,e,i){},"243d":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return o}));var o={uniList:function(){return i.e("uni_modules/uni-list/components/uni-list/uni-list").then(i.bind(null,"0500"))},uniListItem:function(){return i.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(i.bind(null,"6d48"))},uRadioGroup:function(){return Promise.all([i.e("common/vendor"),i.e("uview-ui/components/u-radio-group/u-radio-group")]).then(i.bind(null,"b5d9"))},uRadio:function(){return i.e("uview-ui/components/u-radio/u-radio").then(i.bind(null,"9e1a"))},uniDatetimePicker:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker")]).then(i.bind(null,"b04c"))}},n=function(){var t=this,e=t.$createElement,i=(t._self._c,t.aboutEnterprise.oilProductCode?Number(t.aboutEnterprise.oilSiteOilsPrices[t.aboutEnterprise.oloIndex].marketPrice).toFixed(2):null),o=t.aboutEnterprise.oilProductCode?Number(t.aboutEnterprise.oilSiteOilsPrices[t.aboutEnterprise.oloIndex].sitePrice).toFixed(2):null;t._isMounted||(t.e0=function(e){t.show=!t.show}),t.$mp.data=Object.assign({},{$root:{g0:i,g1:o}})},r=[]},"6c65":function(t,e,i){"use strict";i.r(e);var o=i("c0c6"),n=i.n(o);for(var r in o)"default"!==r&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e["default"]=n.a},"95d3":function(t,e,i){"use strict";(function(t){i("84da");o(i("66fd"));var e=o(i("d983"));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=i,t(e.default)}).call(this,i("543d")["createPage"])},c0c6:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(i("3415")),n=(r(i("87ef")),r(i("4081")));function r(t){return t&&t.__esModule?t:{default:t}}var s={data:function(){return{params:{year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!1},shows:{img:!1,footer:!1},show:!1,disabled:!1,start:"",aboutEnterprise:{siteName:"",siteId:"",oilProductCode:"",effectiveMode:0,oloIndex:"",subEntryTime:"",applyStatus:0,marketPrice:"",sitePrice:"",oldMarketPrice:"",oldSitePrice:"",siteOilsPriceId:"",createSource:"OMS-MINIAPP"},isShow:{oliType:!1},radiolist1:[{name:"立即",value:0},{name:"预约",value:1}]}},onLoad:function(){var e=this;t.$on("serviceStation",(function(t){console.log("%c 油站参数更新↓","font-size:50px;color:red"),e.aboutEnterprise=Object.assign(e.aboutEnterprise,t),e.aboutEnterprise.siteId=e.aboutEnterprise.id,e.clearFn(),console.log(t)}));var i=new Date;i.setMinutes(i.getMinutes()+35),this.start="".concat(i.getFullYear(),"-").concat(i.getMonth()+1,"-").concat(i.getDate()," ").concat(i.getHours(),":").concat(i.getMinutes()),console.log(this.start,"---")},methods:{clearFn:function(){this.aboutEnterprise.oldMarketPrice="",this.aboutEnterprise.oloIndex="",this.aboutEnterprise.oilProductCode="",this.aboutEnterprise.oldSitePrice="",this.aboutEnterprise.siteOilsPriceId="",this.aboutEnterprise.marketPrice="",this.aboutEnterprise.sitePrice=""},datetimeChange:function(t){console.log(t,"*-*-*")},olioss:function(t,e){this.aboutEnterprise.oilProductCode=t.oilProductCode,this.aboutEnterprise.oloIndex=e,this.aboutEnterprise.oldMarketPrice=JSON.parse(JSON.stringify(this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].marketPrice)),this.aboutEnterprise.oldSitePrice=JSON.parse(JSON.stringify(this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].sitePrice)),this.aboutEnterprise=Object.assign(this.aboutEnterprise,this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex]),this.aboutEnterprise.siteOilsPriceId=this.aboutEnterprise.id},closeFn:function(){this.aboutEnterprise.oilProductCode="",this.isShow.oliType=!1},confirmFn:function(){this.isShow.oliType=!1},seleoli:function(){this.aboutEnterprise.oilSiteOilsPrices&&0!=this.abou