rev:等级修改
This commit is contained in:
@@ -189,7 +189,6 @@
|
||||
clearable
|
||||
class="filter-item"
|
||||
placeholder="无"
|
||||
:disabled="mater_btn || scope.row.edit"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in dict.ST_IVT_LEVEL"
|
||||
@@ -447,8 +446,8 @@ export default {
|
||||
},
|
||||
handleEdit(index, row) {
|
||||
if (!row.edit) {
|
||||
if (!row.material_id || !row.plan_qty || parseFloat(row.plan_qty) <= 0 || !row.pcsn) {
|
||||
this.crud.notify('物料、数量、批次不可为空!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
if (!row.material_id || !row.plan_qty || parseFloat(row.plan_qty) <= 0 || !row.pcsn || !row.ivt_level) {
|
||||
this.crud.notify('物料、数量、批次、库存等级不可为空!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return false
|
||||
}
|
||||
}
|
||||
@@ -479,7 +478,6 @@ export default {
|
||||
if (same_mater) {
|
||||
item.edit = false
|
||||
item.quality_scode = '02'
|
||||
item.ivt_level = '01'
|
||||
item.is_active = '1'
|
||||
item.plan_qty = item.need_qty
|
||||
this.form.total_qty = parseFloat(this.form.total_qty) + parseFloat(item.plan_qty)
|
||||
|
||||
Reference in New Issue
Block a user