gtz пре 2 година
родитељ
комит
d19522bd6f
2 измењених фајлова са 3 додато и 3 уклоњено
  1. +2
    -2
      src/pages/material/material-edit.vue
  2. +1
    -1
      src/pages/material/material.vue

+ 2
- 2
src/pages/material/material-edit.vue Прегледај датотеку

@@ -330,7 +330,7 @@ export default {
},
// 提交表单
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 = {}
if (this.$route.query.id) {
result = await update(this.dataForm)
@@ -348,7 +348,7 @@ export default {
})
}
} else {
this.$notify('物料、设备、换料时间必须选择!')
this.$notify('物料、设备、换料时间、数量必填!')
}
},
// 重置表单


+ 1
- 1
src/pages/material/material.vue Прегледај датотеку

@@ -22,7 +22,7 @@
<van-col :span="15" :offset="1" class="eq-search-item-input">
<van-field
v-model="queryList.key"
placeholder="批次号/物料编码/名称"
placeholder="物料编码/名称"
/>
</van-col>
</van-row>


Loading…
Откажи
Сачувај