证书加规格型号

test
anthonywj 2 years ago
parent 7cb8f7407e
commit a6663be10b

@ -15,13 +15,13 @@ ENV = 'production'
# VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_SPMS_SERVER/' # VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_SPMS_SERVER/'
# 平潭 # 平潭
VUE_APP_BASE_API = 'http://121.204.169.96:9150/UDI_SPMS_SERVER/' # VUE_APP_BASE_API = 'http://121.204.169.96:9150/UDI_SPMS_SERVER/'
# 文明懂 # 文明懂
# VUE_APP_BASE_API = 'http://192.168.0.62:9150/UDI_SPMS_SERVER/' # VUE_APP_BASE_API = 'http://192.168.0.62:9150/UDI_SPMS_SERVER/'
# 刘恩典 # 刘恩典
# VUE_APP_BASE_API = 'http://192.168.0.243:9150/UDI_SPMS_SERVER/' VUE_APP_BASE_API = 'http://192.168.0.117:9150/UDI_SPMS_SERVER/'
# 漳州中医院 # 漳州中医院
# VUE_APP_BASE_API = 'http://116.204.116.198:9150/UDI_SPMS_SERVER/' # VUE_APP_BASE_API = 'http://116.204.116.198:9150/UDI_SPMS_SERVER/'
@ -29,6 +29,10 @@ VUE_APP_BASE_API = 'http://121.204.169.96:9150/UDI_SPMS_SERVER/'
# 平和 # 平和
# VUE_APP_BASE_API = 'http://121.36.152.129:9150/UDI_SPMS_SERVER/' # VUE_APP_BASE_API = 'http://121.36.152.129:9150/UDI_SPMS_SERVER/'
# 长泰医院
# VUE_APP_BASE_API = 'http://139.159.247.26:9150/UDI_SPMS_SERVER/'
# 应用访问路径 例如使用前缀 /admin/ # 应用访问路径 例如使用前缀 /admin/

@ -276,6 +276,7 @@
style="width: 100%"> style="width: 100%">
<el-table-column type="index" label="序号" width="50"></el-table-column> <el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column label="物资名称" prop="recordProductName" show-overflow-tooltip></el-table-column> <el-table-column label="物资名称" prop="recordProductName" show-overflow-tooltip></el-table-column>
<el-table-column label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column>
<el-table-column label="注册/备案号" prop="recordCode" show-overflow-tooltip></el-table-column> <el-table-column label="注册/备案号" prop="recordCode" show-overflow-tooltip></el-table-column>
<el-table-column label="注册/备案人名称" prop="recordPeopleName" show-overflow-tooltip></el-table-column> <el-table-column label="注册/备案人名称" prop="recordPeopleName" show-overflow-tooltip></el-table-column>
<el-table-column label="生产企业" prop="manufacturerName" show-overflow-tooltip></el-table-column> <el-table-column label="生产企业" prop="manufacturerName" show-overflow-tooltip></el-table-column>

@ -7,12 +7,14 @@
<el-row> <el-row>
<el-col span="6"> <el-col span="6">
<el-form-item label="配送企业名称:"> <el-form-item label="配送企业名称:">
<el-input v-model="filterQuery.companyName" style="width: 90%" placeholder="请输入配送企业名称" clearable></el-input> <el-input v-model="filterQuery.companyName" style="width: 90%" placeholder="请输入配送企业名称"
clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col span="6"> <el-col span="6">
<el-form-item label="统一社会信用号:"> <el-form-item label="统一社会信用号:">
<el-input v-model="filterQuery.creditNum" style="width: 90%" placeholder="请输入统一社会信用号" clearable></el-input> <el-input v-model="filterQuery.creditNum" style="width: 90%" placeholder="请输入统一社会信用号"
clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -28,7 +30,8 @@
<el-divider style="margin: 15px"></el-divider> <el-divider style="margin: 15px"></el-divider>
<el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row @row-click="supCompanyClick"> <el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row
@row-click="supCompanyClick">
<el-table-column type="index" label="序号" width="50"></el-table-column> <el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column label="配送企业名称" prop="companyName" show-overflow-tooltip></el-table-column> <el-table-column label="配送企业名称" prop="companyName" show-overflow-tooltip></el-table-column>
<el-table-column label="统一社会信用号" prop="creditNum"></el-table-column> <el-table-column label="统一社会信用号" prop="creditNum"></el-table-column>
@ -44,9 +47,15 @@
<el-table-column label="操作" width="180"> <el-table-column label="操作" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small" v-if="scope.row.auditStatus ==6 || scope.row.auditStatus ==3" @click.native.stop="editCompany(scope.row)"></el-button> <el-button type="text" size="small" v-if="scope.row.auditStatus ==6 || scope.row.auditStatus ==3"
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3" @click.native.stop="editCompany(scope.row)"></el-button> @click.native.stop="editCompany(scope.row)">审核
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3" @click.native="printSupCertPdf(scope.row)"></el-button> </el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3"
@click.native.stop="editCompany(scope.row)">详情
</el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3"
@click.native="printSupCertPdf(scope.row)">打印
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -84,12 +93,14 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="生产企业名称"> <el-form-item label="生产企业名称">
<el-input v-model="filterManufacturerQuery.companyName" style="width: 90%" placeholder="请输入生产企业名称" clearable></el-input> <el-input v-model="filterManufacturerQuery.companyName" style="width: 90%" placeholder="请输入生产企业名称"
clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="统一社会信用号"> <el-form-item label="统一社会信用号">
<el-input v-model="filterManufacturerQuery.creditCode" style="width: 90%" placeholder="请输入统一社会信用号" clearable></el-input> <el-input v-model="filterManufacturerQuery.creditCode" style="width: 90%" placeholder="请输入统一社会信用号"
clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -105,7 +116,8 @@
</div> </div>
<el-divider style="margin: 15px"></el-divider> <el-divider style="margin: 15px"></el-divider>
<el-table v-loading="loadManufacturerLoading" :data="manufacturerList" style="width: 100%" border highlight-current-row @row-click="supManufacturerClick"> <el-table v-loading="loadManufacturerLoading" :data="manufacturerList" style="width: 100%" border
highlight-current-row @row-click="supManufacturerClick">
<el-table-column label="序号" type="index"></el-table-column> <el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="生产企业名称" prop="companyName" width="200" show-overflow-tooltip></el-table-column> <el-table-column label="生产企业名称" prop="companyName" width="200" show-overflow-tooltip></el-table-column>
<el-table-column label="社会信用号" prop="creditCode"></el-table-column> <el-table-column label="社会信用号" prop="creditCode"></el-table-column>
@ -127,9 +139,15 @@
<el-table-column label="操作" width="180"> <el-table-column label="操作" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small" v-if="scope.row.auditStatus ==6 || scope.row.auditStatus ==3" @click.native.stop="addInfoDialog(scope.row)"></el-button> <el-button type="text" size="small" v-if="scope.row.auditStatus ==6 || scope.row.auditStatus ==3"
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3" @click.native.stop="addInfoDialog(scope.row)"></el-button> @click.native.stop="addInfoDialog(scope.row)">审核
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3" @click.native="printSupCertManufacturerPdf(scope.row)"></el-button> </el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3"
@click.native.stop="addInfoDialog(scope.row)">详情
</el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3"
@click.native="printSupCertManufacturerPdf(scope.row)">打印
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -166,13 +184,16 @@
<el-form :model="registrationQuery" class="query-form" label-width="100px" v-show="showSearch2"> <el-form :model="registrationQuery" class="query-form" label-width="100px" v-show="showSearch2">
<el-row style="width: 100%"> <el-row style="width: 100%">
<el-form-item label="物资名称:"> <el-form-item label="物资名称:">
<el-input v-model="registrationQuery.recordProductName" style="width: 90%" clearable="true" placeholder="请输入物资名称"></el-input> <el-input v-model="registrationQuery.recordProductName" style="width: 90%" clearable="true"
placeholder="请输入物资名称"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="注册备案号:"> <el-form-item label="注册备案号:">
<el-input v-model="registrationQuery.recordCode" style="width: 90%" clearable="true" placeholder="请输入注册备案号"></el-input> <el-input v-model="registrationQuery.recordCode" style="width: 90%" clearable="true"
placeholder="请输入注册备案号"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="注册备案人:"> <el-form-item label="注册备案人:">
<el-input v-model="registrationQuery.recordPeopleName" style="width: 90%" clearable="true" placeholder="请输入注册备案人"></el-input> <el-input v-model="registrationQuery.recordPeopleName" style="width: 90%" clearable="true"
placeholder="请输入注册备案人"></el-input>
</el-form-item> </el-form-item>
</el-row> </el-row>
</el-form> </el-form>
@ -186,9 +207,11 @@
</div> </div>
<el-divider style="margin: 15px"></el-divider> <el-divider style="margin: 15px"></el-divider>
<el-table v-loading="registrationLoading" :data="registrationList" border highlight-current-row style="width: 100%"> <el-table v-loading="registrationLoading" :data="registrationList" border highlight-current-row
style="width: 100%">
<el-table-column type="index" label="序号" width="50"></el-table-column> <el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column label="物资名称" prop="recordProductName" show-overflow-tooltip></el-table-column> <el-table-column label="物资名称" prop="recordProductName" show-overflow-tooltip></el-table-column>
<el-table-column label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column>
<el-table-column label="注册/备案号" prop="recordCode" show-overflow-tooltip></el-table-column> <el-table-column label="注册/备案号" prop="recordCode" show-overflow-tooltip></el-table-column>
<el-table-column label="注册/备案人名称" prop="recordPeopleName" show-overflow-tooltip></el-table-column> <el-table-column label="注册/备案人名称" prop="recordPeopleName" show-overflow-tooltip></el-table-column>
<el-table-column label="生产企业" prop="manufacturerName" show-overflow-tooltip></el-table-column> <el-table-column label="生产企业" prop="manufacturerName" show-overflow-tooltip></el-table-column>
@ -204,9 +227,15 @@
<el-table-column label="操作" width="180"> <el-table-column label="操作" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small" v-if="scope.row.auditStatus ==6 || scope.row.auditStatus ==3" @click.native.stop="registrationDialog(scope.row)"></el-button> <el-button type="text" size="small" v-if="scope.row.auditStatus ==6 || scope.row.auditStatus ==3"
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3" @click.native.stop="registrationDialog(scope.row)"></el-button> @click.native.stop="registrationDialog(scope.row)">审核
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3" @click.native="printSupCertProductionPdf(scope.row)"></el-button> </el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3"
@click.native.stop="registrationDialog(scope.row)">详情
</el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3"
@click.native="printSupCertProductionPdf(scope.row)">打印
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -241,7 +270,15 @@
</template> </template>
<script> <script>
import {getSupComapnys, delSupComapnys, printSupCert, verifyTemplateFile,filterCompanyCertIdList,printSupCertManufacturer,printSupCertProduction} from "@/api/purchase/supCompany"; import {
getSupComapnys,
delSupComapnys,
printSupCert,
verifyTemplateFile,
filterCompanyCertIdList,
printSupCertManufacturer,
printSupCertProduction
} from "@/api/purchase/supCompany";
import supCompanyEditAdudit from "@/views/purchase/company/supCompanyAduditDialog"; import supCompanyEditAdudit from "@/views/purchase/company/supCompanyAduditDialog";
import supManufacturerAuditDialog from "@/views/purchase/manufacturer/supManufacturerAuditDialog"; import supManufacturerAuditDialog from "@/views/purchase/manufacturer/supManufacturerAuditDialog";
import {deleteCompany, getCompanyList} from "@/api/purchase/supManufacturer"; import {deleteCompany, getCompanyList} from "@/api/purchase/supManufacturer";
@ -252,7 +289,7 @@ export default {
data() { data() {
return { return {
/**-----------------配送企业资质----------------------------*/ /**-----------------配送企业资质----------------------------*/
showSearch:true, showSearch: true,
filterQuery: { filterQuery: {
companyName: "", companyName: "",
checkType: "", checkType: "",
@ -281,7 +318,7 @@ export default {
editType: 0, //0:1 editType: 0, //0:1
/**-----------------生产企业资质----------------------------*/ /**-----------------生产企业资质----------------------------*/
showSearch1:true, showSearch1: true,
filterManufacturerQuery: { filterManufacturerQuery: {
customerId: null, customerId: null,
companyName: "", companyName: "",
@ -318,7 +355,7 @@ export default {
/**----------------------------配送产品资质--------------------------------*/ /**----------------------------配送产品资质--------------------------------*/
showSearch2:true, showSearch2: true,
productLoading: false, productLoading: false,
value: "", value: "",
registrationVisible: false, registrationVisible: false,
@ -478,7 +515,7 @@ export default {
this.showSearch1 = !this.showSearch1; this.showSearch1 = !this.showSearch1;
}, },
onManufacturerSubmit() { onManufacturerSubmit() {
this.filterManufacturerQuery.page=1; this.filterManufacturerQuery.page = 1;
this.manufacturerList = []; this.manufacturerList = [];
this.getManufacturerList(); this.getManufacturerList();
}, },
@ -547,7 +584,7 @@ export default {
this.getRegistrationList(); this.getRegistrationList();
}, },
onSubmit2() { onSubmit2() {
this.registrationQuery.page=1; this.registrationQuery.page = 1;
this.getRegistrationList(); this.getRegistrationList();
}, },
hideSearch2() { hideSearch2() {
@ -596,12 +633,12 @@ export default {
verifyTemplateFile(query).then((res) => { verifyTemplateFile(query).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
//id //id
var supCertQuery={ var supCertQuery = {
customerId:row.customerId, customerId: row.customerId,
type:1 type: 1
}; };
filterCompanyCertIdList(supCertQuery).then((req) => { filterCompanyCertIdList(supCertQuery).then((req) => {
if(req.code===20000){ if (req.code === 20000) {
let printParams = { let printParams = {
templateId: res.data, templateId: res.data,
ids: req.data, ids: req.data,
@ -636,13 +673,13 @@ export default {
verifyTemplateFile(query).then((res) => { verifyTemplateFile(query).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
//id //id
var supCertQuery={ var supCertQuery = {
customerId:row.customerId, customerId: row.customerId,
manufacturerIdFk:row.manufacturerId, manufacturerIdFk: row.manufacturerId,
type:2 type: 2
}; };
filterCompanyCertIdList(supCertQuery).then((req) => { filterCompanyCertIdList(supCertQuery).then((req) => {
if(req.code===20000){ if (req.code === 20000) {
let printParams = { let printParams = {
templateId: res.data, templateId: res.data,
ids: req.data, ids: req.data,
@ -678,14 +715,14 @@ export default {
verifyTemplateFile(query).then((res) => { verifyTemplateFile(query).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
//id //id
var supCertQuery={ var supCertQuery = {
customerId:row.customerId, customerId: row.customerId,
manufacturerIdFk:row.manufacturerIdFk, manufacturerIdFk: row.manufacturerIdFk,
productIdFk:row.productId, productIdFk: row.productId,
type:3 type: 3
}; };
filterCompanyCertIdList(supCertQuery).then((req) => { filterCompanyCertIdList(supCertQuery).then((req) => {
if(req.code===20000){ if (req.code === 20000) {
let printParams = { let printParams = {
templateId: res.data, templateId: res.data,
ids: req.data, ids: req.data,

@ -234,6 +234,11 @@
prop="recordProductName" prop="recordProductName"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
<el-table-column
label="规格型号"
prop="ggxh"
show-overflow-tooltip
></el-table-column>
<el-table-column <el-table-column
label="注册/备案号" label="注册/备案号"
prop="recordCode" prop="recordCode"

Loading…
Cancel
Save