diff --git a/ant-design-vue-jeecg/src/views/goodsaccessories/GoodsAccessoriesList.vue b/ant-design-vue-jeecg/src/views/goodsaccessories/GoodsAccessoriesList.vue
index 39eb472f..c6817e6c 100644
--- a/ant-design-vue-jeecg/src/views/goodsaccessories/GoodsAccessoriesList.vue
+++ b/ant-design-vue-jeecg/src/views/goodsaccessories/GoodsAccessoriesList.vue
@@ -4,11 +4,6 @@
-
-
-
-
-
@@ -18,10 +13,6 @@
查询
重置
-
- {{ toggleSearchStatus ? '收起' : '展开' }}
-
-
@@ -32,12 +23,14 @@
新增
-
导出
+
返回
+
更新
+
-
+
删除
@@ -120,6 +113,7 @@
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import GoodsAccessoriesModal from './modules/GoodsAccessoriesModal'
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil'
+ import { getAction,postAction } from '@/api/manage'
export default {
name: 'GoodsAccessoriesList',
@@ -162,11 +156,12 @@
}
],
url: {
- list: "/goodsaccessories/goodsAccessories/list",
+ list: "/goodsaccessories/goodsAccessories/list?goodsid="+this.$route.query.goodsid,
delete: "/goodsaccessories/goodsAccessories/delete",
deleteBatch: "/goodsaccessories/goodsAccessories/deleteBatch",
exportXlsUrl: "/goodsaccessories/goodsAccessories/exportXls",
importExcelUrl: "goodsaccessories/goodsAccessories/importExcel",
+ upfl:"/zygoods/zyGoods/upfl",
},
dictOptions:{},
@@ -182,12 +177,32 @@
},
},
methods: {
+ fanHui() {
+ this.$router.push({
+ path: '/zygoods/ZyGoodsList',
+ // query: { // 路由携带参数
+ // 'id': record.id,
+ // 'typeId': record.typeId,
+ // }
+ // });
+ });
+ },
+ gx(){
+ getAction(this.url.upfl, {id: this.$route.query.goodsid}).then((res) => {
+ if (res.success) {
+ this.$message.success(res.result);
+ this.loadData();
+ } else {
+ this.$message.error(res.message);
+ }
+ });
+ },
initDictConfig(){
},
getSuperFieldList(){
let fieldList=[];
- fieldList.push({type:'string',value:'goodsId',text:'商品id',dictCode:'zy_goods,goods_name,id'})
- fieldList.push({type:'string',value:'accessoriesId',text:'辅料id',dictCode:'zy_accessories,contents,id'})
+ fieldList.push({type:'string',value:'goodsId',text:'商品',dictCode:'zy_goods,goods_name,id'})
+ fieldList.push({type:'string',value:'accessoriesId',text:'辅料',dictCode:'zy_accessories,contents,id'})
this.superFieldList = fieldList
}
}
diff --git a/ant-design-vue-jeecg/src/views/goodsaccessories/modules/GoodsAccessoriesForm.vue b/ant-design-vue-jeecg/src/views/goodsaccessories/modules/GoodsAccessoriesForm.vue
index 72eb6e61..148ff6df 100644
--- a/ant-design-vue-jeecg/src/views/goodsaccessories/modules/GoodsAccessoriesForm.vue
+++ b/ant-design-vue-jeecg/src/views/goodsaccessories/modules/GoodsAccessoriesForm.vue
@@ -5,7 +5,7 @@
-
+
@@ -38,6 +38,7 @@
},
data () {
return {
+ goods:"zy_goods,goods_name,id,id="+this.$route.query.goodsid,
model:{
},
labelCol: {
@@ -50,6 +51,12 @@
},
confirmLoading: false,
validatorRules: {
+ goodsId: [
+ { required: true, message: '请选择商品!'},
+ ],
+ accessoriesId: [
+ { required: true, message: '请选择辅料!'},
+ ],
},
url: {
add: "/goodsaccessories/goodsAccessories/add",
diff --git a/ant-design-vue-jeecg/src/views/goodsfabric/GoodsFabricList.vue b/ant-design-vue-jeecg/src/views/goodsfabric/GoodsFabricList.vue
index bd10ae3c..33991483 100644
--- a/ant-design-vue-jeecg/src/views/goodsfabric/GoodsFabricList.vue
+++ b/ant-design-vue-jeecg/src/views/goodsfabric/GoodsFabricList.vue
@@ -4,11 +4,6 @@
-
-
-
-
-
@@ -18,10 +13,6 @@
查询
重置
-
- {{ toggleSearchStatus ? '收起' : '展开' }}
-
-
@@ -32,12 +23,14 @@
新增
-
导出
+
返回
+
更新
+
-
+
删除
@@ -120,6 +113,7 @@
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import GoodsFabricModal from './modules/GoodsFabricModal'
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil'
+ import { getAction,postAction } from '@/api/manage'
export default {
name: 'GoodsFabricList',
@@ -162,11 +156,12 @@
}
],
url: {
- list: "/goodsfabric/goodsFabric/list",
+ list: "/goodsfabric/goodsFabric/list?goodsid="+this.$route.query.goodsid,
delete: "/goodsfabric/goodsFabric/delete",
deleteBatch: "/goodsfabric/goodsFabric/deleteBatch",
exportXlsUrl: "/goodsfabric/goodsFabric/exportXls",
importExcelUrl: "goodsfabric/goodsFabric/importExcel",
+ upml:"/zygoods/zyGoods/upml",
},
dictOptions:{},
@@ -182,12 +177,32 @@
},
},
methods: {
+ fanHui() {
+ this.$router.push({
+ path: '/zygoods/ZyGoodsList',
+ // query: { // 路由携带参数
+ // 'id': record.id,
+ // 'typeId': record.typeId,
+ // }
+ // });
+ });
+ },
+ gx(){
+ getAction(this.url.upml, {id: this.$route.query.goodsid}).then((res) => {
+ if (res.success) {
+ this.$message.success(res.result);
+ this.loadData();
+ } else {
+ this.$message.error(res.message);
+ }
+ });
+ },
initDictConfig(){
},
getSuperFieldList(){
let fieldList=[];
- fieldList.push({type:'string',value:'goodsId',text:'商品id',dictCode:'zy_goods,goods_name,id'})
- fieldList.push({type:'string',value:'fabricId',text:'面料id',dictCode:'zy_fabric,name,id'})
+ fieldList.push({type:'string',value:'goodsId',text:'商品',dictCode:'zy_goods,goods_name,id'})
+ fieldList.push({type:'string',value:'fabricId',text:'面料',dictCode:'zy_fabric,name,id'})
this.superFieldList = fieldList
}
}
diff --git a/ant-design-vue-jeecg/src/views/goodsfabric/modules/GoodsFabricForm.vue b/ant-design-vue-jeecg/src/views/goodsfabric/modules/GoodsFabricForm.vue
index f984db58..1ffa010a 100644
--- a/ant-design-vue-jeecg/src/views/goodsfabric/modules/GoodsFabricForm.vue
+++ b/ant-design-vue-jeecg/src/views/goodsfabric/modules/GoodsFabricForm.vue
@@ -5,7 +5,7 @@
-
+
@@ -38,6 +38,7 @@
},
data () {
return {
+ goods:"zy_goods,goods_name,id,id="+this.$route.query.goodsid,
model:{
},
labelCol: {
@@ -50,6 +51,12 @@
},
confirmLoading: false,
validatorRules: {
+ goodsId: [
+ { required: true, message: '请选择商品!'},
+ ],
+ fabricId: [
+ { required: true, message: '请选择面料!'},
+ ],
},
url: {
add: "/goodsfabric/goodsFabric/add",
diff --git a/ant-design-vue-jeecg/src/views/goodsmodule/GoodsModuleList.vue b/ant-design-vue-jeecg/src/views/goodsmodule/GoodsModuleList.vue
index 1b0261e3..c243d2f5 100644
--- a/ant-design-vue-jeecg/src/views/goodsmodule/GoodsModuleList.vue
+++ b/ant-design-vue-jeecg/src/views/goodsmodule/GoodsModuleList.vue
@@ -5,30 +5,19 @@
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
查询
重置
-
- {{ toggleSearchStatus ? '收起' : '展开' }}
-
-
@@ -39,12 +28,14 @@
新增
-
导出
+
返回
+
更新
+
-
+
删除
@@ -127,6 +118,7 @@
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import GoodsModuleModal from './modules/GoodsModuleModal'
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil'
+ import { getAction,postAction } from '@/api/manage'
export default {
name: 'GoodsModuleList',
@@ -184,6 +176,7 @@
deleteBatch: "/goodsmodule/goodsModule/deleteBatch",
exportXlsUrl: "/goodsmodule/goodsModule/exportXls",
importExcelUrl: "goodsmodule/goodsModule/importExcel",
+ upmk:"/zygoods/zyGoods/upmk",
},
dictOptions:{},
@@ -199,6 +192,26 @@
},
},
methods: {
+ fanHui() {
+ this.$router.push({
+ path: '/zygoods/ZyGoodsList',
+ // query: { // 路由携带参数
+ // 'id': record.id,
+ // 'typeId': record.typeId,
+ // }
+ // });
+ });
+ },
+ gx(){
+ getAction(this.url.upmk, {id: this.$route.query.goodsid}).then((res) => {
+ if (res.success) {
+ this.$message.success(res.result);
+ this.loadData();
+ } else {
+ this.$message.error(res.message);
+ }
+ });
+ },
initDictConfig(){
},
getSuperFieldList(){
diff --git a/ant-design-vue-jeecg/src/views/goodsmodule/modules/GoodsModuleForm.vue b/ant-design-vue-jeecg/src/views/goodsmodule/modules/GoodsModuleForm.vue
index d41103ec..2620bebe 100644
--- a/ant-design-vue-jeecg/src/views/goodsmodule/modules/GoodsModuleForm.vue
+++ b/ant-design-vue-jeecg/src/views/goodsmodule/modules/GoodsModuleForm.vue
@@ -5,7 +5,7 @@
-
+
@@ -43,6 +43,7 @@
},
data () {
return {
+ goods:"zy_goods,goods_name,id,id="+this.$route.query.goodsid,
model:{
},
labelCol: {
@@ -55,6 +56,15 @@
},
confirmLoading: false,
validatorRules: {
+ goodsId: [
+ { required: true, message: '请选择商品!'},
+ ],
+ styleId: [
+ { required: true, message: '请选择款式!'},
+ ],
+ moduleId: [
+ { required: true, message: '请选择模块!'},
+ ],
},
url: {
add: "/goodsmodule/goodsModule/add",
diff --git a/ant-design-vue-jeecg/src/views/process/ZyClothsComponentList.vue b/ant-design-vue-jeecg/src/views/process/ZyClothsComponentList.vue
index 67c2036d..8aaf926c 100644
--- a/ant-design-vue-jeecg/src/views/process/ZyClothsComponentList.vue
+++ b/ant-design-vue-jeecg/src/views/process/ZyClothsComponentList.vue
@@ -13,23 +13,29 @@
新增
导出
-
-
-
+
+
+
-
+
- 删除
+
+
+ 删除
+
- 批量操作
+ 批量操作
+
+
@@ -52,7 +58,8 @@
无图片
-
+
无文件
@@ -67,32 +74,32 @@
-
- 管理
+
+ 管理
编辑
-
- 详情
-
+
+ 详情
+
handleDelete(record.id)">
删除
-
+
@@ -106,148 +113,148 @@
\ No newline at end of file
diff --git a/ant-design-vue-jeecg/src/views/process/ZyClothsModularCompentList.vue b/ant-design-vue-jeecg/src/views/process/ZyClothsModularCompentList.vue
index e9c713b5..f920ec33 100644
--- a/ant-design-vue-jeecg/src/views/process/ZyClothsModularCompentList.vue
+++ b/ant-design-vue-jeecg/src/views/process/ZyClothsModularCompentList.vue
@@ -1,13 +1,16 @@
+
+
@@ -124,6 +127,7 @@ export default {
visible: false,
confirmLoading: false,
yid: '',
+ biaoTi: "",
// 表头
columns: [
{
@@ -194,8 +198,11 @@ export default {
//this.ax= this.model.id;
//console.log(topicid);
this.yid = this.model.id;
+ this.biaoTi = record.modularName+" 模块部件管理";
+ //this.title = record.modularName;
+ console.log("+++++ this.biaoTi "+ this.biaoTi)
this.queryParam.modularId = this.model.id;
- console.log("aaaaaaa " + this.queryParam.modularId);
+ console.log("+++++ this.queryParam.modularId: " + this.queryParam.modularId);
this.loadData();
this.visible = true;
},
diff --git a/ant-design-vue-jeecg/src/views/process/ZyClothsModularList.vue b/ant-design-vue-jeecg/src/views/process/ZyClothsModularList.vue
index cafcb9e0..97506aa5 100644
--- a/ant-design-vue-jeecg/src/views/process/ZyClothsModularList.vue
+++ b/ant-design-vue-jeecg/src/views/process/ZyClothsModularList.vue
@@ -4,6 +4,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
@@ -87,7 +114,7 @@
编辑
- 详情
+ 详情
handleDelete(record.id)">
删除
@@ -115,160 +142,161 @@
- <
+
\ No newline at end of file
diff --git a/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue b/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue
index f0269e4c..ccb9a065 100644
--- a/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue
+++ b/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue
@@ -21,9 +21,9 @@
-
-
-
+
+
+
diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentListDetail.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentListDetail.vue
index a10bb3fd..4f59de85 100644
--- a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentListDetail.vue
+++ b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentListDetail.vue
@@ -7,12 +7,13 @@
:width='1000'
@ok="handleOk"
@cancel="handleCancel">
+
制衣部件详情
- {{model.enterpriseId_dictText}}
- {{model.clothsTypeId_dictText}}
+ {{model.enterpriseId}}
+ {{model.clothsTypeId}}
{{model.partsName}}
- {{model.modularId_dictText}}
+ {{model.modularId}}
{{model.description}}
@@ -20,8 +21,9 @@
部件工序详情
-
+
+
@@ -38,20 +40,20 @@
},
{
title: '部件',
- dataIndex: 'nums',
- key: 'nums',
+ dataIndex: 'componentId',
+ key: 'componentId',
align:'center'
},
{
title: '工序',
- dataIndex: 'modularId_dictText',
- key: 'modularId_dictText',
+ dataIndex: 'processId',
+ key: 'processId',
align:'center'
},
{
title: '是否瓶颈工序',
- dataIndex: 'partsName',
- key: 'partsName',
+ dataIndex: 'bottleneck',
+ key: 'bottleneck',
align:'center'
},
{
@@ -61,40 +63,41 @@
align:'center'
},
];
- const data1 = [
- {
- key: '1',
- nums:'gfhjf',
- modularId_dictText:'1-3合后育克',
- partsName:'是',
- createTime:'2022-12-06 19:00:07'
- },
- // {
- // key: '2',
- // nums:'aaff',
- // modularId_dictText:'1-3合后育克',
- // partsName:'否',
- // createTime:'2022-12-06 18:30:49'
- // }
- ]
+
export default {
name: 'ZyClothsComponentListDetail',//此处填组件名称
data () {
return {
visible: false,
- confirmLoading: false,
+ confirmLoading:true,
model:{
},
- data1,
+ data1:[],
columns1,
}
},
methods: {
- showModal(record) {
+ showModal(id) {
this.visible = true;
- this.model = record
- console.log('record')
- console.log(record)
+ this.$http.get('/base/zyClothsComponent/detail?id='+id).then(
+ res=>{
+ this.model = res.result.zyClothsComponent
+ this.data1 = res.result.zyProcessComponents
+ this.confirmLoading = false
+ // this.model = res.result.zyClothsComponent
+ // this.ProcessData = res.result.zyProcess
+ // this.basicActionData = res.result.zyClothActions
+ // this.accessoriesData = res.result.zyFabrics
+ // this.fabricData = res.result.zyAccessories
+ console.log('工序详情页')
+ console.log(res.result)
+ // console.log(this.data)
+ // console.log(this.accessoriesData)
+ // console.log(this.fabricData)
+ // this.img = "http://10.100.200.112/jeecg-boot/sys/common/static/"+this.data.image;
+ // this.mp4 = "http://10.100.200.112/jeecg-boot/sys/common/static/"+this.data.vedio;
+ }
+ )
},
handleOk(e) {
this.confirmLoading = true;
diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularCompentModal.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularCompentModal.vue
index 1bcc9cc8..010a3f49 100644
--- a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularCompentModal.vue
+++ b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularCompentModal.vue
@@ -8,28 +8,47 @@
:okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
@cancel="handleCancel"
cancelText="关闭">
-
+
+
\ No newline at end of file
diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularListDetail.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularListDetail.vue
index 552150a1..29e46cea 100644
--- a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularListDetail.vue
+++ b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularListDetail.vue
@@ -7,24 +7,26 @@
:width='1000'
@ok="handleOk"
@cancel="handleCancel">
+
制衣模块详情
- {{model.enterpriseId_dictText}}
+ {{model.enterpriseId}}
{{model.nums}}
{{model.modularName}}
- {{model.clothsTypeId_dictText}}
+ {{model.clothsTypeId}}
{{model.description}}
-
+
暂无图片
模块部件详情
-
+
模块工序详情
-
+
+
@@ -43,8 +45,10 @@
},
{
title: '模块名称',
- dataIndex: 'modularId_dictText',
- key: 'modularId_dictText',
+ // dataIndex: 'modularId_dictText',
+ // key: 'modularId_dictText',
+ dataIndex: 'modularId',
+ key: 'modularId',
align:'center'
},
{
@@ -60,29 +64,6 @@
align:'center'
},
];
- const data1 = [
- {
- key: '1',
- nums:'tttt',
- modularId_dictText:'tttt',
- partsName:'大袖衩',
- createTime:'2022-12-06 19:00:07'
- },
- {
- key: '2',
- nums:'aaff',
- modularId_dictText:'tttt',
- partsName:'外片',
- createTime:'2022-12-06 18:30:49'
- },
- {
- key: '3',
- nums:'test01',
- modularId_dictText:'tttt',
- partsName:'大片',
- createTime:'2022-12-06 09:07:05'
- }
- ]
const columns2 = [
{
title:'索引',
@@ -91,14 +72,14 @@
},
{
title: '模块名称',
- dataIndex: 'modularId_dictText',
- key: 'modularId_dictText',
+ dataIndex: 'modularId',
+ key: 'modularId',
align:'center'
},
{
title: '工序名称',
- dataIndex: 'processId_dictText',
- key: 'processId_dictText',
+ dataIndex: 'processId',
+ key: 'processId',
align:'center'
},
{
@@ -108,46 +89,42 @@
align:'center'
},
];
- const data2 = [
- {
- key: '1',
- modularId_dictText:'tttt',
- processId_dictText:'1-3合后育克',
- createTime:'2022-12-06 19:00:07'
- },
- {
- key: '2',
- modularId_dictText:'tttt',
- processId_dictText:'模板运袋盖',
- createTime:'2022-12-06 18:30:49'
- },
- {
- key: '3',
- modularId_dictText:'tttt',
- processId_dictText:'1-4辑后育克0.1cm明线',
- createTime:'2022-12-06 09:07:05'
- }
- ]
export default {
name: 'ZyClothsModularListDetail',//此处填组件名称
data () {
return {
visible: false,
- confirmLoading: false,
model:{
},
- data1,
+ data1:[],
columns1,
- data2,
+ data2:[],
columns2,
+ img:'',
+ mp4:'',
+ confirmLoading:true
}
},
methods: {
- showModal(record) {
+ showModal(id) {
this.visible = true;
- this.model = record
- console.log('record')
- console.log(record)
+ // this.model = record
+ this.$http.get('/base/zyClothsModular/detail?id='+id).then(
+ res=>{
+ // this.data = res.result
+ this.model = res.result.zyClothsModular
+ this.data1 = res.result.zyClothsModularComponents
+ this.data2 = res.result.zyProcessModularVos
+ this.confirmLoading = false
+ // this.ProcessData = res.result.zyProcess
+ // this.basicActionData = res.result.zyClothActions
+ // this.accessoriesData = res.result.zyFabrics
+ // this.fabricData = res.result.zyAccessories
+
+ // this.img = "http://10.100.200.112/jeecg-boot/sys/common/static/"+this.data.image;
+ // this.mp4 = "http://10.100.200.112/jeecg-boot/sys/common/static/"+this.data.vedio;
+ }
+ )
},
handleOk(e) {
this.confirmLoading = true;
diff --git a/ant-design-vue-jeecg/src/views/process/modules/list/ZyClothsComponentList.vue b/ant-design-vue-jeecg/src/views/process/modules/list/ZyClothsComponentList.vue
new file mode 100644
index 00000000..aa25f3e1
--- /dev/null
+++ b/ant-design-vue-jeecg/src/views/process/modules/list/ZyClothsComponentList.vue
@@ -0,0 +1,254 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无图片
+
+
+
+ 无文件
+
+ 下载
+
+
+
+
+
+
+
+
+
+
+
+
+
+ handleDelete(record.id)">
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue b/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue
index f8993e6b..eadcfd84 100644
--- a/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue
+++ b/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue
@@ -1,5 +1,6 @@
+
-->
+
款式详情
-
+
管理模块
-
-
+
管理面料
-
+
管理辅料
-
+
@@ -70,221 +71,155 @@
管理工序
-
+
+
+