|
|
|
|
@ -11,8 +11,7 @@ |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="统计类型"> |
|
|
|
|
<el-select v-model="formInline.type" class="m-2" placeholder="请选择" size="small" |
|
|
|
|
style="width: 200px" filterable |
|
|
|
|
clearable> |
|
|
|
|
style="width: 200px" filterable clearable> |
|
|
|
|
<el-option v-for="item in productionData[tabPosition]" :key="item.value" :label="item.label" |
|
|
|
|
:value="item.value" size="small" /> |
|
|
|
|
</el-select> |
|
|
|
|
@ -42,11 +41,11 @@ |
|
|
|
|
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset" |
|
|
|
|
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" |
|
|
|
|
@refresh-change="refreshChange" @on-load="onLoad"> |
|
|
|
|
|
|
|
|
|
<template #rlueName5="{ row }"> |
|
|
|
|
|
|
|
|
|
<template #rlueName5="{ row }"> |
|
|
|
|
<el-text type="primary">{{ row.rlueName5 }}</el-text> |
|
|
|
|
</template> |
|
|
|
|
<template #rlueName7="{ row }"> |
|
|
|
|
<template #rlueName7="{ row }"> |
|
|
|
|
<el-text type="error">{{ row.rlueName7 }}</el-text> |
|
|
|
|
</template> |
|
|
|
|
<template #rlueName8="{ row }"> |
|
|
|
|
@ -55,7 +54,7 @@ |
|
|
|
|
<template #rlueName9="{ row }"> |
|
|
|
|
<el-text type="primary">{{ row.rlueName9 }}</el-text> |
|
|
|
|
</template> |
|
|
|
|
<template #rlueName10="{ row }"> |
|
|
|
|
<template #rlueName10="{ row }"> |
|
|
|
|
<el-text type="success">{{ row.rlueName10 }}</el-text> |
|
|
|
|
</template> |
|
|
|
|
</avue-crud> |
|
|
|
|
@ -99,7 +98,7 @@ export default { |
|
|
|
|
{ "label": "在制品统计", "value": 8 }, |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
page: { |
|
|
|
|
page: { |
|
|
|
|
pageSize: 10, |
|
|
|
|
currentPage: 1, |
|
|
|
|
total: 0, |
|
|
|
|
@ -131,18 +130,18 @@ export default { |
|
|
|
|
index: false, |
|
|
|
|
searchShowBtn: false, |
|
|
|
|
header: false, |
|
|
|
|
searchLabelPosition:'left', |
|
|
|
|
searchLabelPosition:'left', |
|
|
|
|
searchGutter:24, |
|
|
|
|
searchSpan:6, |
|
|
|
|
menuAlign: 'left', |
|
|
|
|
gridBtn:false, |
|
|
|
|
searchMenuPosition:'right', |
|
|
|
|
addBtnIcon: ' ', |
|
|
|
|
viewBtnIcon: ' ', |
|
|
|
|
delBtnIcon: ' ', |
|
|
|
|
editBtnIcon: ' ', |
|
|
|
|
align: 'center', |
|
|
|
|
searchLabelPosition: 'left', |
|
|
|
|
searchLabelPosition: 'left', |
|
|
|
|
searchGutter: 24, |
|
|
|
|
searchSpan: 6, |
|
|
|
|
menuAlign: 'left', |
|
|
|
|
gridBtn: false, |
|
|
|
|
searchMenuPosition: 'right', |
|
|
|
|
addBtnIcon: ' ', |
|
|
|
|
viewBtnIcon: ' ', |
|
|
|
|
delBtnIcon: ' ', |
|
|
|
|
editBtnIcon: ' ', |
|
|
|
|
align: 'center', |
|
|
|
|
column: [] |
|
|
|
|
}, |
|
|
|
|
data: [] |
|
|
|
|
@ -157,7 +156,7 @@ addBtnIcon: ' ', |
|
|
|
|
mounted() { |
|
|
|
|
this.formInline.type = this.productionData.rebiao[0].value |
|
|
|
|
this.option.column = productionCol[this.formInline.type] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.data = [ |
|
|
|
|
{ |
|
|
|
|
rlueName1: '热表分厂', |
|
|
|
|
|