|
|
@ -89,7 +89,7 @@ |
|
|
|
</a-table> |
|
|
|
</a-table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<zy-style-modular-modal ref="modalForm" @ok="modalFormOk"></zy-style-modular-modal> |
|
|
|
<zy-style-modular-modal @valueChange="valueChange" ref="modalForm" @ok="modalFormOk"></zy-style-modular-modal> |
|
|
|
</a-card> |
|
|
|
</a-card> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -124,12 +124,12 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
title:'款式id', |
|
|
|
title:'款式id', |
|
|
|
align:"center", |
|
|
|
align:"center", |
|
|
|
dataIndex: 'styleId' |
|
|
|
dataIndex: 'styleId_dictText' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title:'工序id', |
|
|
|
title:'工序id', |
|
|
|
align:"center", |
|
|
|
align:"center", |
|
|
|
dataIndex: 'processId' |
|
|
|
dataIndex: 'processId_dictText' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: '操作', |
|
|
|
title: '操作', |
|
|
@ -140,14 +140,14 @@ |
|
|
|
scopedSlots: { customRender: 'action' } |
|
|
|
scopedSlots: { customRender: 'action' } |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
// url: { |
|
|
|
url: { |
|
|
|
// list: "/zyStyleModular/zyStyleModular/list", |
|
|
|
list: "/zyStyleModular/zyStyleModular/list", |
|
|
|
// delete: "/zyStyleModular/zyStyleModular/delete", |
|
|
|
delete: "/zyStyleModular/zyStyleModular/delete", |
|
|
|
// deleteBatch: "/zyStyleModular/zyStyleModular/deleteBatch", |
|
|
|
deleteBatch: "/zyStyleModular/zyStyleModular/deleteBatch", |
|
|
|
// exportXlsUrl: "/zyStyleModular/zyStyleModular/exportXls", |
|
|
|
exportXlsUrl: "/zyStyleModular/zyStyleModular/exportXls", |
|
|
|
// importExcelUrl: "zyStyleModular/zyStyleModular/importExcel", |
|
|
|
importExcelUrl: "zyStyleModular/zyStyleModular/importExcel", |
|
|
|
// |
|
|
|
|
|
|
|
// }, |
|
|
|
}, |
|
|
|
dictOptions:{}, |
|
|
|
dictOptions:{}, |
|
|
|
superFieldList:[], |
|
|
|
superFieldList:[], |
|
|
|
} |
|
|
|
} |
|
|
@ -161,8 +161,20 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
loadParameter() { |
|
|
|
|
|
|
|
if (this.loadRouteType === false) { |
|
|
|
|
|
|
|
//this.id = this.$route.query.id; |
|
|
|
|
|
|
|
this.styleId = this.$route.query.id; |
|
|
|
|
|
|
|
console.log('********id对应的为款式style_id: '+this.styleId); |
|
|
|
|
|
|
|
//console.log('******typeId此为类型typeId: '+this.typeId); |
|
|
|
|
|
|
|
this.loadRouteType = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
initDictConfig(){ |
|
|
|
initDictConfig(){ |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
valueChange(value){ |
|
|
|
|
|
|
|
if (value) this.loadData() |
|
|
|
|
|
|
|
}, |
|
|
|
getSuperFieldList(){ |
|
|
|
getSuperFieldList(){ |
|
|
|
let fieldList=[]; |
|
|
|
let fieldList=[]; |
|
|
|
fieldList.push({type:'string',value:'styleId',text:'款式id',dictCode:''}) |
|
|
|
fieldList.push({type:'string',value:'styleId',text:'款式id',dictCode:''}) |
|
|
|