This commit is contained in:
parent
34af59a297
commit
4cff4fadce
|
|
@ -347,14 +347,15 @@
|
|||
>
|
||||
<template slot-scope="{ row }">
|
||||
<el-input-number
|
||||
v-if="row.status == 0 || row.status == 3"
|
||||
v-model="row.inputNum"
|
||||
:controls="false"
|
||||
:min="0"
|
||||
:min="1"
|
||||
:max="row.checkNum"
|
||||
:precision="0"
|
||||
:disabled="!showHandle || row.status == 1"
|
||||
style="width: 100%"
|
||||
/>
|
||||
<span v-else>{{ row.inputNum }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
|
@ -699,7 +700,11 @@ export default {
|
|||
this.loading = false
|
||||
if (this.showHandle) {
|
||||
this.detailTableList.forEach(item => {
|
||||
if (item.status == 2) {
|
||||
item.inputNum = 0
|
||||
} else {
|
||||
item.inputNum = item.inputNum ? item.inputNum : item.checkNum
|
||||
}
|
||||
})
|
||||
}
|
||||
}).catch(() => {
|
||||
|
|
@ -875,7 +880,7 @@ export default {
|
|||
taskId: this.query.taskId,
|
||||
maId: row.maId,
|
||||
maCode: row.maCode,
|
||||
inputNum: row.inputNum,
|
||||
inputNum: 0,
|
||||
typeId: row.typeId,
|
||||
}
|
||||
|
||||
|
|
@ -921,7 +926,7 @@ export default {
|
|||
item.taskId = this.query.taskId
|
||||
item.typeId = item.typeId
|
||||
item.maId = item.maId
|
||||
item.inputNum = item.inputNum
|
||||
item.inputNum = 0
|
||||
item.maCode = item.maCode
|
||||
})
|
||||
let param = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue