main
fanfan 3 months ago
parent 9e16529327
commit eef3a7d977
  1. 1
      src/views/goods/modules/MultiSpec.vue
  2. 27
      src/views/market/settle/modules/details.vue

@ -194,7 +194,6 @@ export default {
created() { created() {
// SKU // SKU
this.getData() this.getData()
console.log(this.multiSpecData)
}, },
methods: { methods: {
handleEdit(item) { handleEdit(item) {

@ -112,8 +112,9 @@
<a-col :span="12" style="margin-bottom: 50px"> <a-col :span="12" style="margin-bottom: 50px">
<a-form-item label="身份证信息" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="身份证信息" :labelCol="labelCol" :wrapperCol="wrapperCol">
<SelectImage <SelectImage
v-if="idCardShow"
ref="childComponent" ref="childComponent"
:type='1' :type="1"
multiple multiple
:source="1" :source="1"
:maxNum="10" :maxNum="10"
@ -122,7 +123,9 @@
></a-col> ></a-col>
<a-col :span="12" style="margin-bottom: 50px"> <a-col :span="12" style="margin-bottom: 50px">
<a-form-item label="营业执照信息" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="营业执照信息" :labelCol="labelCol" :wrapperCol="wrapperCol">
<SelectImage :type='1' <SelectImage
v-if="businesShow"
:type="1"
ref="childComponent" ref="childComponent"
multiple multiple
:source="1" :source="1"
@ -202,30 +205,32 @@ export default {
form: this.$form.createForm(this), form: this.$form.createForm(this),
// //
record: {}, record: {},
idCardShow: false,
businesShow: false,
} }
}, },
created() {}, created() {},
methods: { methods: {
details(info) { details(info) {
this.visible = true this.visible = true
this.idCardShow = false
this.businesShow = false
this.record = {}
this.record.idCardUrl = []
this.record.businessCareUrl = []
Api.detail({ id: info }) Api.detail({ id: info })
.then((result) => { .then((result) => {
this.record={} this.idCardShow = true
this.businesShow = true
this.record = result.data.detail this.record = result.data.detail
}) })
.finally(() => (this.isLoading = false)) .finally(() => (this.isLoading = false))
}, },
//
show(record) {
//
this.visible = true
//
this.record = record
},
// //
handleCancel() { handleCancel() {
this.visible = false this.visible = false
this.idCardShow = false
this.businesShow = false
this.form.resetFields() this.form.resetFields()
}, },
}, },

Loading…
Cancel
Save