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 lines
23 KiB
1 lines
23 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/driverManagement/addDiver/addOilCard.vue?7e24","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/driverManagement/addDiver/addOilCard.vue?6158","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/driverManagement/addDiver/addOilCard.vue?7b3d","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/driverManagement/addDiver/addOilCard.vue?8880","uni-app:///driverManagement/addDiver/addOilCard.vue","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/driverManagement/addDiver/addOilCard.vue?2b05","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/driverManagement/addDiver/addOilCard.vue?76d5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,qH,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;AACc;;;AAGvE;AACgN;AAChN,gBAAgB,wNAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uPAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,mNAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAA2zB,CAAgB,20BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0H/0B,yF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SAEA,oBAFA,EAGA,eACA,UADA,EAEA,eAFA,IAIA,EACA,UADA,EAEA,eAFA,EAJA,CAHA,EAYA,mBACA,cADA,EAEA,gBAFA,EAGA,aAHA,EAIA,gBAJA,EAKA,oBALA,EAMA,sBANA,EAOA,wBAPA,EAQA,sBARA,EASA,wBATA,EAUA,QAVA,EAWA,YAXA,EAYA,wBAZA,EAaA,UAbA,EAZA,EA2BA,gBA3BA,EA4BA,YACA,SADA,EAEA,SAFA,EA5BA,GAiCA,CAnCA,EAoCA,MApCA,kBAoCA,CApCA,EAoCA,CACA,gBACA,oCACA,8BADA,GACA,IADA,CACA,EADA,CACA,yBADA,GACA,IADA,CACA,IADA,CAEA,kBACA,CAHA,EAIA,eACA,gCACA,kDACA,sDACA,gDACA,wDALA,CAMA;AACA,oDACA,2CACA,CACA,CApDA,EAqDA,WACA;AACA,QAFA,gBAEA,CAFA,EAEA,CACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA5BA,EA6BA,OA7BA,qBA6BA,kBACA,mDACA,0DACA,gCACA,gCACA,CAHA,EAIA,2CACA,uBACA,CArCA,EAsCA,MAtCA,oBAsCA,CACA,gBACA,iEACA,0EACA,+BACA,2DACA,mBACA,CAJA,EAKA,kCACA,CA/CA,EAgDA,IAhDA,kBAgDA,CACA,iBACA,yBADA,IAGA,CApDA,EAqDA,MArDA,kBAqDA,CArDA,EAqDA,CACA,gCACA,CAvDA,EArDA,E;;;;;;;;;;;;;AC3HA;AAAA;AAAA;AAAA;AAAkhD,CAAgB,s+CAAG,EAAC,C;;;;;;;;;;;ACAtiD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"driverManagement/addDiver/addOilCard.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './driverManagement/addDiver/addOilCard.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./addOilCard.vue?vue&type=template&id=6221401d&\"\nvar renderjs\nimport script from \"./addOilCard.vue?vue&type=script&lang=js&\"\nexport * from \"./addOilCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./addOilCard.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"driverManagement/addDiver/addOilCard.vue\"\nexport default component.exports","export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./addOilCard.vue?vue&type=template&id=6221401d&\"","var components\ntry {\n components = {\n uniList: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-list/components/uni-list/uni-list\" */ \"@/uni_modules/uni-list/components/uni-list/uni-list.vue\"\n )\n },\n uniListItem: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-list/components/uni-list-item/uni-list-item\" */ \"@/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue\"\n )\n },\n uSwitch: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-switch/u-switch\" */ \"@/uview-ui/components/u-switch/u-switch.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./addOilCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./addOilCard.vue?vue&type=script&lang=js&\"","<template>\r\n\t<!-- 布局 flex 组件 view -->\r\n\t<view class=\"addDiver_body\">\r\n\t\t<!-- 卡片 -->\r\n\t\t<view class=\"addDiver_card\">\r\n\t\t\r\n\t\t\t<view class=\"card_title\">\r\n\t\t\t\t<view class=\"tiao\"></view>\r\n\t\t\t\t<view style=\"display: flex;justify-content: space-between;width: 100%;\" class=\"card_title_text\">\r\n\t\t\t\t\t<view>关联绑定企业</view>\r\n\t\t\t\t\t<view @tap='clearFn' class=\"clear\">\r\n\t\t\t\t\t\t<image src=\"../../static/clear.png\" mode=\"heightFix\" style=\"height: 32rpx;margin-right: 10rpx;\"></image>\r\n\t\t\t\t\t\t清除\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\r\n\t\t\t<uni-list>\r\n\t\t\t\t<uni-list-item link=\"\">\r\n\t\t\t\t\t<view class=\"list_header\" slot=\"header\">\r\n\t\t\t\t\t\t<image src=\"@/static/bt.png\" style=\"width: 12rpx;position: absolute;left: 0;\" mode=\"widthFix\" ></image>\r\n\t\t\t\t\t\t企业名称\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"\" slot=\"body\" class=\"list_right\">\r\n\t\t\t\t\t\t<view @tap=\"jump\" slot=\"body\" :style=\"{color:aboutEnterprise.name?'#333333':' '}\" class=\"list_right list_nosele\">\r\n\t\t\t\t\t\t\t{{aboutEnterprise.name?aboutEnterprise.name:'请选择企业'}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</uni-list-item>\r\n\t\t\t\t<!-- <uni-list-item>\r\n\t\t\t\t\t<view class=\"list_header\" slot=\"header\">\r\n\t\t\t\t\t\t<image src=\"@/static/bt.png\" style=\"width: 12rpx;position: absolute;left: 0;\" mode=\"widthFix\" ></image>\r\n\t\t\t\t\t\t企业类型\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t<view slot=\"body\" class=\"list_right\">\r\n\t\t\t\t\t\t<u-radio-group iconPlacement=\"right\" v-model=\"enterpriseType\" placement=\"row\"\r\n\t\t\t\t\t\t\t@change=\"groupChange\">\r\n\t\t\t\t\t\t\t<u-radio :customStyle=\"{marginBottom: '8px'}\" v-for=\"(item, index) in radiolist1\"\r\n\t\t\t\t\t\t\t\t:key=\"index\" :label=\"item.name\" :name=\"item.name\" @change=\"radioChange\">\r\n\t\t\t\t\t\t\t\t{{item.name}}\r\n\t\t\t\t\t\t\t</u-radio>\r\n\t\t\t\t\t\t</u-radio-group>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</uni-list-item> -->\r\n\t\t\t\t<!-- <uni-list-item>\r\n\t\t\t\t\t<view class=\"list_header\" slot=\"header\">\r\n\t\t\t\t\t\t<image src=\"@/static/bt.png\" style=\"width: 12rpx;position: absolute;left: 0;\" mode=\"widthFix\" ></image>\r\n\t\t\t\t\t\t企业车牌</view>\r\n\t\t\t\t\t<view style=\"padding-right: 16px !important;\" slot=\"body\" class=\"list_right\">\r\n\t\t\t\t\t\t<view style=\"width: 100%; \">\r\n\t\t\t\t\t\t\t<input v-model=\"aboutEnterprise.plateNumberCompany\" placeholder=\"请输入企业车牌\" class=\"list_right_input\" />\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</uni-list-item> -->\r\n\t\t\t\t<uni-list-item>\r\n\t\t\t\t\t<view class=\"list_header\" slot=\"header\">\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t单日金额上限\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t<view slot=\"body\" class=\"list_right \">\r\n\t\t\t\t\t\t<view style=\"width: 100%;padding-right: 16px !important;display: flex; \">\r\n\t\t\t\t\t\t\t<input @input=\"sxfn('orderAmountToplimit')\" type=\"number\" v-model=\"aboutEnterprise.dayAmountToplimit\" class=\"list_right_input\" />\r\n\t\t\t\t\t\t\t<text class=\"yuan\">元</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</uni-list-item>\r\n\t\t\t\t<uni-list-item>\r\n\t\t\t\t\t<view class=\"list_header\" slot=\"header\">\r\n\t\t\t\t\t\t<!-- <image src=\"@/static/bt.png\" style=\"width: 12rpx;position: absolute;left: 0;\" mode=\"widthFix\" ></image> -->\r\n\t\t\t\t\t\t单次金额上限\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t<view slot=\"body\" class=\"list_right \">\r\n\t\t\t\t\t\t<view style=\"width: 100%;padding-right: 16px !important;display: flex; \">\r\n\t\t\t\t\t\t\t<input @input=\"sxfn('dayAmountToplimit')\" type=\"number\" v-model=\"aboutEnterprise.orderAmountToplimit\" class=\"list_right_input\" />\r\n\t\t\t\t\t\t\t<text class=\"yuan\">元</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</uni-list-item>\r\n\t\t\t\t<uni-list-item>\r\n\t\t\t\t\t<view class=\"list_header\" slot=\"header\">\r\n\t\t\t\t\t\t<!-- <image src=\"@/static/bt.png\" style=\"width: 12rpx;position: absolute;left: 0;\" mode=\"widthFix\" ></image> -->\r\n\t\t\t\t\t单日加油升数上限</view>\r\n\t\t\t\t\t<view style=\"padding-right: 16px !important;display: flex;\" slot=\"body\" class=\"list_right \">\r\n\t\t\t\t\t\t<input @input=\"sxfn('orderVolumeToplimit')\" type=\"number\" v-model=\"aboutEnterprise.dayVolumeToplimit\" class=\"list_right_input\" />\r\n\t\t\t\t\t\t<text class=\"yuan\">升</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</uni-list-item>\r\n\t\t\t\t<uni-list-item>\r\n\t\t\t\t\t<view class=\"list_header\" slot=\"header\">\r\n\t\t\t\t\t\t<!-- <image src=\"@/static/bt.png\" style=\"width: 12rpx;position: absolute;left: 0;\" mode=\"widthFix\" ></image> -->\r\n\t\t\t\t\t单笔加油升数上限</view>\r\n\t\t\t\t\t<view style=\"padding-right: 16px !important;display: flex;\" slot=\"body\" class=\"list_right \">\r\n\t\t\t\t\t\t<input @input=\"sxfn('dayVolumeToplimit')\" type=\"number\" v-model=\"aboutEnterprise.orderVolumeToplimit\" class=\"list_right_input\" />\r\n\t\t\t\t\t\t<text class=\"yuan\">升</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</uni-list-item>\r\n\t\t\t\t<uni-list-item v-if=\"aboutEnterprise.companyNature==1\">\r\n\t\t\t\t\t<view class=\"list_header\" slot=\"header\">\r\n\t\t\t\t\t\t<image src=\"@/static/bt.png\" style=\"width: 12rpx;position: absolute;left: 0;\" mode=\"widthFix\" ></image>\r\n\t\t\t\t\t\t是否共享企业额度</view>\r\n\t\t\t\t\t<view style=\"padding-right: 16px !important;\" slot=\"body\" class=\"list_right\">\r\n\t\t\t\t\t\t<u-switch :openText='openText' asyncChange activeColor='#17A00E' inactive-color=\"#BBBBBB\"\r\n\t\t\t\t\t\t\tsize='35' v-model=\"switchOpen\" @change=\"change\"></u-switch>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</uni-list-item>\r\n\t\t\t\t<uni-list-item>\r\n\t\t\t\t\t<view class=\"list_header\" slot=\"header\">备注</view>\r\n\t\t\t\t\t<view style=\"padding-right: 16px !important;\" slot=\"body\" class=\"list_right \">\r\n\t\t\t\t\t\t<input v-model=\"aboutEnterprise.remark\" placeholder=\"请输入备注\" class=\"list_right_input\" />\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</uni-list-item>\r\n\t\t\t</uni-list>\r\n\t\t</view>\r\n\t\t<!-- 底部按钮 -->\r\n\t\t<view class=\"list_footer\" >\r\n\t\t\t<button @tap=\"postFn\" class=\"list_butten \">保存</button>\r\n\t\t</view>\r\n\t\t\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport addDirver from '@/api/addDirver'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t\r\n\t\t\t\tenterpriseType: '自营',\r\n\t\t\t\tradiolist1: [{\r\n\t\t\t\t\t\tname: '自营',\r\n\t\t\t\t\t\tdisabled: false\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: '外请',\r\n\t\t\t\t\t\tdisabled: false\r\n\t\t\t\t\t},\r\n\t\t\t\t],\r\n\t\t\t\taboutEnterprise:{\r\n\t\t\t\t\tcustomerId:'',\r\n\t\t\t\t\tcustomerCode:'',\r\n\t\t\t\t\tcompanyId:'',\r\n\t\t\t\t\tcompanyNature:1,\r\n\t\t\t\t\tshareCompanyQuota:0,\r\n\t\t\t\t\tdayAmountToplimit:'0',\r\n\t\t\t\t\torderAmountToplimit:'0',\r\n\t\t\t\t\tdayVolumeToplimit:'0',\r\n\t\t\t\t\torderVolumeToplimit:'0',\r\n\t\t\t\t\tname:'',\r\n\t\t\t\t\tnickName:'',\r\n\t\t\t\t\tplateNumberCompany:null,\r\n\t\t\t\t\tremark:''\r\n\t\t\t\t},\r\n\t\t\t\tswitchOpen: true,\r\n\t\t\t\topenText: {\r\n\t\t\t\t\tone: '开启',\r\n\t\t\t\t\toff: '关闭'\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e) {\r\n\t\t\tlet that = this\r\n\t\t\tuni.$on('company',function(data){\r\n\t\t\t\t({id:that.aboutEnterprise.companyId,name:that.aboutEnterprise.name}=data)\r\n\t\t\t\tconsole.log(data)\r\n\t\t\t})\r\n\t\t\tif(e.jsData){\r\n\t\t\t\tlet data = JSON.parse(e.jsData);\r\n\t\t\t\tthis.aboutEnterprise.customerId = data.customerId\r\n\t\t\t\tthis.aboutEnterprise.customerCode = data.customerCode\r\n\t\t\t\tthis.aboutEnterprise.companyId = data.companyId\r\n\t\t\t\tthis.aboutEnterprise.companyNature = data.companyNature\r\n\t\t\t\t// this.aboutEnterprise.name = data.companyName\r\n\t\t\t\tthis.aboutEnterprise.nickName = data.nickName\r\n\t\t\t console.log(that.aboutEnterprise,'-*-*-')\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 后端不做校验 前端做 骂娘找 后端\r\n\t\t\tsxfn(e){\r\n\t\t\t\t// if(e=='dayAmountToplimit'){\r\n\t\t\t\t// \tif(this.aboutEnterprise.dayAmountToplimit!==''&& this.aboutEnterprise.orderAmountToplimit!=='' && Number(this.aboutEnterprise.orderAmountToplimit) > Number(this.aboutEnterprise.dayAmountToplimit) ){\r\n\t\t\t\t// \t\tthis.$nextTick(function(){\r\n\t\t\t\t// \t\t\tthis.aboutEnterprise.orderAmountToplimit = this.aboutEnterprise.dayAmountToplimit\r\n\t\t\t\t// \t\t})\r\n\t\t\t\t// \t}\r\n\t\t\t\t// }else if(e=='dayVolumeToplimit'){\r\n\t\t\t\t// \tif(this.aboutEnterprise.dayVolumeToplimit!==''&& this.aboutEnterprise.orderVolumeToplimit!=='' && Number(this.aboutEnterprise.orderVolumeToplimit) > Number(this.aboutEnterprise.dayVolumeToplimit) ){\r\n\t\t\t\t// \t\tthis.$nextTick(function(){\r\n\t\t\t\t// \t\t\tthis.aboutEnterprise.orderVolumeToplimit = this.aboutEnterprise.dayVolumeToplimit\r\n\t\t\t\t// \t\t})\r\n\t\t\t\t// \t}\r\n\t\t\t\t// }else if(e=='orderVolumeToplimit'){\r\n\t\t\t\t// \tif(this.aboutEnterprise.dayVolumeToplimit!==''&& this.aboutEnterprise.orderVolumeToplimit!=='' && Number(this.aboutEnterprise.orderVolumeToplimit) > Number(this.aboutEnterprise.dayVolumeToplimit) ){\r\n\t\t\t\t// \t\tthis.$nextTick(function(){\r\n\t\t\t\t// \t\t\tthis.aboutEnterprise.dayVolumeToplimit = Number(this.aboutEnterprise.orderVolumeToplimit) + 1\r\n\t\t\t\t// \t\t})\r\n\t\t\t\t// \t}\r\n\t\t\t\t// }else if(e=='orderAmountToplimit'){\r\n\t\t\t\t// \tif(this.aboutEnterprise.dayAmountToplimit!==''&& this.aboutEnterprise.orderAmountToplimit!=='' && Number(this.aboutEnterprise.orderAmountToplimit) > Number(this.aboutEnterprise.dayAmountToplimit) ){\r\n\t\t\t\t// \t\tthis.$nextTick(function(){\r\n\t\t\t\t// \t\t\tthis.aboutEnterprise.dayAmountToplimit = Number(this.aboutEnterprise.orderAmountToplimit ) + 1\r\n\t\t\t\t// \t\t})\r\n\t\t\t\t// \t}\r\n\t\t\t\t// }\r\n\t\t\t},\r\n\t\t\tclearFn(){\r\n\t\t\t\tlet white = ['companyNature','shareCompanyQuota']\r\n\t\t\t\tObject.keys(this.aboutEnterprise).forEach(key=>{\r\n\t\t\t\t\tif(white.includes(key)) return\r\n\t\t\t\t\tthis.aboutEnterprise[key] = ''\r\n\t\t\t\t})\r\n\t\t\t\tthis.aboutEnterprise.shareCompanyQuota = 1\r\n\t\t\t\tthis.switchOpen = true\r\n\t\t\t},\r\n\t\t\tpostFn(){\r\n\t\t\t\tlet that = this\r\n\t\t\t\tthis.aboutEnterprise.shareCompanyQuota = this.switchOpen?1:0\r\n\t\t\t\taddDirver.saveOilCard(this.aboutEnterprise).then(res=>{\r\n\t\t\t\t\tif(res.code!==20000)return\r\n\t\t\t\t\tuni.$emit('updateDriver',that.aboutEnterprise.customerId)\r\n\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t})\r\n\t\t\t\tconsole.log(this.aboutEnterprise)\r\n\t\t\t},\r\n\t\t\tjump(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'../company/company'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tchange(e) {\r\n\t\t\t\tconsole.log(this.switchOpen,e)\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n@import url(\"./driver.css\");\r\n\r\n</style>\r\n","import mod from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./addOilCard.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./addOilCard.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1672122382056\n var cssReload = require(\"D:/hbuliderx/HBuilderX.3.3.11.20220209.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |