8 changed files with 1121 additions and 683 deletions
@ -0,0 +1,150 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<!-- 标题按钮部分开始 --> |
|||
<div class="tab-header webtop"> |
|||
<!-- 标题 --> |
|||
<div>{{ viewTitle }}</div> |
|||
<!-- start 添加修改按钮 --> |
|||
<div> |
|||
<el-button type="primary" size="small" :disabled="submitdisabled" @click="saveOrUpdate">保存</el-button> |
|||
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> |
|||
</div> |
|||
<!-- end 添加修改按钮 --> |
|||
<!-- end 详情按钮 --> |
|||
</div> |
|||
<!-- 标题按钮部分结束 --> |
|||
<!-- Start 新增修改部分 --> |
|||
<div class="listconadd"> |
|||
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="right" class="formadd"> |
|||
<div class="title"> |
|||
<div>银行已认定的供应商</div> |
|||
</div> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>供应商名称</span> |
|||
</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ supplierName }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>供应商编码</span> |
|||
</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.codeUnified }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>法人</span> |
|||
</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.legalRepresentative }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>营业执照号码</span> |
|||
</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.businessLicenseNo }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<div class="title"> |
|||
<div>关联供应商</div> |
|||
</div> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>供应商名称</span> |
|||
</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><el-input v-model="formobj.name" placeholder="" class="addinputw" clearable /></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>供应商编码</span> |
|||
</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><el-input v-model="formobj.code" placeholder="" class="addinputw" clearable /></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
</div> |
|||
<!-- End 添加修改部分 --> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import req from '@/api/supervise/supplierbankinfo' |
|||
export default { |
|||
name: 'RelevancySupplierBankAdd', |
|||
data() { |
|||
return { |
|||
submitdisabled: false, |
|||
viewTitle: '', |
|||
tableKey: 0, |
|||
index: 0, |
|||
supplierName: '', |
|||
formobj: { |
|||
sid: '', |
|||
name: '', |
|||
codeUnified: '', |
|||
legalRepresentative: '', |
|||
businessLicenseNo: '' |
|||
}, |
|||
rules: {} |
|||
} |
|||
}, |
|||
created() {}, |
|||
methods: { |
|||
handleReturn(isreload) { |
|||
if (isreload === 'true') this.$emit('reloadlist') |
|||
this.formobj = { |
|||
sid: '', |
|||
name: '', |
|||
codeUnified: '', |
|||
legalRepresentative: '', |
|||
businessLicenseNo: '' |
|||
} |
|||
this.$refs['form_obj'].resetFields() |
|||
this.$emit('doback') |
|||
}, |
|||
showEdit(row) { |
|||
this.$nextTick(() => { |
|||
this.$refs['form_obj'].clearValidate() |
|||
}) |
|||
this.viewTitle = '关联供应商' |
|||
this.formobj.sid = row.sid |
|||
this.supplierName = row.name |
|||
this.formobj.codeUnified = row.codeUnified |
|||
this.formobj.legalRepresentative = row.legalRepresentative |
|||
this.formobj.businessLicenseNo = row.businessLicenseNo |
|||
}, |
|||
saveOrUpdate() { |
|||
this.$refs['form_obj'].validate(valid => { |
|||
if (valid) { |
|||
this.submitdisabled = true |
|||
req.verification(this.formobj).then(resp => { |
|||
this.submitdisabled = false |
|||
if (resp.success) { |
|||
this.$message({ showClose: true, type: 'success', message: resp.msg }) |
|||
this.handleReturn('true') |
|||
} else { |
|||
// 根据resp.code进行异常情况处理 |
|||
} |
|||
}).catch(() => { |
|||
this.submitdisabled = false |
|||
}) |
|||
} else { |
|||
return false |
|||
} |
|||
}) |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped> |
|||
.title { |
|||
display: flex; |
|||
flex-direction: row; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
} |
|||
</style> |
@ -0,0 +1,157 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<!-- 标题按钮部分开始 --> |
|||
<div class="tab-header webtop"> |
|||
<!-- 标题 --> |
|||
<div>{{ viewTitle }}</div> |
|||
<!-- start 添加修改按钮 --> |
|||
<div> |
|||
<el-button type="primary" size="small" :disabled="submitdisabled" @click="saveOrUpdate">保存</el-button> |
|||
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> |
|||
</div> |
|||
<!-- end 添加修改按钮 --> |
|||
<!-- end 详情按钮 --> |
|||
</div> |
|||
<!-- 标题按钮部分结束 --> |
|||
<!-- Start 新增修改部分 --> |
|||
<div class="listconadd"> |
|||
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="right" class="formadd"> |
|||
<div class="title"> |
|||
<div>银行已认定的供应商</div> |
|||
</div> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>供应商名称</span> |
|||
</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.name }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>供应商编码</span> |
|||
</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.codeUnified }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>法人</span> |
|||
</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.legalRepresentative }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>营业执照号码</span> |
|||
</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.businessLicenseNo }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<div class="title"> |
|||
<div>关联供应商列表</div> |
|||
</div> |
|||
<el-table :key="tableKey" :data="formobj.list" :index="index" border style="width: 100%"> |
|||
<el-table-column fixed label="序号" width="80p" type="index" :index="index + 1" align="center"/> |
|||
<el-table-column fixed label="操作" width="100" align="center" header-align="center"> |
|||
<template slot-scope="scope"> |
|||
<el-button size="mini" type="danger" @click="dataDelete(scope.$index)">删除 |
|||
</el-button> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="供应商编号" align="center"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ scope.row.code }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="供应商名称" align="center"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ scope.row.name }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
</el-table> |
|||
</el-form> |
|||
</div> |
|||
<!-- End 添加修改部分 --> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import req from '@/api/supervise/supplierbankinfo' |
|||
export default { |
|||
name: 'RelevancySupplierBankInfo', |
|||
data() { |
|||
return { |
|||
submitdisabled: false, |
|||
viewTitle: '', |
|||
tableKey: 0, |
|||
index: 0, |
|||
formobj: { |
|||
sid: '', |
|||
name: '', |
|||
codeUnified: '', |
|||
legalRepresentative: '', |
|||
businessLicenseNo: '', |
|||
list: [] |
|||
}, |
|||
rules: {} |
|||
} |
|||
}, |
|||
created() {}, |
|||
methods: { |
|||
handleReturn(isreload) { |
|||
if (isreload === 'true') this.$emit('reloadlist') |
|||
this.formobj = { |
|||
sid: '', |
|||
name: '', |
|||
codeUnified: '', |
|||
legalRepresentative: '', |
|||
businessLicenseNo: '', |
|||
list: [] |
|||
} |
|||
this.$refs['form_obj'].resetFields() |
|||
this.$emit('doback') |
|||
}, |
|||
showInfo(row) { |
|||
this.$nextTick(() => { |
|||
this.$refs['form_obj'].clearValidate() |
|||
}) |
|||
this.viewTitle = '关联供应商详情' |
|||
req.fetchDetailsBySid(row.sid).then(resp => { |
|||
if (resp.success) { |
|||
this.formobj = resp.data |
|||
} else { |
|||
// 根据resp.code进行异常情况处理 |
|||
} |
|||
}).catch(e => { |
|||
this.formobj = row |
|||
}) |
|||
}, |
|||
dataDelete(index) { |
|||
this.formobj.list.splice(index, 1) |
|||
}, |
|||
saveOrUpdate() { |
|||
this.$refs['form_obj'].validate(valid => { |
|||
if (valid) { |
|||
this.submitdisabled = true |
|||
req.save(this.formobj).then((resp) => { |
|||
this.submitdisabled = false |
|||
if (resp.success) { |
|||
this.$message({ showClose: true, type: 'success', message: resp.msg }) |
|||
this.handleReturn('true') |
|||
} else { |
|||
// 根据resp.code进行异常情况处理 |
|||
} |
|||
}).catch(() => { |
|||
this.submitdisabled = false |
|||
}) |
|||
} else { |
|||
return false |
|||
} |
|||
}) |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped> |
|||
</style> |
@ -1,132 +1,212 @@ |
|||
<template> |
|||
<div> |
|||
<!-- 标题按钮部分开始 --> |
|||
<div class="tab-header webtop"> |
|||
<!-- 标题 --> |
|||
<div>供应商信息详情</div> |
|||
<!-- start 详情按钮 --> |
|||
<div><el-button itype="info" size="small" @click="handleReturn()">返回</el-button></div> |
|||
<!-- end 详情按钮 --> |
|||
</div> |
|||
<!-- 标题按钮部分结束 --> |
|||
<div class="listconadd"> |
|||
<el-form ref="form_obj" :model="formobj" label-position="right" class="formadd"> |
|||
<div class="wlInfo"><span>供应商信息</span></div> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">创建者</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.createSid }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">更新者</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.modifySid }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">名称</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.name }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">统一编码</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.codeUnified }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">联系人</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.contacts }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">电话</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.telephone }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">地址</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.address }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">银行帐户</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.bankAccount }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">帐号</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.bankAccountNumber }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">开户行名称</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.bankName }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">法人</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.legalRepresentative }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">营业执照号</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.businessLicenseNo }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">监管审核状态0待审核1为通过2为拒绝</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.purchaseRequisition }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">监管审批意见</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.purchaseRemarks }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">银行0未审核,1审核通过,2审核不通过</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.bankState }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">银行审批意见</el-col> |
|||
<el-col :span="8" class="trightb"><el-form-item prop="useOrg"><span>{{ formobj.bankRemarks }}</span></el-form-item></el-col> |
|||
</el-row> |
|||
</el-form> |
|||
</div> |
|||
</div> |
|||
<div> |
|||
<!-- 标题按钮部分开始 --> |
|||
<div class="tab-header webtop"> |
|||
<!-- 标题 --> |
|||
<div>供应商信息详情</div> |
|||
<!-- start 详情按钮 --> |
|||
<div> |
|||
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> |
|||
</div> |
|||
<!-- end 详情按钮 --> |
|||
</div> |
|||
<!-- 标题按钮部分结束 --> |
|||
<div class="listconadd"> |
|||
<div class="titwu"><span>供应商信息</span></div> |
|||
<el-form ref="form_obj" :model="formobj" label-position="right" class="formadd"> |
|||
<div class="title"> |
|||
<div>供应商基本信息</div> |
|||
</div> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">供应商名称</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.name }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb">供应商编码</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.codeUnified }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">联系人</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.contacts }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb">电话</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.telephone }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">单位地址</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.address }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb">法人</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.legalRepresentative }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">银行帐户</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.bankAccount }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb">银行帐号</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.bankAccountNumber }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">开户行</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.bankName }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb">营业执照号</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.businessLicenseNo }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<div class="yyzz"> |
|||
<div>营业执照</div> |
|||
</div> |
|||
<el-row style="border-top: 1px solid #e0e3eb"> |
|||
<el-col :span="24"> |
|||
<el-form-item> |
|||
<el-image style="width: 178px;height: 178px;" v-for="(item,index) in formobj.businessLicenseFiles" :key="index" :src="item" :preview-src-list="formobj.businessLicenseFiles"></el-image> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<div class="title"> |
|||
<div>合同信息</div> |
|||
</div> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">供应商</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.name }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb">经办人</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.supplierContractInfoDto.handledBy }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">合同编号</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.supplierContractInfoDto.contractNo }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb">合同有效期</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.supplierContractInfoDto.contractValidity }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">签署组织</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.supplierContractInfoDto.signingOrganization }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb">签署部门</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.supplierContractInfoDto.signingDepartment }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb">签署人</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.supplierContractInfoDto.signatory }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb">合同金额</el-col> |
|||
<el-col :span="8" class="trightb"> |
|||
<el-form-item><span>{{ formobj.supplierContractInfoDto.contractPrice }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<div class="yyzz"> |
|||
<div>《合同照片》</div> |
|||
</div> |
|||
<el-row style="border-top: 1px solid #e0e3eb"> |
|||
<el-col :span="24"> |
|||
<el-form-item> |
|||
<el-image style="width: 178px;height: 178px;" v-for="(item,index) in formobj.contractFiles" :key="index" :src="item" :preview-src-list="formobj.contractFiles"></el-image> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import req from '@/api/supervise/supplierbankinfo' |
|||
|
|||
export default { |
|||
name: 'SupplierBankInfoInfo', |
|||
data() { |
|||
return { |
|||
formobj: {} |
|||
} |
|||
}, |
|||
methods: { |
|||
handleReturn() { |
|||
this.formobj = {} |
|||
this.$emit('doback') |
|||
}, |
|||
showInfo(row) { |
|||
req |
|||
.fetchBySid(row.sid) |
|||
.then(resp => { |
|||
if (resp.success) { |
|||
const vdata = resp.data |
|||
_this.formobj.id = vdata.id |
|||
_this.formobj.sid = vdata.sid // SID |
|||
_this.formobj.createSid = vdata.createSid // 创建者 |
|||
_this.formobj.modifySid = vdata.modifySid // 更新者 |
|||
_this.formobj.name = vdata.name // 名称 |
|||
_this.formobj.codeUnified = vdata.codeUnified // 统一编码 |
|||
_this.formobj.contacts = vdata.contacts // 联系人 |
|||
_this.formobj.telephone = vdata.telephone // 电话 |
|||
_this.formobj.address = vdata.address // 地址 |
|||
_this.formobj.bankAccount = vdata.bankAccount // 银行帐户 |
|||
_this.formobj.bankAccountNumber = vdata.bankAccountNumber // 帐号 |
|||
_this.formobj.bankName = vdata.bankName // 开户行名称 |
|||
_this.formobj.legalRepresentative = vdata.legalRepresentative // 法人 |
|||
_this.formobj.businessLicenseNo = vdata.businessLicenseNo // 营业执照号 |
|||
_this.formobj.purchaseRequisition = vdata.purchaseRequisition // 监管审核状态0待审核1为通过2为拒绝 |
|||
_this.formobj.purchaseRemarks = vdata.purchaseRemarks // 监管审批意见 |
|||
_this.formobj.bankState = vdata.bankState // 银行0未审核,1审核通过,2审核不通过 |
|||
_this.formobj.bankRemarks = vdata.bankRemarks // 银行审批意见 |
|||
} |
|||
}) |
|||
.catch(e => { |
|||
_this.formobj = row |
|||
}) |
|||
} |
|||
} |
|||
name: 'SupplierBankInfoInfo', |
|||
data() { |
|||
return { |
|||
formobj: { |
|||
sid: '', |
|||
name: '', |
|||
codeUnified: '', |
|||
contacts: '', |
|||
telephone: '', |
|||
address: '', |
|||
bankAccount: '', |
|||
bankAccountNumber: '', |
|||
bankName: '', |
|||
legalRepresentative: '', |
|||
businessLicenseNo: '', |
|||
businessLicenseFiles: [], |
|||
contractFiles: [], |
|||
supplierContractInfoDto: { |
|||
handledBy: '', |
|||
signingOrganization: '', |
|||
contractNo: '', |
|||
contractValidity: '', |
|||
signingDepartment: '', |
|||
signatory: '', |
|||
contractPrice: '', |
|||
supplierSid: '' |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
methods: { |
|||
handleReturn() { |
|||
this.formobj = {} |
|||
this.$emit('doback') |
|||
}, |
|||
showInfo(row) { |
|||
req.fetchBySid(row.sid).then((resp) => { |
|||
if (resp.success) { |
|||
this.formobj.sid = resp.data.sid |
|||
this.formobj.name = resp.data.name |
|||
this.formobj.codeUnified = resp.data.codeUnified |
|||
this.formobj.contacts = resp.data.contacts |
|||
this.formobj.telephone = resp.data.telephone |
|||
this.formobj.address = resp.data.address |
|||
this.formobj.bankAccount = resp.data.bankAccount |
|||
this.formobj.bankAccountNumber = resp.data.bankAccountNumber |
|||
this.formobj.bankName = resp.data.bankName |
|||
this.formobj.legalRepresentative = resp.data.legalRepresentative |
|||
this.formobj.businessLicenseNo = resp.data.businessLicenseNo |
|||
this.formobj.businessLicenseFiles = resp.data.businessLicenseFiles |
|||
this.formobj.contractFiles = resp.data.contractFiles |
|||
if (resp.data.supplierContractInfoDto !== null) { |
|||
this.formobj.supplierContractInfoDto = resp.data.supplierContractInfoDto |
|||
} |
|||
} |
|||
}).catch(e => { |
|||
this.formobj = row |
|||
}) |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped></style> |
|||
<style scoped> |
|||
.yyzz { |
|||
padding: 12px; |
|||
font-weight: bold; |
|||
font-size: 16px; |
|||
text-align: left; |
|||
} |
|||
</style> |
|||
|
Loading…
Reference in new issue