领料出库
This commit is contained in:
parent
3fe2c446a3
commit
a89a400c45
|
|
@ -263,7 +263,6 @@
|
|||
v-model="scope.row.preNum"
|
||||
type="text"
|
||||
style="width: 100%"
|
||||
:disabled="scope.row.alNum && scope.row.alNum != 0 ? true : false"
|
||||
@input="handlePreNum(scope.row, $event, 'input')"
|
||||
@blur="handlePreNum(scope.row, $event, 'blur')"
|
||||
/>
|
||||
|
|
@ -551,6 +550,10 @@ export default {
|
|||
} else if (type === 'blur') {
|
||||
if (row.preNum !== '') {
|
||||
row.preNum = Number(row.preNum)
|
||||
if (row.preNum < row.alNum) {
|
||||
this.$message.warning('预领数量不能小于出库数量')
|
||||
row.preNum = row.alNum
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@
|
|||
size="mini"
|
||||
type="danger"
|
||||
@click="handleDeletePurchase(scope.row)"
|
||||
v-if="scope.row.taskStatus == 1"
|
||||
v-if="scope.row.alNum == 0"
|
||||
v-hasPermi="['purchase:info:remove']"
|
||||
>
|
||||
删除
|
||||
|
|
|
|||
Loading…
Reference in New Issue