This commit is contained in:
parent
724c9b9008
commit
a14d026b81
|
|
@ -230,7 +230,7 @@
|
||||||
:title="title"
|
:title="title"
|
||||||
:visible.sync="open"
|
:visible.sync="open"
|
||||||
v-if="open"
|
v-if="open"
|
||||||
width="1000px"
|
width="60%"
|
||||||
append-to-body
|
append-to-body
|
||||||
>
|
>
|
||||||
<el-form
|
<el-form
|
||||||
|
|
@ -333,11 +333,30 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="数量"
|
label="验收数量"
|
||||||
align="center"
|
align="center"
|
||||||
prop="checkNum"
|
prop="checkNum"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
/>
|
/>
|
||||||
|
<el-table-column
|
||||||
|
label="入库数量"
|
||||||
|
align="center"
|
||||||
|
prop="inputNum"
|
||||||
|
show-overflow-tooltip
|
||||||
|
width="140"
|
||||||
|
>
|
||||||
|
<template slot-scope="{ row }">
|
||||||
|
<el-input-number
|
||||||
|
v-model="row.inputNum"
|
||||||
|
:controls="false"
|
||||||
|
:min="0"
|
||||||
|
:max="row.checkNum"
|
||||||
|
:precision="0"
|
||||||
|
:disabled="!showHandle"
|
||||||
|
style="width: 100%"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="编号"
|
label="编号"
|
||||||
align="center"
|
align="center"
|
||||||
|
|
@ -673,6 +692,9 @@ export default {
|
||||||
this.detailTableList = response.data.rows
|
this.detailTableList = response.data.rows
|
||||||
this.dialogTotal = response.data.total
|
this.dialogTotal = response.data.total
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
this.detailTableList.forEach(item => {
|
||||||
|
item.inputNum = item.checkNum
|
||||||
|
})
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
|
|
@ -733,7 +755,8 @@ export default {
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
// this.reset();
|
this.query.pageNum = 1
|
||||||
|
this.query.pageSize = 10
|
||||||
this.query.taskId = row.taskId
|
this.query.taskId = row.taskId
|
||||||
this.query.dictName = undefined
|
this.query.dictName = undefined
|
||||||
this.getDialogTable()
|
this.getDialogTable()
|
||||||
|
|
@ -755,7 +778,7 @@ export default {
|
||||||
let obj = {
|
let obj = {
|
||||||
taskId: this.query.taskId,
|
taskId: this.query.taskId,
|
||||||
maId: row.maId,
|
maId: row.maId,
|
||||||
inputNum: row.checkNum,
|
inputNum: row.inputNum,
|
||||||
maCode: row.maCode,
|
maCode: row.maCode,
|
||||||
typeId: row.typeId,
|
typeId: row.typeId,
|
||||||
num: row.num,
|
num: row.num,
|
||||||
|
|
@ -888,6 +911,9 @@ export default {
|
||||||
},
|
},
|
||||||
//查看操作
|
//查看操作
|
||||||
handleView(row) {
|
handleView(row) {
|
||||||
|
this.query.pageNum = 1
|
||||||
|
this.query.pageSize = 10
|
||||||
|
this.query.dictName = null
|
||||||
this.query.taskId = row.taskId
|
this.query.taskId = row.taskId
|
||||||
this.getDialogTable()
|
this.getDialogTable()
|
||||||
this.open = true
|
this.open = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue