From b41bdd993c56950496aec1ae6b468acac1af6b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Fri, 21 Apr 2023 14:52:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E8=B4=A8=E4=BB=A3=E7=A0=81=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/basicUnitMaintain.js | 10 + src/api/basic/udiRelevance.js | 7 + src/api/purchase/supCompany.js | 8 +- src/views/purchase/cert/supCertAddDialog.vue | 721 ++++---- src/views/purchase/cert/supCertAudit.vue | 42 +- src/views/purchase/cert/supCertSearch.vue | 27 +- src/views/purchase/cert/supCertSet.vue | 6 +- .../purchase/cert/supCertSetSelectDialog.vue | 2 +- .../purchase/cert/supCertificationAdd.vue | 1050 ++++++------ .../company/basicSelectSingleProducts.vue | 20 +- .../purchase/company/companyProducts.vue | 1045 ++++++------ src/views/purchase/company/supCompanyAdd.vue | 4 +- .../company/supCompanyAduditDialog.vue | 51 +- .../purchase/company/supCompanyEditDialog.vue | 1277 +++++++------- .../supManufacturerAuditDialog.vue | 29 +- .../supManufacturerEditDialog.vue | 1412 +++++++-------- .../product/supProductAuditDialog.vue | 24 +- .../purchase/product/supProductEditDialog.vue | 1519 +++++++++-------- 18 files changed, 3640 insertions(+), 3614 deletions(-) diff --git a/src/api/basic/basicUnitMaintain.js b/src/api/basic/basicUnitMaintain.js index 4bd03b4f..0355fc24 100644 --- a/src/api/basic/basicUnitMaintain.js +++ b/src/api/basic/basicUnitMaintain.js @@ -96,4 +96,14 @@ export function getSystemParamConfig(query) { }); } +export function getCorpList(query) { + return axios({ + url: "/udiwms/basic/unit/maintain/getCorpList", + method: "post", + data: query + }); +} + + + diff --git a/src/api/basic/udiRelevance.js b/src/api/basic/udiRelevance.js index b966232f..b82965db 100644 --- a/src/api/basic/udiRelevance.js +++ b/src/api/basic/udiRelevance.js @@ -192,6 +192,13 @@ export function getGgxhList(params) { }); } +export function getCertUdis(query) { + return axios({ + url: "/udi/cert/filterUdi", + method: "get", + params: query + }); +} diff --git a/src/api/purchase/supCompany.js b/src/api/purchase/supCompany.js index bccf1c76..ce87f3bd 100644 --- a/src/api/purchase/supCompany.js +++ b/src/api/purchase/supCompany.js @@ -151,7 +151,13 @@ export function printSupCertProduction(data) { data: data }); } - +export function previewImage(data) { + return axios({ + url: "/udiwms/image/register/file", + method: "post", + data: data + }); +} diff --git a/src/views/purchase/cert/supCertAddDialog.vue b/src/views/purchase/cert/supCertAddDialog.vue index e7eb4503..7d8f5e8e 100644 --- a/src/views/purchase/cert/supCertAddDialog.vue +++ b/src/views/purchase/cert/supCertAddDialog.vue @@ -1,380 +1,393 @@ diff --git a/src/views/purchase/cert/supCertAudit.vue b/src/views/purchase/cert/supCertAudit.vue index f9548602..c48060cf 100644 --- a/src/views/purchase/cert/supCertAudit.vue +++ b/src/views/purchase/cert/supCertAudit.vue @@ -7,12 +7,12 @@ - + - + @@ -35,6 +35,17 @@ + + + + + + + - - - + + + @@ -128,13 +134,13 @@ + placeholder="请输入生产企业名称" clearable> + placeholder="请输入统一社会信用号" clearable> @@ -223,6 +229,7 @@ @@ -234,9 +241,9 @@ - + + placeholder="请输入物资名称"> @@ -267,7 +274,7 @@ - + @@ -325,6 +332,7 @@ @@ -353,6 +361,7 @@ export default { page: 1, limit: 20, }, + auditType:1, loading: false, list: [], total: 0, @@ -557,6 +566,7 @@ export default { supCompanyClick(row) { this.filterManufacturerQuery.customerId = row.customerId; + this.registrationList=[]; this.onManufacturerReset(); }, diff --git a/src/views/purchase/cert/supCertSearch.vue b/src/views/purchase/cert/supCertSearch.vue index f9969952..39871247 100644 --- a/src/views/purchase/cert/supCertSearch.vue +++ b/src/views/purchase/cert/supCertSearch.vue @@ -7,12 +7,12 @@ - + - + @@ -84,12 +84,12 @@ - + - + @@ -165,8 +165,8 @@ - - + + @@ -188,7 +188,7 @@ - + @@ -585,7 +585,7 @@ export default { this.getRegistrationList(); }, printSupCertPdf(row) { - let query = {moduleId: 8}; + let query = {id: 1}; this.loading = true; verifyTemplateFile(query).then((res) => { if (res.code === 20000) { @@ -625,13 +625,15 @@ export default { }, //生产企业打印 printSupCertManufacturerPdf(row) { - let query = {moduleId: 9}; + let query = {id: 2}; this.loading = true; verifyTemplateFile(query).then((res) => { if (res.code === 20000) { + debugger //查询全部详情id var supCertQuery={ customerId:row.customerId, + manufacturerIdFk:row.manufacturerId, type:2 }; filterCompanyCertIdList(supCertQuery).then((req) => { @@ -666,14 +668,17 @@ export default { //生产产品打印 printSupCertProductionPdf(row) { - let query = {moduleId: 10}; + let query = {id: 3}; this.loading = true; verifyTemplateFile(query).then((res) => { + debugger if (res.code === 20000) { //查询全部详情id var supCertQuery={ customerId:row.customerId, - type:2 + manufacturerIdFk:row.manufacturerIdFk, + productIdFk:row.productId, + type:3 }; filterCompanyCertIdList(supCertQuery).then((req) => { if(req.code===20000){ diff --git a/src/views/purchase/cert/supCertSet.vue b/src/views/purchase/cert/supCertSet.vue index b930fb4d..94f9434e 100644 --- a/src/views/purchase/cert/supCertSet.vue +++ b/src/views/purchase/cert/supCertSet.vue @@ -71,7 +71,7 @@ - + @@ -177,7 +177,7 @@ - + @@ -319,7 +319,7 @@ - + diff --git a/src/views/purchase/cert/supCertSetSelectDialog.vue b/src/views/purchase/cert/supCertSetSelectDialog.vue index b73f5478..6234caa9 100644 --- a/src/views/purchase/cert/supCertSetSelectDialog.vue +++ b/src/views/purchase/cert/supCertSetSelectDialog.vue @@ -146,7 +146,7 @@ export default { manufacturerIdFk: this.manufacturerId, productIdFk: this.productId, supCertSetEntities: this.multipleSelection, - customerId: this.customerId, + customerId:this.customerId, }; selectAllCert(postQuery) .then(response => { diff --git a/src/views/purchase/cert/supCertificationAdd.vue b/src/views/purchase/cert/supCertificationAdd.vue index ccc5aefc..b3dedd64 100644 --- a/src/views/purchase/cert/supCertificationAdd.vue +++ b/src/views/purchase/cert/supCertificationAdd.vue @@ -1,190 +1,201 @@ diff --git a/src/views/purchase/company/basicSelectSingleProducts.vue b/src/views/purchase/company/basicSelectSingleProducts.vue index 926fe882..90fe2002 100644 --- a/src/views/purchase/company/basicSelectSingleProducts.vue +++ b/src/views/purchase/company/basicSelectSingleProducts.vue @@ -9,8 +9,8 @@ - - + + @@ -54,9 +54,9 @@ - + - +