|
|
|
|
@ -1,40 +1,50 @@ |
|
|
|
|
<template> |
|
|
|
|
<el-dialog title="批量填报" append-to-body :modelValue="openShow" width="100%" fullscreen @close="closeDialog"> |
|
|
|
|
<avue-crud :option="option" :table-loading="loading" :data="data" v-model:page="page" v-model="form" ref="crud" |
|
|
|
|
@row-update="rowUpdate" @row-save="rowSave" @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 #meterNum="scope"> |
|
|
|
|
<div class="inpu-text"> |
|
|
|
|
<el-input v-model="input" /><i>(单位)</i> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<template #needAdd="scope"> |
|
|
|
|
<div class="inpu-text"> |
|
|
|
|
<el-input v-model="input" /><i>(单位)</i> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<template #actualAdd> |
|
|
|
|
<div class="inpu-text"> |
|
|
|
|
<el-input v-model="input" /><i>(单位)</i> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<template #fuceceliangzhi> |
|
|
|
|
<div class="inpu-text"> |
|
|
|
|
<el-input v-model="input" /><i>(单位)</i> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</avue-crud> |
|
|
|
|
<template #footer> |
|
|
|
|
<span class="dialog-footer"> |
|
|
|
|
<el-button @click="closeDialog">取 消</el-button> |
|
|
|
|
<el-button type="primary" @click="submit">确 定</el-button> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
|
<el-dialog |
|
|
|
|
title="批量填报" |
|
|
|
|
append-to-body |
|
|
|
|
:modelValue="openShow" |
|
|
|
|
width="100%" |
|
|
|
|
fullscreen |
|
|
|
|
@close="closeDialog" |
|
|
|
|
> |
|
|
|
|
<avue-crud |
|
|
|
|
:option="option" |
|
|
|
|
:table-loading="loading" |
|
|
|
|
:data="data" |
|
|
|
|
v-model:page="page" |
|
|
|
|
v-model="form" |
|
|
|
|
ref="crud" |
|
|
|
|
@row-update="rowUpdate" |
|
|
|
|
@row-save="rowSave" |
|
|
|
|
@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 #meterNum="scope"> |
|
|
|
|
<div class="inpu-text"><el-input v-model="input" /><i>(单位)</i></div> |
|
|
|
|
</template> |
|
|
|
|
<template #needAdd="scope"> |
|
|
|
|
<div class="inpu-text"><el-input v-model="input" /><i>(单位)</i></div> |
|
|
|
|
</template> |
|
|
|
|
<template #actualAdd> |
|
|
|
|
<div class="inpu-text"><el-input v-model="input" /><i>(单位)</i></div> |
|
|
|
|
</template> |
|
|
|
|
<template #fuceceliangzhi> |
|
|
|
|
<div class="inpu-text"><el-input v-model="input" /><i>(单位)</i></div> |
|
|
|
|
</template> |
|
|
|
|
</avue-crud> |
|
|
|
|
<template #footer> |
|
|
|
|
<span class="dialog-footer"> |
|
|
|
|
<el-button @click="closeDialog">取 消</el-button> |
|
|
|
|
<el-button type="primary" @click="submit">确 定</el-button> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
export default { |
|
|
|
|
@ -115,12 +125,12 @@ export default { |
|
|
|
|
filter: true, |
|
|
|
|
span: 24, |
|
|
|
|
search: false, |
|
|
|
|
width: 110 |
|
|
|
|
width: 110, |
|
|
|
|
dicUrl: '/blade-desk/bsWorkCenter/getList', |
|
|
|
|
props: { |
|
|
|
|
label: 'wcName', |
|
|
|
|
value: 'id', |
|
|
|
|
}, |
|
|
|
|
props: { |
|
|
|
|
label: 'wcName', |
|
|
|
|
value: 'id', |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '作业槽', |
|
|
|
|
@ -566,17 +576,17 @@ export default { |
|
|
|
|
</script> |
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
.inpu-text { |
|
|
|
|
display: flex; |
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
|
|
.el-input { |
|
|
|
|
height: 32px; |
|
|
|
|
margin-top: 9px; |
|
|
|
|
} |
|
|
|
|
.el-input { |
|
|
|
|
height: 32px; |
|
|
|
|
margin-top: 9px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
i { |
|
|
|
|
font-style: normal; |
|
|
|
|
line-height: 50px; |
|
|
|
|
padding-left: 5px; |
|
|
|
|
} |
|
|
|
|
i { |
|
|
|
|
font-style: normal; |
|
|
|
|
line-height: 50px; |
|
|
|
|
padding-left: 5px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|
</style> |
|
|
|
|
|