From 67fbdc2864936b210c66189e90a7be547d52d653 Mon Sep 17 00:00:00 2001 From: caoyizhong <1270296080@qq.com> Date: Fri, 21 Oct 2022 17:44:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../description/ProcessDescriptionList.vue | 20 ++-- .../modules/ProcessDescriptionForm.vue | 22 ++-- .../ProcessMaterialStorageList.vue | 107 ++++++++++++------ .../modules/ProcessMaterialStorageForm.vue | 49 ++++---- .../ProcessMerchandiseNewsList.vue | 10 +- src/views/statisticanalysis/CostStatistic.vue | 2 +- .../costecharts/CaseCost.vue | 21 ++-- .../statisticanalysis/costecharts/Cost.vue | 7 +- .../costecharts/CostAnalysis.vue | 2 +- .../costecharts/ItemCost.vue | 7 +- .../costecharts/OnDayCost.vue | 8 +- src/views/supplier/ProcessSupplierList.vue | 92 ++++++++++----- .../supplier/modules/ProcessSupplierForm.vue | 35 ++++-- .../ProcessUnitWasteWarehouseCodeList.vue | 31 ++--- .../ProcessUnitWasteWarehouseCodeForm.vue | 28 +++-- .../ProcessUnitWasteWarehouseCodeModal.vue | 2 +- 16 files changed, 277 insertions(+), 166 deletions(-) diff --git a/src/views/description/ProcessDescriptionList.vue b/src/views/description/ProcessDescriptionList.vue index 66a6796..f2a6872 100644 --- a/src/views/description/ProcessDescriptionList.vue +++ b/src/views/description/ProcessDescriptionList.vue @@ -18,8 +18,8 @@ - - {{item.categoryName}} + + {{item.classifyName}} @@ -48,7 +48,7 @@ 导入 - + 删除 @@ -105,9 +105,9 @@ 更多 - - 详情 - + + + 删除 @@ -169,7 +169,7 @@ { title:'分类名称', align:"center", - dataIndex: 'bigCategoryId' + dataIndex: 'classifyName' }, { title: '操作', @@ -186,7 +186,7 @@ deleteBatch: "/description/processDescription/deleteBatch", exportXlsUrl: "/description/processDescription/exportXls", importExcelUrl: "description/processDescription/importExcel", - categoryId: "/bigcategory/processBigCategory/list" + descriptionRake: "/description/processDescription/descriptionRake" }, dictOptions:{}, superFieldList:[], @@ -215,10 +215,10 @@ delFlag: 0, state: 0 } - getAction(this.url.categoryId,par).then((res)=>{ + getAction(this.url.descriptionRake,par).then((res)=>{ if(res.success){ // console.log(res.result.records); - this.bigId = res.result.records; + this.bigId = res.result; } }); } diff --git a/src/views/description/modules/ProcessDescriptionForm.vue b/src/views/description/modules/ProcessDescriptionForm.vue index 1511061..097c859 100644 --- a/src/views/description/modules/ProcessDescriptionForm.vue +++ b/src/views/description/modules/ProcessDescriptionForm.vue @@ -17,8 +17,8 @@ - - {{item.categoryName}} + + {{item.classifyName}} @@ -84,7 +84,7 @@ add: "/description/processDescription/add", edit: "/description/processDescription/edit", queryById: "/description/processDescription/queryById", - categoryId: "/bigcategory/processBigCategory/list" + descriptionRake: "/description/processDescription/descriptionRake" } } }, @@ -120,7 +120,7 @@ this.model = Object.assign({}, record); this.visible = true; this.$nextTick(() => { - this.form.setFieldsValue(pick(this.model,'materialClassify','descriptionName','bigCategoryId')) + this.form.setFieldsValue(pick(this.model,'materialClassify','descriptionName','classifyName')) }) }, //渲染流程表单数据 @@ -134,15 +134,15 @@ }); } //查询大品类数据 - let par = { - classify: 1, - delFlag: 0, - state: 0 - } - getAction(this.url.categoryId,par).then((res)=>{ + // let par = { + // classify: 1, + // delFlag: 0, + // state: 0 + // } + getAction(this.url.descriptionRake,null).then((res)=>{ if(res.success){ // console.log(res.result.records); - this.bigId = res.result.records; + this.bigId = res.result; } }); }, diff --git a/src/views/materialstorage/ProcessMaterialStorageList.vue b/src/views/materialstorage/ProcessMaterialStorageList.vue index a96a196..d3958eb 100644 --- a/src/views/materialstorage/ProcessMaterialStorageList.vue +++ b/src/views/materialstorage/ProcessMaterialStorageList.vue @@ -5,35 +5,51 @@ - - + + - - - - - -