From 619dea8f46130ed7971613e7f7a2416960f7ffe1 Mon Sep 17 00:00:00 2001
From: YTD <1158283261@qq.com>
Date: Mon, 14 Nov 2022 23:04:19 +0800
Subject: [PATCH] =?UTF-8?q?2022-11-14=E6=AC=BE=E5=BC=8F=E5=B7=A5=E5=BA=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../zystylefabric/modules/ZyFabricList.vue | 17 --
.../zystylemodular/ZyStyleModularList.vue | 41 ++-
.../zystylemodular/modules/ZyProcessList.vue | 258 ++++++++++++++++++
.../modules/ZyStyleModularModal.vue | 37 ++-
.../controller/ZyStyleModularController.java | 25 +-
.../zyStyleModular/entity/ZyStyleModular.java | 2 +
6 files changed, 324 insertions(+), 56 deletions(-)
create mode 100644 ant-design-vue-jeecg/src/views/zystylemodular/modules/ZyProcessList.vue
diff --git a/ant-design-vue-jeecg/src/views/zystylefabric/modules/ZyFabricList.vue b/ant-design-vue-jeecg/src/views/zystylefabric/modules/ZyFabricList.vue
index a4937e4d..489b2ad9 100644
--- a/ant-design-vue-jeecg/src/views/zystylefabric/modules/ZyFabricList.vue
+++ b/ant-design-vue-jeecg/src/views/zystylefabric/modules/ZyFabricList.vue
@@ -180,23 +180,6 @@
align:"center",
dataIndex: 'retailPrice'
},
- {
- title:'品牌',
- align:"center",
- dataIndex: 'brandId_dictText'
- },
-
- {
- title:'计量单位',
- align:"center",
- dataIndex: 'unit_dictText'
- },
-
- {
- title:'密度',
- align:"center",
- dataIndex: 'density_dictText'
- },
],
url: {
list: "/fabric/zyFabric/list",
diff --git a/ant-design-vue-jeecg/src/views/zystylemodular/ZyStyleModularList.vue b/ant-design-vue-jeecg/src/views/zystylemodular/ZyStyleModularList.vue
index 3f8ffb08..8898642e 100644
--- a/ant-design-vue-jeecg/src/views/zystylemodular/ZyStyleModularList.vue
+++ b/ant-design-vue-jeecg/src/views/zystylemodular/ZyStyleModularList.vue
@@ -68,28 +68,16 @@
- 编辑
-
-
- 更多
-
-
- 详情
-
-
handleDelete(record.id)">
删除
-
-
-
-
+
@@ -122,14 +110,14 @@
}
},
{
- title:'款式id',
+ title:'款式',
align:"center",
- dataIndex: 'styleId'
+ dataIndex: 'styleId_dictText'
},
{
- title:'工序id',
+ title:'工序',
align:"center",
- dataIndex: 'processId'
+ dataIndex: 'processId_dictText'
},
{
title: '操作',
@@ -140,14 +128,14 @@
scopedSlots: { customRender: 'action' }
}
],
- // url: {
- // list: "/zyStyleModular/zyStyleModular/list",
- // delete: "/zyStyleModular/zyStyleModular/delete",
- // deleteBatch: "/zyStyleModular/zyStyleModular/deleteBatch",
- // exportXlsUrl: "/zyStyleModular/zyStyleModular/exportXls",
- // importExcelUrl: "zyStyleModular/zyStyleModular/importExcel",
- //
- // },
+ url: {
+ list: "/zyStyleModular/zyStyleModular/list",
+ delete: "/zyStyleModular/zyStyleModular/delete",
+ deleteBatch: "/zyStyleModular/zyStyleModular/deleteBatch",
+ exportXlsUrl: "/zyStyleModular/zyStyleModular/exportXls",
+ importExcelUrl: "zyStyleModular/zyStyleModular/importExcel",
+
+ },
dictOptions:{},
superFieldList:[],
}
@@ -163,6 +151,9 @@
methods: {
initDictConfig(){
},
+ valueChange(value){
+ if (value) this.loadData()
+ },
getSuperFieldList(){
let fieldList=[];
fieldList.push({type:'string',value:'styleId',text:'款式id',dictCode:''})
diff --git a/ant-design-vue-jeecg/src/views/zystylemodular/modules/ZyProcessList.vue b/ant-design-vue-jeecg/src/views/zystylemodular/modules/ZyProcessList.vue
new file mode 100644
index 00000000..535e9ec7
--- /dev/null
+++ b/ant-design-vue-jeecg/src/views/zystylemodular/modules/ZyProcessList.vue
@@ -0,0 +1,258 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无图片
+
+
+
+ 无文件
+
+ 下载
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ant-design-vue-jeecg/src/views/zystylemodular/modules/ZyStyleModularModal.vue b/ant-design-vue-jeecg/src/views/zystylemodular/modules/ZyStyleModularModal.vue
index 2a25cefc..bee39186 100644
--- a/ant-design-vue-jeecg/src/views/zystylemodular/modules/ZyStyleModularModal.vue
+++ b/ant-design-vue-jeecg/src/views/zystylemodular/modules/ZyStyleModularModal.vue
@@ -8,28 +8,39 @@
:okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
@cancel="handleCancel"
cancelText="关闭">
-
+