From 1419253c7c14a3a75f169dd3838bcc5456ebdf88 Mon Sep 17 00:00:00 2001 From: long <18782126717@163.com> Date: Mon, 24 Oct 2022 17:40:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B5=81=E7=A8=8B=E5=85=B3?= =?UTF-8?q?=E8=81=94=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/less/common.less | 6 +- src/components/jeecg/HPlan.vue | 212 ++++++++ src/components/jeecg/index.js | 2 + src/components/jeecg/modal/ProcessPlan.vue | 460 ++++++++++++++++++ .../form/ProcessMaterialBorrowingForm.vue | 3 +- .../form/ProcessMaterialWarehousingForm.vue | 7 +- .../form/ProcessMaterialsAllotForm.vue | 3 +- .../form/ProcessMaterialsDeliveryForm.vue | 3 +- .../form/ProcessMaterialsReturnForm.vue | 3 +- .../form/ProcessSmaterialsScrapForm.vue | 3 +- .../form/ProcessSpecialMaterialsForm.vue | 3 +- .../ProcessUdgetPlanMaterialList.vue | 6 +- 12 files changed, 699 insertions(+), 12 deletions(-) create mode 100644 src/components/jeecg/HPlan.vue create mode 100644 src/components/jeecg/modal/ProcessPlan.vue diff --git a/src/assets/less/common.less b/src/assets/less/common.less index b27871b..1a7d731 100644 --- a/src/assets/less/common.less +++ b/src/assets/less/common.less @@ -58,4 +58,8 @@ } /**隐藏样式-modal确定按钮 */ -.jee-hidden{display: none} \ No newline at end of file +.jee-hidden{display: none} + +.common-table-cs{ + height: 100%; +} \ No newline at end of file diff --git a/src/components/jeecg/HPlan.vue b/src/components/jeecg/HPlan.vue new file mode 100644 index 0000000..a711ed1 --- /dev/null +++ b/src/components/jeecg/HPlan.vue @@ -0,0 +1,212 @@ + + + + \ No newline at end of file diff --git a/src/components/jeecg/index.js b/src/components/jeecg/index.js index 8c21c85..0f46adf 100644 --- a/src/components/jeecg/index.js +++ b/src/components/jeecg/index.js @@ -1,6 +1,7 @@ import JModal from './JModal' import JFormContainer from './JFormContainer.vue' import JPopup from './JPopup.vue' +import HPlan from './HPlan' import JMarkdownEditor from './JMarkdownEditor' import JCodeEditor from './JCodeEditor.vue' import JEditor from './JEditor.vue' @@ -48,6 +49,7 @@ export default { Vue.component('JImportModal', JImportModal) Vue.component('JInput', JInput) Vue.component('JPopup', JPopup) + Vue.component('HPlan', HPlan) Vue.component('JSelectMultiple', JSelectMultiple) Vue.component('JSlider', JSlider) Vue.component('JSuperQuery', JSuperQuery) diff --git a/src/components/jeecg/modal/ProcessPlan.vue b/src/components/jeecg/modal/ProcessPlan.vue new file mode 100644 index 0000000..85a0b99 --- /dev/null +++ b/src/components/jeecg/modal/ProcessPlan.vue @@ -0,0 +1,460 @@ + + + + + \ No newline at end of file diff --git a/src/views/activiti/form/ProcessMaterialBorrowingForm.vue b/src/views/activiti/form/ProcessMaterialBorrowingForm.vue index b287d13..24edf82 100644 --- a/src/views/activiti/form/ProcessMaterialBorrowingForm.vue +++ b/src/views/activiti/form/ProcessMaterialBorrowingForm.vue @@ -228,7 +228,8 @@ processMaterialBorrowingList: { list: '/hy/processMaterialBorrowing/queryProcessMaterialBorrowingListByMainId' }, - } + }, + btndisabled: false } }, props: { diff --git a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue index c58e0a9..1769d3e 100644 --- a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue +++ b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue @@ -26,7 +26,8 @@ - + + @@ -316,7 +317,9 @@ import JSelectCompany from '../../../components/jeecgbiz/JSelectCompany' processMaterialWarehousingList: { list: '/hy/processMaterialWarehousing/queryProcessMaterialWarehousingListByMainId' }, - } + }, + btndisabled: false, + processUdgetPlanId:'' } }, props: { diff --git a/src/views/activiti/form/ProcessMaterialsAllotForm.vue b/src/views/activiti/form/ProcessMaterialsAllotForm.vue index 21d974f..fd59656 100644 --- a/src/views/activiti/form/ProcessMaterialsAllotForm.vue +++ b/src/views/activiti/form/ProcessMaterialsAllotForm.vue @@ -230,7 +230,8 @@ processMaterialsAllotList: { list: '/hy/processMaterialsAllot/queryProcessMaterialsAllotListByMainId' }, - } + }, + btndisabled: false } }, props: { diff --git a/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue b/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue index e0abb23..016dcb4 100644 --- a/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue +++ b/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue @@ -237,7 +237,8 @@ import JSelectCompany from '../../../components/jeecgbiz/JSelectCompany' processMaterialsDeliveryList: { list: '/hy/processMaterialsDelivery/queryProcessMaterialsDeliveryListByMainId' }, - } + }, + btndisabled: false } }, props: { diff --git a/src/views/activiti/form/ProcessMaterialsReturnForm.vue b/src/views/activiti/form/ProcessMaterialsReturnForm.vue index 6437fce..f83efaa 100644 --- a/src/views/activiti/form/ProcessMaterialsReturnForm.vue +++ b/src/views/activiti/form/ProcessMaterialsReturnForm.vue @@ -230,7 +230,8 @@ processMaterialsReturnList: { list: '/hy/processMaterialsReturn/queryProcessMaterialsReturnListByMainId' }, - } + }, + btndisabled: false } }, props: { diff --git a/src/views/activiti/form/ProcessSmaterialsScrapForm.vue b/src/views/activiti/form/ProcessSmaterialsScrapForm.vue index baad667..d799324 100644 --- a/src/views/activiti/form/ProcessSmaterialsScrapForm.vue +++ b/src/views/activiti/form/ProcessSmaterialsScrapForm.vue @@ -231,7 +231,8 @@ processSmaterialsScrapList: { list: '/hy/processSmaterialsScrap/queryProcessSmaterialsScrapListByMainId' }, - } + }, + btndisabled: false } }, props: { diff --git a/src/views/activiti/form/ProcessSpecialMaterialsForm.vue b/src/views/activiti/form/ProcessSpecialMaterialsForm.vue index 79f1273..7ecb00e 100644 --- a/src/views/activiti/form/ProcessSpecialMaterialsForm.vue +++ b/src/views/activiti/form/ProcessSpecialMaterialsForm.vue @@ -223,7 +223,8 @@ processSpecialMaterialsList: { list: '/hy/processSpecialMaterials/queryProcessSpecialMaterialsListByMainId' }, - } + }, + btndisabled: false } }, props: { diff --git a/src/views/processmaterials/ProcessUdgetPlanMaterialList.vue b/src/views/processmaterials/ProcessUdgetPlanMaterialList.vue index cfd7c7b..2830411 100644 --- a/src/views/processmaterials/ProcessUdgetPlanMaterialList.vue +++ b/src/views/processmaterials/ProcessUdgetPlanMaterialList.vue @@ -103,7 +103,7 @@ if(!this.mainId){ this.clearList() }else{ - this.queryParam['processUdgetPlanId'] = val + this.queryParam['id'] = val this.loadData(1); } } @@ -249,12 +249,12 @@ dataIndex: 'action', align:"center", fixed:"right", - width:147, + width:100, scopedSlots: { customRender: 'action' }, } ], url: { - list: "/hy/processUdgetPlan/listProcessUdgetPlanMaterialByMainId", + list: "/hy/processUdgetPlan/queryProcessUdgetPlanMaterialByMainId", delete: "/hy/processUdgetPlan/deleteProcessUdgetPlanMaterial", deleteBatch: "/hy/processUdgetPlan/deleteBatchProcessUdgetPlanMaterial", exportXlsUrl: "/hy/processUdgetPlan/exportProcessUdgetPlanMaterial",