款式详情

zhc4dev
暖暖 2 years ago
parent 1f4f40a5fd
commit 9e632b1004
  1. 74
      ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue

@ -70,9 +70,9 @@
</a-table> </a-table>
<h3 style="width: 98%;;margin:20px auto 0">管理型号</h3> <h3 style="width: 98%;;margin:20px auto 0">管理型号</h3>
<!-- <a-table style="width: 98%;font-size:14px;margin:10px auto 0" :columns="columns4" :data-source="data4" bordered :pagination="false">--> <a-table style="width: 98%;font-size:14px;margin:10px auto 0" :columns="columns4" :data-source="data4" rowKey="id" bordered :pagination="false">
<!-- </a-table>--> </a-table>
<h3 style="width: 98%;;margin:20px auto 0">管理工序</h3> <h3 style="width: 98%;;margin:20px auto 0">管理工序</h3>
<a-table style="width: 98%;font-size:14px;margin:10px auto 0" :columns="columns5" :data-source="data5" <a-table style="width: 98%;font-size:14px;margin:10px auto 0" :columns="columns5" :data-source="data5"
@ -228,98 +228,89 @@ const columns3 = [
const columns4 = [ const columns4 = [
{ {
title: '服装款式', title: '服装款式',
dataIndex: 'a', dataIndex: 'styleId',
key: 'a', key: 'styleId',
align: 'center' align: 'center'
}, },
{ {
title: '是否默认尺码', title: '是否默认尺码',
dataIndex: 'c', dataIndex: 'isDefaultSize',
key: 'c', key: 'isDefaultSize',
align: 'center' align: 'center'
}, },
{ {
title: '型号编码', title: '型号编码',
dataIndex: 'e', dataIndex: 'modelNumber',
key: 'e', key: 'modelNumber',
align: 'center' align: 'center'
}, },
{ {
title: '码数', title: '码数',
dataIndex: 'f', dataIndex: 'size',
key: 'f', key: 'size',
align: 'center' align: 'center'
}, },
{ {
title: '型', title: '型',
dataIndex: 'a', dataIndex: 'anumbers',
key: 'a', key: 'anumbers',
align: 'center' align: 'center'
}, },
{ {
title: '号', title: '号',
dataIndex: 'a', dataIndex: 'bnumbers',
key: 'a', key: 'bnumbers',
align: 'center' align: 'center'
}, },
{ {
title: '领大', title: '领大',
dataIndex: 'c', dataIndex: 'collarLarge',
key: 'c', key: 'collarLarge',
align: 'center' align: 'center'
}, },
{ {
title: '胸围', title: '胸围',
dataIndex: 'e', dataIndex: 'bust',
key: 'e', key: 'bust',
align: 'center' align: 'center'
}, },
{ {
title: '袖长', title: '袖长',
dataIndex: 'f', dataIndex: 'sleeveLength',
key: 'f', key: 'sleeveLength',
align: 'center' align: 'center'
}, },
{ {
title: '连肩袖长', title: '连肩袖长',
dataIndex: 'e', dataIndex: 'shslLength',
key: 'e', key: 'shslLength',
align: 'center' align: 'center'
}, },
{ {
title: '总肩宽', title: '总肩宽',
dataIndex: 'f', dataIndex: 'tsWidth',
key: 'f', key: 'tsWidth',
align: 'center' align: 'center'
}, },
{ {
title: '袖口', title: '袖口',
dataIndex: 'f', dataIndex: 'cuff',
key: 'f', key: 'cuff',
align: 'center' align: 'center'
}, },
{ {
title: '腰围', title: '腰围',
dataIndex: 'f', dataIndex: 'waistline',
key: 'f', key: 'waistline',
align: 'center' align: 'center'
}, },
{ {
title: '下摆', title: '下摆',
dataIndex: 'f', dataIndex: 'hem',
key: 'f', key: 'hem',
align: 'center' align: 'center'
} }
]; ];
const data4 = [
{
key: '1',
a: '女衬衫',
c: 'test010',
e: '123',
f: '2022-12-06 10:02:59',
}
];
const columns5 = [ const columns5 = [
{ {
title: '款式名称', title: '款式名称',
@ -361,7 +352,7 @@ export default {
columns3, columns3,
// //
columns4, columns4,
data4, data4:[],
// //
columns5, columns5,
data5: [], data5: [],
@ -392,6 +383,8 @@ export default {
message: '未查询到数据!' message: '未查询到数据!'
}); });
} }
console.log('res.result')
console.log(res.result)
this.confirmLoading = false this.confirmLoading = false
if (this.data1.length === 0) { if (this.data1.length === 0) {
this.data1.push(res.result.zyClothsStyles) this.data1.push(res.result.zyClothsStyles)
@ -399,6 +392,7 @@ export default {
this.data1 = res.result.zyClothsStyles this.data1 = res.result.zyClothsStyles
this.data2 = res.result.zyStyleFabricList this.data2 = res.result.zyStyleFabricList
this.data3 = res.result.zyStyleAccessoriesList this.data3 = res.result.zyStyleAccessoriesList
this.data4 = res.result.zyStyleModels
this.data = res.result.zyStyleModuleList this.data = res.result.zyStyleModuleList
this.data5 = res.result.zyStyleModularList this.data5 = res.result.zyStyleModularList
}, },

Loading…
Cancel
Save