领料申请-优化
This commit is contained in:
parent
8e9208a438
commit
638acb6e0e
|
|
@ -246,8 +246,8 @@
|
||||||
<el-table-column prop="wholeTypeName" align="center" label="成套设备名称" />
|
<el-table-column prop="wholeTypeName" align="center" label="成套设备名称" />
|
||||||
<el-table-column label="机具名称" prop="typeCn" :show-overflow-tooltip="true" />
|
<el-table-column label="机具名称" prop="typeCn" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="规格型号" prop="guigeCn" :show-overflow-tooltip="true" />
|
<el-table-column label="规格型号" prop="guigeCn" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="计量单位" prop="unitCn" />
|
<el-table-column label="计量单位" prop="unitCn" align="center" />
|
||||||
<el-table-column label="库存数量" prop="num" />
|
<el-table-column label="库存数量" prop="num" align="center" />
|
||||||
<el-table-column label="预领数量" align="center">
|
<el-table-column label="预领数量" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
|
|
@ -854,10 +854,10 @@ export default {
|
||||||
this.queryParams.leaseApplyDetails = this.leaseApplyDetails
|
this.queryParams.leaseApplyDetails = this.leaseApplyDetails
|
||||||
try {
|
try {
|
||||||
this.queryParams.leaseApplyDetails.forEach((item) => {
|
this.queryParams.leaseApplyDetails.forEach((item) => {
|
||||||
if (item.num == 0) {
|
// if (item.num == 0) {
|
||||||
this.$message.error('机具类型库存量为零无法领料')
|
// this.$message.error('机具类型库存量为零无法领料')
|
||||||
throw new Error()
|
// throw new Error()
|
||||||
}
|
// }
|
||||||
if (!item.childrenList && item.preNum == '') {
|
if (!item.childrenList && item.preNum == '') {
|
||||||
this.$message.error('请填写预领数量')
|
this.$message.error('请填写预领数量')
|
||||||
throw new Error()
|
throw new Error()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue