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
31 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/companyAuth/index.vue?3a4d","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/companyAuth/index.vue?e11d","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/companyAuth/index.vue?43c6","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/companyAuth/index.vue?56c7","uni-app:///pages/release/companyAuth/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/companyAuth/index.vue?a4d0","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/companyAuth/index.vue?9bf4"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,2G;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AAC+M;AAC/M,gBAAgB,uNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAizB,CAAgB,i0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4Ir0B;AACA;AACA,mB;;AAEA;AACA,MADA,kBACA;AACA;AACA;AACA,wBADA;AAEA;AACA,6BAHA;AAIA;AACA,0BALA;AAMA;AACA,sBAPA;AAQA;AACA,sBATA;AAUA;AACA,8BAXA;AAYA;AACA,2BAbA;AAcA;AACA,uBAfA;AAgBA;AACA,oBAjBA;AAkBA;AACA,sBAnBA;AAoBA;AACA,2BArBA;AAsBA;AACA,sBAvBA;AAwBA;AACA,6BAzBA;AA0BA;AACA,0BA3BA;AA4BA;AACA,2BA7BA;AA8BA;AACA,yBA/BA,CA+BA;AA/BA,OADA;;AAmCA,mBAnCA;AAoCA,gEApCA;AAqCA,uBArCA;AAsCA,sBAtCA;;AAwCA,GA1CA;;AA4CA,gBA5CA;AA6CA,WA7CA;;AA+CA;;;AAGA;AACA;;AAEA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA5FA;AA6FA;AACA;AACA,wBAFA,kCAEA;AACA;AACA;AACA;AACA;AACA,wCADA;;AAGA;AACA,OAPA;AAQA,KAXA;;AAaA,mBAbA,2BAaA,CAbA,EAaA;AACA;AACA;AACA;AACA,yBADA;;AAGA;AACA;AACA,KArBA;;AAuBA;AACA,gBAxBA,0BAwBA;AACA;AACA;AACA,KA3BA;;AA6BA,aA7BA,qBA6BA,CA7BA,EA6BA;AACA;AACA;AACA,mCADA;AAEA,UAFA,CAEA;AACA;AACA;AAAA;AAEA;AACA;AACA;AACA,OATA;AAUA,KAzCA;;AA2CA,aA3CA,qBA2CA,CA3CA,EA2CA;AACA;AACA;;AAEA;AACA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA,gBAvDA;;AAyDA,KAxGA;;AA0GA,UA1GA,kBA0GA,CA1GA,EA0GA;AACA;AACA;AACA;AACA;AAAA;AAEA;AACA;AACA,SALA,MAKA;AACA;AAAA;AAEA;AACA;AACA,SALA,MAKA;AACA;AAAA;AAEA;AACA;AACA,SALA,MAKA;AACA;AAAA;AAEA;AACA;AACA,SALA,MAKA;AACA;AAAA;AAEA;AACA;AACA;AACA,OA3BA;AA4BA,KAxIA;;AA0IA,oBA1IA,4BA0IA,CA1IA,EA0IA;AACA;AAAA;AAEA;AACA;AACA,KA/IA;;AAiJA,cAjJA,sBAiJA,CAjJA,EAiJA;AACA;AAAA;AAEA;AACA;AACA,KAtJA;;AAwJA,WAxJA,mBAwJA,CAxJA,EAwJA;AACA;AACA;AACA;AACA,KA5JA;;AA8JA,UA9JA,oBA8JA;AACA;AACA;;AAEA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,wBADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,yBADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA;AACA;AACA;AACA,4BADA;AAEA,qCAFA;;AAIA,uBAJA,mBAIA,GAJA,EAIA;AACA;AACA,4BADA;;AAGA,iBARA;;;AAWA,aAZA,MAYA;AACA;AACA,mCADA;AAEA,4BAFA;;AAIA;AACA,WAnBA;AAoBA,SArBA,MAqBA;AACA;AACA;AACA;AACA,4BADA;AAEA,qCAFA;;AAIA,uBAJA,mBAIA,GAJA,EAIA;AACA;AACA,4BADA;;AAGA,iBARA;;;AAWA,aAZA,MAYA;AACA;AACA,mCADA;AAEA,4BAFA;;AAIA;AACA,WAnBA;AAoBA;AACA;AACA,KAjRA,EA7FA,E;;;;;;;;;;;;;AChJA;AAAA;AAAA;AAAA;AAAupC,CAAgB,0oCAAG,EAAC,C;;;;;;;;;;;ACA3qC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/release/companyAuth/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/release/companyAuth/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=6b5d9bd7&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 = \"pages/release/companyAuth/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=6b5d9bd7&\"","var components\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:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n<!--pages/release/companyAuth/index.wxml-->\r\n<view class=\"auth-page\">\r\n <view class=\"is-legal-box\">\r\n <view class=\"acea-row row-between row-middle\">\r\n <view>申请人是否为企业法人</view>\r\n <radio-group @change=\"radioClick\" class=\"acea-row row-between row-middle\">\r\n <label>\r\n <radio value=\"1\" :checked=\"form.isLegalPerson == 1\"></radio>是\r\n </label>\r\n <label>\r\n <radio value=\"0\" :checked=\"form.isLegalPerson == 0\"></radio>否\r\n </label>\r\n </radio-group>\r\n </view>\r\n <view class=\"authbook-box\" v-if=\"form.isLegalPerson == 0\">\r\n <view class=\"tips\">非法人申请需上传加盖公章的申请授权书</view>\r\n <view class=\"upload-box acea-row row-between\">\r\n <image src=\"https://download.cyjyyjy.com/sq.png\" v-if=\"form.authorizationPath == ''\" @tap=\"upCard\" data-type=\"ap\"></image>\r\n <image :src=\"form.authorizationPath\" v-else @tap=\"upCard\" data-type=\"ap\"></image>\r\n <image src=\"https://download.cyjyyjy.com/sqs.png\" @tap=\"prevImg\"></image>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"splitLine\"></view>\r\n <view class=\"company-info-box\">\r\n <view class=\"title\">企业信息</view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">主体类型</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" value=\"企业\" disabled=\"disabled\">\r\n </view>\r\n </view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">企业名称</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.enterpriseName\" @input=\"inpChange\" data-type=\"enterpriseName\" placeholder=\"请填写企业名称\">\r\n </view>\r\n </view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">信用代码</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.creditCode\" @input=\"inpChange\" data-type=\"creditCode\" placeholder=\"13位或18位数字及大写字母\">\r\n </view>\r\n </view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">所在行业</view>\r\n <view class=\"inp-box acea-row row-right row-middle\">\r\n <!-- <input type=\"text\" value=\"{{form.profession}}\" disabled=\"true\" placeholder=\"请选择\" />\r\n <image src=\"https://download.cyjyyjy.com/home/arrow-r.png\" class=\"arrorR\"></image> -->\r\n <picker class=\"pick-box\" @change=\"resourcesChange\" :value=\"idx\" :range=\"resourcesList\" :range-key=\"'cagetoryName'\" mode=\"selector\">\r\n <view class=\"picker\">{{resourcesList[resourcesIdx].cagetoryName || '请选择'}}</view>\r\n </picker>\r\n </view>\r\n </view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">企业规模</view>\r\n <view class=\"inp-box\">\r\n <picker @change=\"bindPickerChange\" :value=\"form.enterpriseScale\" :range=\"scaleArr\">\r\n <view class=\"picker\">{{form.enterpriseScale}}</view>\r\n </picker>\r\n </view>\r\n </view>\r\n <view class=\"form-item noBorder\">\r\n <view class=\"label\">营业执照</view>\r\n <view class=\"inp-box yyzz\">\r\n <image src=\"https://download.cyjyyjy.com/yyzz.png\" v-if=\"form.businessLicense == ''\" @tap=\"upCard\" data-type=\"bl\"></image>\r\n <image :src=\"form.businessLicense\" v-else @tap=\"upCard\" data-type=\"bl\"></image>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"splitLine\"></view>\r\n <view class=\"company-info-box\">\r\n <view class=\"title\">对公银行信息</view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">银行账号</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.bankAccount\" @input=\"inpChange\" @blur=\"checkBank\" data-type=\"bankAccount\" placeholder=\"银行账号\">\r\n </view>\r\n </view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">开户银行</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.bankName\" @input=\"inpChange\" data-type=\"bankName\" placeholder=\"请填写开户银行\">\r\n </view>\r\n </view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">开户网点</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.bankBranch\" @input=\"inpChange\" data-type=\"bankBranch\" placeholder=\"请填写开户网点\">\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"splitLine\"></view>\r\n <view class=\"company-info-box\">\r\n <view class=\"title\">法人/申请人信息</view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">姓名</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.legalPersonName\" @input=\"inpChange\" data-type=\"name\" placeholder=\"请填写姓名\">\r\n </view>\r\n </view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">手机号</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.legalPhone\" @input=\"inpChange\" data-type=\"phone\" placeholder=\"请填写手机号\">\r\n </view>\r\n </view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">身份证号</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.legalPersonIdcard\" @input=\"inpChange\" data-type=\"idcard\" placeholder=\"请填写身份证号\">\r\n </view>\r\n </view>\r\n <!-- <view class=\"form-item noBorder\">\r\n <view class=\"label\">身份证</view>\r\n <view class=\"inp-box sfz\">\r\n <view class=\"acea-row row-between-wrapper\">\r\n <image src=\"https://download.cyjyyjy.com/sfz1.png\" @tap=\"upCard\" data-type=\"b\" v-if=\"form.idcardPicBehind == ''\"></image>\r\n <image :src=\"form.idcardPicBehind\" @tap=\"upCard\" data-type=\"b\" v-else></image>\r\n <image src=\"https://download.cyjyyjy.com/sfzb.png\"></image>\r\n </view>\r\n <view class=\"acea-row row-between-wrapper\">\r\n <image src=\"https://download.cyjyyjy.com/sfz2.png\" @tap=\"upCard\" data-type=\"f\" v-if=\"form.idcardPicFront == ''\"></image>\r\n <image :src=\"form.idcardPicFront\" @tap=\"upCard\" data-type=\"f\" v-else></image>\r\n <image src=\"https://download.cyjyyjy.com/sfzz.png\"></image>\r\n </view>\r\n <view class=\"acea-row row-between-wrapper\">\r\n <image src=\"https://download.cyjyyjy.com/sfz3.png\" @tap=\"upCard\" data-type=\"h\" v-if=\"form.idcardPicHold == ''\"></image>\r\n <image :src=\"form.idcardPicHold\" @tap=\"upCard\" data-type=\"h\" v-else></image>\r\n <image src=\"https://download.cyjyyjy.com/sfzs.png\"></image>\r\n </view>\r\n </view>\r\n </view> -->\r\n </view>\r\n <view class=\"submit-btn\" @tap=\"submit\">保存并提交</view>\r\n</view>\r\n</template>\r\n\r\n<script>\r\n// pages/release/companyAuth/index.js\r\nconst util = require(\"../../../utils/util.js\");\r\nconst app = getApp();\r\n\r\nexport default {\r\n data() {\r\n return {\r\n form: {\r\n isLegalPerson: 0,\r\n //是否为企业法人\r\n authorizationPath: '',\r\n // 授权书图片\r\n enterpriseName: '',\r\n //企业名称\r\n creditCode: '',\r\n //信用代码\r\n industryId: '',\r\n //所在行业\r\n enterpriseScale: '请选择',\r\n //企业规模\r\n businessLicense: '',\r\n //营业执照照片\r\n bankAccount: '',\r\n //银行账号\r\n bankName: '',\r\n // 开户银行\r\n bankBranch: '',\r\n // 开户网点\r\n legalPersonName: '',\r\n //法人姓名\r\n legalPhone: '',\r\n //法人手机号\r\n legalPersonIdcard: '',\r\n // 法人身份证\r\n idcardPicFront: '',\r\n // 法人身份证正面照\r\n idcardPicBehind: '',\r\n // 法人身份证背面照\r\n idcardPicHold: '' // 法人手持身份证\r\n\r\n },\r\n isEdit: false,\r\n scaleArr: ['0-25', '25-99', '99-200', '200-500', '500及以上'],\r\n resourcesList: \"\",\r\n resourcesIdx: \"\"\r\n };\r\n },\r\n\r\n components: {},\r\n props: {},\r\n\r\n /**\r\n * 生命周期函数--监听页面加载\r\n */\r\n onLoad: function (options) {\r\n this.getResourcesCagetory();\r\n\r\n if (options.authInfo) {\r\n let authInfo = JSON.parse(decodeURIComponent(options.authInfo));\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.authorizationType = 1;\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.id = authInfo.id;\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.enterpriseId = authInfo.enterpriseId;\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.idcardPicHold = authInfo.idcardPicHold || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.idcardPicBehind = authInfo.idcardPicBehind || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.idcardPicFront = authInfo.idcardPicFront || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.legalPersonIdcard = authInfo.legalPersonIdcard || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.legalPhone = authInfo.legalPhone || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.legalPersonName = authInfo.legalPersonName || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.bankBranch = authInfo.bankBranch || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.bankName = authInfo.bankName || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.bankAccount = authInfo.bankAccount || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.businessLicense = authInfo.businessLicense || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.enterpriseScale = authInfo.enterpriseScale || '请选择';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.creditCode = authInfo.creditCode;\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.enterpriseName = authInfo.enterpriseName;\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.authorizationPath = authInfo.authorizationPath || '';\r\n\t\t\t\t//try fix\r\n\t\t\t\tthis.form.isLegalPerson = 0;\r\n }\r\n },\r\n methods: {\r\n //获取供应、需求类型\r\n getResourcesCagetory() {\r\n app.http('GET', 'ResourcesCagetory/listResourcesCagetory').then(res => {\r\n // console.log(res)\r\n if (res.data.success) {\r\n this.setData({\r\n resourcesList: res.data.data\r\n });\r\n }\r\n });\r\n },\r\n\r\n resourcesChange(e) {\r\n // console.log(e)\r\n let idx = Number(e.detail.value);\r\n this.setData({//['form.industryId']: this.data.resourcesList[idx].id\r\n resourcesIdx: idx,\r\n });\r\n //try fix\r\n this.form.industryId = this.resourcesList[idx].id;\r\n },\r\n\r\n //选择行业\r\n toProfession() {// wx.navigateTo({\r\n // url: '/pages/user/profession/index',\r\n // })\r\n },\r\n\r\n checkBank(e) {\r\n // console.log(e.detail.value)\r\n app.http('get', 'EnterpriseAuthentication/getBankName', {\r\n bankAccount: e.detail.value\r\n }).then(res => {\r\n if (res.data.success) {\r\n this.setData({//['form.bankName']: res.data.data\r\n });\r\n //try fix\r\n this.form.bankName = res.data.data;\r\n }\r\n });\r\n },\r\n\r\n inpChange(e) {\r\n let type = e.currentTarget.dataset.type;\r\n let value = e.detail.value;\r\n\r\n switch (type) {\r\n case 'enterpriseName':\r\n this.setData({//['form.enterpriseName']: value\r\n });\r\n //try fix\r\n this.form.enterpriseName = value;\r\n break;\r\n\r\n case 'creditCode':\r\n this.setData({//['form.creditCode']: value\r\n });\r\n //try fix\r\n this.form.creditCode = value;\r\n break;\r\n\r\n case 'bankAccount':\r\n this.setData({//['form.bankAccount']: value\r\n });\r\n //try fix\r\n this.form.bankAccount = value;\r\n break;\r\n\r\n case 'bankName':\r\n this.setData({//['form.bankName']: value\r\n });\r\n //try fix\r\n this.form.bankName = value;\r\n break;\r\n\r\n case 'bankBranch':\r\n this.setData({//['form.bankBranch']: value\r\n });\r\n //try fix\r\n this.form.bankBranch = value;\r\n break;\r\n\r\n case 'name':\r\n this.setData({//['form.legalPersonName']: value\r\n });\r\n //try fix\r\n this.form.legalPersonName = value;\r\n break;\r\n\r\n case 'phone':\r\n this.setData({//['form.legalPhone']: value\r\n });\r\n //try fix\r\n this.form.legalPhone = value;\r\n break;\r\n\r\n case 'idcard':\r\n this.setData({//['form.legalPersonIdcard']: value\r\n });\r\n //try fix\r\n this.form.legalPersonIdcard = value;\r\n break;\r\n }\r\n },\r\n\r\n upCard(e) {\r\n let type = e.currentTarget.dataset.type;\r\n util.chooseImages(img => {\r\n if (type == 'f') {\r\n this.setData({//['form.idcardPicFront']: img\r\n });\r\n //try fix\r\n this.form.idcardPicFront = img;\r\n } else if (type == 'b') {\r\n this.setData({//.form.idcardPicBehind: img\r\n });\r\n //try fix\r\n this.form.idcardPicBehind = img;\r\n } else if (type == 'h') {\r\n this.setData({//.form.idcardPicHold: img\r\n });\r\n //try fix\r\n this.form.idcardPicHold = img;\r\n } else if (type == 'ap') {\r\n this.setData({//.form.authorizationPath: img\r\n });\r\n //try fix\r\n this.form.authorizationPath = img;\r\n } else if (type == 'bl') {\r\n this.setData({//.form.businessLicense: img\r\n });\r\n //try fix\r\n this.form.businessLicense = img;\r\n }\r\n });\r\n },\r\n\r\n bindPickerChange(e) {\r\n this.setData({//['form.enterpriseScale']: this.data.scaleArr[e.detail.value]\r\n });\r\n //try fix\r\n this.form.enterpriseScale = this.scaleArr[e.detail.value];\r\n },\r\n\r\n radioClick(e) {\r\n this.setData({//.form.isLegalPerson: e.detail.value\r\n });\r\n //try fix\r\n this.form.isLegalPerson = e.detail.value;\r\n },\r\n\r\n prevImg(e) {// let url = e.currentTarget.dataset.url;\r\n // wx.previewImage({\r\n // urls: [url],\r\n // })\r\n },\r\n\r\n submit() {\r\n let form = this.form;\r\n console.log(form);\r\n\r\n if (form.isLegalPerson == 0 && form.authorizationPath == '') {\r\n uni.showToast({\r\n title: '请上传授权书!',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.enterpriseName == '') {\r\n uni.showToast({\r\n title: '请填写企业名称',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.creditCode == '') {\r\n uni.showToast({\r\n title: '请填写信用代码',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.enterpriseScale == '请选择') {\r\n uni.showToast({\r\n title: '请选择企业规模',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.businessLicense == '') {\r\n uni.showToast({\r\n title: '请上传营业执照',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.bankAccount == '') {\r\n uni.showToast({\r\n title: '请输入银行账号',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.bankName == '') {\r\n uni.showToast({\r\n title: '请输入银行名称',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.bankName == '') {\r\n uni.showToast({\r\n title: '请输入开户网点',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.legalPersonName == '') {\r\n uni.showToast({\r\n title: '请填写姓名',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.legalPhone == '') {\r\n uni.showToast({\r\n title: '请填写手机号',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.legalPersonIdcard == '') {\r\n uni.showToast({\r\n title: '请填写身份证号',\r\n icon: 'none'\r\n });\r\n return;\r\n } else {\r\n if (!this.isEdit) {\r\n app.http('post', 'EnterpriseAuthentication/createAuthenticInfoTwo', this.form).then(res => {\r\n if (res.data.success) {\r\n uni.showModal({\r\n title: '提示!',\r\n content: '提交成功!请等待审核',\r\n\r\n success(res) {\r\n uni.navigateBack({\r\n delta: 1\r\n });\r\n }\r\n\r\n });\r\n } else {\r\n uni.showToast({\r\n title: res.data.msg,\r\n icon: 'none'\r\n });\r\n }\r\n });\r\n } else {\r\n app.http('post', 'EnterpriseAuthentication/editAuthenticInfo', this.form).then(res => {\r\n if (res.data.success) {\r\n uni.showModal({\r\n title: '提示!',\r\n content: '提交成功!请等待审核',\r\n\r\n success(res) {\r\n uni.navigateBack({\r\n delta: 1\r\n });\r\n }\r\n\r\n });\r\n } else {\r\n uni.showToast({\r\n title: res.data.msg,\r\n icon: 'none'\r\n });\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n }\r\n};\r\n</script>\r\n<style>\r\n/* pages/release/companyAuth/index.wxss */\r\n\r\n.is-legal-box{\r\n width: 100%;\r\n padding: 30rpx 40rpx;\r\n}\r\n.is-legal-box label{\r\n margin-right: 40rpx;\r\n}\r\n.authbook-box{\r\n font-size: 28rpx;\r\n color: #666;\r\n}\r\n.tips{\r\n margin: 40rpx 0;\r\n}\r\n.upload-box image{\r\n width: 332rpx;\r\n height: 204rpx;\r\n}\r\n.splitLine{\r\n width: 100%;\r\n height: 20rpx;\r\n background-color: #eee;\r\n}\r\n.company-info-box{\r\n width: 100%;\r\n padding: 32rpx 40rpx;\r\n}\r\n.title{\r\n font-size: 32rpx;\r\n color: #1D1D1D;\r\n margin-bottom: 38rpx;\r\n font-weight: 500;\r\n}\r\n.form-item{\r\n font-size: 28rpx;\r\n color: #666666;\r\n padding: 16rpx 0;\r\n border-bottom: 2rpx solid #EEEEEE;\r\n}\r\n.form-item .inp-box{\r\n width: 70%;\r\n text-align: right;\r\n}\r\n.yyzz image{\r\n width: 670rpx;\r\n height: 368rpx;\r\n margin-top: 26rpx;\r\n}\r\n.noBorder{\r\n border: none;\r\n}\r\n.form-item .sfz{\r\n width: 100%;\r\n margin-top: 26rpx;\r\n}\r\n.sfz image{\r\n width: 332rpx;\r\n height: 205rpx;\r\n margin-bottom: 10rpx;\r\n}\r\n.submit-btn{\r\n width: 670rpx;\r\n height: 76rpx;\r\n background: linear-gradient(144deg, #FFA782 0%, #FF5100 100%);\r\n border-radius: 38rpx;\r\n color: #fff;\r\n font-size: 28rpx;\r\n line-height: 76rpx;\r\n text-align: center;\r\n margin:40rpx auto;\r\n}\r\n.arrorR{\r\n width: 14rpx;\r\n height: 24rpx;\r\n margin-left: 10rpx;\r\n}\r\n</style>","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1635767015227\n var cssReload = require(\"D:/Program Files/HBuilderX.3.1.13.20210514/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":""}