update
This commit is contained in:
parent
4685447c1e
commit
d19522bd6f
@ -330,7 +330,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 提交表单
|
// 提交表单
|
||||||
async handleSubmit () {
|
async handleSubmit () {
|
||||||
if (this.dataForm.replaceTime && this.dataForm.materialId && this.dataForm.equipmentId) {
|
if (this.dataForm.replaceTime && this.dataForm.materialId && this.dataForm.equipmentId && this.dataForm.num) {
|
||||||
let result = {}
|
let result = {}
|
||||||
if (this.$route.query.id) {
|
if (this.$route.query.id) {
|
||||||
result = await update(this.dataForm)
|
result = await update(this.dataForm)
|
||||||
@ -348,7 +348,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$notify('物料、设备、换料时间必须选择!')
|
this.$notify('物料、设备、换料时间、数量必填!')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 重置表单
|
// 重置表单
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<van-col :span="15" :offset="1" class="eq-search-item-input">
|
<van-col :span="15" :offset="1" class="eq-search-item-input">
|
||||||
<van-field
|
<van-field
|
||||||
v-model="queryList.key"
|
v-model="queryList.key"
|
||||||
placeholder="批次号/物料编码/名称"
|
placeholder="物料编码/名称"
|
||||||
/>
|
/>
|
||||||
</van-col>
|
</van-col>
|
||||||
</van-row>
|
</van-row>
|
||||||
|
Loading…
Reference in New Issue
Block a user