This commit is contained in:
parent
be9f9b3521
commit
100c8960c0
|
|
@ -17,6 +17,10 @@
|
||||||
<img v-if="row.mold_detail.image" style="width:50px;height:50px;" :src="row.mold_detail.image" />
|
<img v-if="row.mold_detail.image" style="width:50px;height:50px;" :src="row.mold_detail.image" />
|
||||||
<span v-else></span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-slot:column5="{ row }">
|
||||||
|
<a-button type="link" @click="pageEdit(row.change_production_detail)" v-if="row.change_production_detail && row.change_production_detail.id">{{ row.change_production_detail.code }}</a-button>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
||||||
<template v-slot:column3="{ row }">
|
<template v-slot:column3="{ row }">
|
||||||
<a-table :columns="columns" :data-source="row.department_progress" style="border:1px solid #afafaf;margin: 15px;">
|
<a-table :columns="columns" :data-source="row.department_progress" style="border:1px solid #afafaf;margin: 15px;">
|
||||||
|
|
@ -227,7 +231,9 @@ export default {
|
||||||
|
|
||||||
{ title: '模具图片', slots: { default: 'column4' }, width: 90 },
|
{ title: '模具图片', slots: { default: 'column4' }, width: 90 },
|
||||||
|
|
||||||
{ field: 'change_production_detail', formatter: 'formatRef', params: { dataType: "object", textField: "code" }, sortable: false, title: '改模前布产号', width: 120 },
|
|
||||||
|
{ title: '改模前布产单', slots: { default: 'column5' }, width: 120 },
|
||||||
|
|
||||||
|
|
||||||
{ slots: { content: 'column3' }, type: "expand", width: 100, title: '进度明细', showHeaderOverflow: true },
|
{ slots: { content: 'column3' }, type: "expand", width: 100, title: '进度明细', showHeaderOverflow: true },
|
||||||
{ field: 'progress', minWidth: 150, cellRender: { name: 'progress' }, title: '总进度', showHeaderOverflow: true },
|
{ field: 'progress', minWidth: 150, cellRender: { name: 'progress' }, title: '总进度', showHeaderOverflow: true },
|
||||||
|
|
@ -267,7 +273,16 @@ export default {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.$openPage('/Mold/MoldProductionOrderDetail/' + row.id)
|
this.$openPage('/Mold/MoldProductionOrderDetail/' + row.id)
|
||||||
}
|
},
|
||||||
|
|
||||||
|
pageEdit(row) {
|
||||||
|
|
||||||
|
if (!row) {
|
||||||
|
this.$mk.msg("请选择行");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.$openPage('/Mold/MoldProductionOrderUpdate/' + row.id)
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue