补充驳回字段

This commit is contained in:
qijq 2025-06-09 09:40:35 +08:00
parent 828b07fd88
commit dee55721bb
6 changed files with 162 additions and 28 deletions

View File

@ -32,3 +32,11 @@ export function GetStoreClassify(data) {
data, data,
}) })
} }
export function GetCategoryList(data) {
return request({
url: URL.shop.base.store.category.categoryList,
method: 'post',
data,
})
}

View File

@ -710,6 +710,7 @@ let url = {
doEdit: api_url + '/admin/shop/shop-base-store-category/edit', doEdit: api_url + '/admin/shop/shop-base-store-category/edit',
GetStoreClassify: GetStoreClassify:
api_url + '/admin/shop/shop-base-store-category/getStoreClassify', api_url + '/admin/shop/shop-base-store-category/getStoreClassify',
categoryList: api_url + '/mobile/shop/shop-base-store-category/list',
}, },
}, },
market: { market: {

View File

@ -332,7 +332,7 @@ export default {
pageNum: 1, pageNum: 1,
pageSize: 20, pageSize: 20,
}, },
selectId: 1, selectId: 100,
appName: null, appName: null,
options: [ options: [
{ {

View File

@ -57,10 +57,10 @@ const certificate = [
key: 'license_image', key: 'license_image',
label: '许可证图片', label: '许可证图片',
}, },
{ // {
key: 'legal_person_mobile', // key: 'legal_person_mobile',
label: '法人手机号', // label: '法人手机号',
}, // },
{ {
key: 'legalPersonOCR', key: 'legalPersonOCR',
label: '法人身份证OCR识别', label: '法人身份证OCR识别',
@ -169,6 +169,10 @@ const enterpriseCheckBoxList = [
key: 'legal_person_mobile', key: 'legal_person_mobile',
label: '法人手机号', label: '法人手机号',
}, },
{
key: 'biz_license_content',
label: '经营范围',
},
{ {
key: 'legal_person_id_number', key: 'legal_person_id_number',
label: '法人身份证号码', label: '法人身份证号码',

View File

@ -187,12 +187,12 @@ export default {
}, },
{ {
prop: 'has_apply_split', prop: 'has_apply_split',
label: '是否分账', label: '是否创建分账',
},
{
prop: 'has_ec_signed',
label: '合同签署状态',
}, },
// {
// prop: 'signed_status',
// label: '',
// },
], ],
tableData: [ tableData: [
{ {
@ -226,12 +226,8 @@ export default {
item.has_apply_split = item.has_apply_split == 1 ? '是' : '否' item.has_apply_split = item.has_apply_split == 1 ? '是' : '否'
} }
if (item.signed_status != null) { if (item.has_ec_signed) {;
this.signedStatus.forEach((group) => { item.has_ec_signed = item.has_ec_signed == 1 ? '是' : '否'
if (group.index == item.signed_status) {
item.signed_status = group.value
}
})
} }
if (item.entity_type) { if (item.entity_type) {
item.entity_type = this.entityType[item.entity_type - 1] item.entity_type = this.entityType[item.entity_type - 1]
@ -282,6 +278,14 @@ export default {
if (row.has_apply_split == '否' && columnIndex == 12) { if (row.has_apply_split == '否' && columnIndex == 12) {
return 'status-not-pass' return 'status-not-pass'
} }
if (row.has_ec_signed == '是' && columnIndex == 13) {
return 'status-pass'
}
if (row.has_ec_signed == '否' && columnIndex == 13) {
return 'status-not-pass'
}
} }
}, },
closeDialog() { closeDialog() {

View File

@ -36,7 +36,7 @@
<div class="item-lable">经营品类</div> <div class="item-lable">经营品类</div>
<el-input <el-input
class="item-input" class="item-input"
v-model="bizCategoryList[form.biz_category]" v-model="form.biz_category"
clearable clearable
disabled disabled
/> />
@ -185,6 +185,29 @@
></el-input> ></el-input>
</div> </div>
</div> </div>
<div class="item-info">
<div class="item-block">
<div class="item-lable">姓名</div>
<el-input
class="item-input"
v-model="form.legal_person_name || form.individual_id_name"
clearable
disabled
></el-input>
</div>
</div>
<div class="item-info">
<div class="item-block">
<div class="item-lable">身份证地址</div>
<el-input
style="width: 354px"
class="item-input"
v-model="form.legal_person_id_addr || form.individual_id_addr"
clearable
disabled
></el-input>
</div>
</div>
<div v-if="form.entity_type == 1"> <div v-if="form.entity_type == 1">
<div class="item-info"> <div class="item-info">
<div class="item-block"> <div class="item-block">
@ -223,6 +246,20 @@
></el-image> ></el-image>
</div> </div>
</div> </div>
<div class="item-info" style="margin: 40px 0">
<div class="item-block">
<div class="item-lable">经营范围</div>
<el-input
type="textarea"
class="item-input"
v-model="form.biz_license_content"
style="width: 600px"
clearable
:autosize="{ minRows: 15 }"
disabled
></el-input>
</div>
</div>
<div class="item-info" style="margin: 40px 0"> <div class="item-info" style="margin: 40px 0">
<div class="item-block"> <div class="item-block">
<div class="item-lable">许可证类型</div> <div class="item-lable">许可证类型</div>
@ -367,7 +404,7 @@
disabled disabled
></el-input> ></el-input>
</div> </div>
<div class="item-block"> <!-- <div class="item-block">
<div class="item-lable">开户银行的支行名称</div> <div class="item-lable">开户银行的支行名称</div>
<el-input <el-input
class="item-input" class="item-input"
@ -376,7 +413,7 @@
clearable clearable
disabled disabled
></el-input> ></el-input>
</div> </div> -->
</div> </div>
<div class="item-info"> <div class="item-info">
<div class="item-block"> <div class="item-block">
@ -552,15 +589,15 @@
class="btn" class="btn"
style="width: 150px;" style="width: 150px;"
type="success" type="success"
@click="getMerchApproval(1)" @click="getMerchApproval(5)"
v-if="![1].includes(form.approval_status)" v-if="![1,5].includes(form.approval_status)"
> >
提交拉卡拉审核 提交拉卡拉审核
</el-button> </el-button>
<el-button <el-button
class="btn" class="btn"
type="danger" type="danger"
v-if="form.signed_status <= 0" v-if="form.signed_status <= 0 && form.approval_status !=5"
@click="getMerchApproval(2)" @click="getMerchApproval(2)"
> >
驳回审核 驳回审核
@ -598,6 +635,7 @@ import {
createShop, createShop,
createSubAccount createSubAccount
} from '@/api/shopAudit/shopAudit' } from '@/api/shopAudit/shopAudit'
import { GetCategoryList } from '@/api/base/store/category'
import city from './cityData.js' import city from './cityData.js'
import config from './formConfig' import config from './formConfig'
export default { export default {
@ -635,6 +673,7 @@ export default {
environment_image: '', environment_image: '',
biz_license_number: '', biz_license_number: '',
biz_license_image: '', biz_license_image: '',
biz_license_content:'',
license_type: 1, license_type: 1,
license_number: '', license_number: '',
license_image: '', license_image: '',
@ -666,7 +705,6 @@ export default {
has_apply_receiver:'',// 1-2-, has_apply_receiver:'',// 1-2-,
has_bind_receiver:''// 1-2- has_bind_receiver:''// 1-2-
}, },
bizCategoryList: ['医疗用品', '生活用品'],
entityType: ['企业', '个人'], entityType: ['企业', '个人'],
// approvalStatus: ['', '', '','','',''], // approvalStatus: ['', '', '','','',''],
approvalStatus:[ approvalStatus:[
@ -765,6 +803,7 @@ export default {
if (newVal) { if (newVal) {
this.showDialog = true this.showDialog = true
this.getMerchDetail() this.getMerchDetail()
} else { } else {
this.showDialog = false this.showDialog = false
} }
@ -840,6 +879,36 @@ export default {
this.srcList8.push(res.data.individual_id_images2) this.srcList8.push(res.data.individual_id_images2)
} }
this.showLoading = false this.showLoading = false
await this.getCategoryList();
},
async getCategoryList(){
let res = await GetCategoryList();
if(res && res.status == 200){
let name = this.findCategoryName(res.data,this.form.biz_category);
if(name){
this.form.biz_category = name
}
}
},
findCategoryName(categories, targetId) {
for (const category of categories) {
//
if (category.store_category_id === targetId) {
return category.store_category_name;
}
//
if (category.children && category.children.length > 0) {
const foundInChildren = findCategoryName(category.children, targetId);
if (foundInChildren) {
return foundInChildren;
}
}
}
return null; //
}, },
async getMerchApproval(status) { async getMerchApproval(status) {
if (status == 2 && this.checkboxList.length == 0) { if (status == 2 && this.checkboxList.length == 0) {
@ -868,7 +937,7 @@ export default {
let parems = { let parems = {
id: this.id, id: this.id,
approvalStatus: status, approvalStatus: status,
approvalRemark: this.form.approvalRemark, approvalRemark: this.form.approval_remark,
approvalInvalidCol: this.checkboxList.filter(item => !['businessLicenseOCR', 'legalPersonOCR','personOCR','bankOCR'].includes(item)), approvalInvalidCol: this.checkboxList.filter(item => !['businessLicenseOCR', 'legalPersonOCR','personOCR','bankOCR'].includes(item)),
} }
@ -884,6 +953,11 @@ export default {
// if (this.status == 2) { // if (this.status == 2) {
// this.close() // this.close()
// } // }
}else{
this.$message({
type: 'error',
message: res.msg,
})
} }
}) })
.catch(() => { .catch(() => {
@ -937,19 +1011,62 @@ export default {
// <!-- --!> // <!-- --!>
if(e.includes('legalPersonOCR')){ if(e.includes('legalPersonOCR')){
this.checkboxList = ['legal_person_id_number','legal_person_id_images','legal_person_id_images2',...this.checkboxList ]
let arr = [
'legal_person_id_number',
'legal_person_id_images',
'legal_person_id_images2',
'legal_person_id_addr',
'legal_person_id_period_begin',
'legal_person_id_period_end'
]
this.checkboxList = [...arr,...this.checkboxList ]
} }
// <!-- --!> // <!-- --!>
if(e.includes('personOCR')){ if(e.includes('personOCR')){
this.checkboxList = ['individual_id_number','individual_id_images','individual_id_images2',...this.checkboxList]
let arr = [
'individual_id_number',
'individual_id_name',
'individual_id_addr',
'individual_id_images',
'individual_id_images2',
'individual_id_period_begin',
'individual_id_period_end'
]
this.checkboxList = [...arr,...this.checkboxList]
} }
// <!-- , --!> // <!-- , --!>
if(e.includes('bankOCR')){ if(e.includes('bankOCR')){
this.checkboxList = ['bankcard_item','account_holder_name','account_number','branch_name',...this.checkboxList]
let arr = [
'bankcard_item',
'account_holder_name',
'account_number',
'bank_name'
]
this.checkboxList = [...arr,...this.checkboxList]
} }
// //
if(e.includes('businessLicenseOCR')){ if(e.includes('businessLicenseOCR')){
this.checkboxList = ['biz_license_image','biz_license_company','legal_person_name','biz_license_number','',...this.checkboxList]
let arr = [
'biz_license_image',
'biz_license_company',
'legal_person_name',
'biz_license_content',
'biz_license_number',
'legal_person_mobile'
]
this.checkboxList = [...arr,...this.checkboxList]
}
if(e.includes("mapAddress")){
this.checkboxList = ['store_address',...this.checkboxList];
} }
}, },