| | |
| | | <u-form-item |
| | | :border-bottom="false" |
| | | prop="registeredCapital" |
| | | label="注册资金" |
| | | label="注册资金(万)" |
| | | required |
| | | ><u-input |
| | | type="number" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UForm from '@/uview-components/uview-ui/components/u-form/u-form.vue'; |
| | | import UFormItem from '@/uview-components/uview-ui/components/u-form-item/u-form-item.vue'; |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | import UUpload from '@/uview-components/uview-ui/components/u-upload/u-upload.vue'; |
| | | import '@/components/uview-components/uview-ui'; |
| | | |
| | | import { applyFirst } from "@/api/entry"; |
| | | import city from "@/components/m-city/m-city.vue"; |
| | | import city from "@/pages/passport/m-city/m-city.vue"; |
| | | import storage from "@/utils/storage.js"; |
| | | import { upload } from "@/api/common.js"; |
| | | import * as RegExp from "@/utils/RegExp.js"; |
| | | export default { |
| | | components: { "m-city": city , UForm,UFormItem,UInput,UUpload}, |
| | | components: { "m-city": city}, |
| | | data() { |
| | | return { |
| | | storage, |
| | |
| | | }, |
| | | }; |
| | | }, |
| | | mounted() { |
| | | this.$refs.uForm.setRules(this.rules); |
| | | }, |
| | | // mounted() { |
| | | // this.$refs.uForm.setRules(this.rules); |
| | | // }, |
| | | props: ["companyData"], |
| | | watch: { |
| | | companyData: { |
| | |
| | | methods: { |
| | | // 图片上传 |
| | | onUploaded(lists, key) { |
| | | console.log("上传结果",lists); |
| | | let images = []; |
| | | lists.forEach((item) => { |
| | | images.push(item.response.result); |
| | | images.push(item.response.data.fileKey); |
| | | }); |
| | | this.form[key] = images; |
| | | }, |
| | |
| | | this.$refs.cityPicker.show(); |
| | | }, |
| | | validatorStep1Form() { |
| | | this.$refs.uForm.setRules(this.rules); |
| | | this.$refs.uForm.validate(async (valid) => { |
| | | console.log(valid); |
| | | if (valid) { |