Commit 564ec6e0 authored by 沈翠玲's avatar 沈翠玲

修改领料单bug

parent cbd6a8a7
......@@ -200,10 +200,10 @@ import i18n from '../../lang/index'
},
submit(row) {
if (!this.form.islot) {
if (!this.form['te025']) {
if (this.form['quantity'] && !this.form['te025']) {
return this.$u.toast(i18n.t('请输入库位'))
}
if (!this.form['quantity']) {
if (!this.form['quantity'] && this.form['quantity'] !== 0) {
return this.$u.toast(i18n.t('请输入领料数量'))
}
if (this.form['tb004'] || this.form['quantity']) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment