Commit 68ce2612 authored by tanjunxin's avatar tanjunxin

fix: 录入入库单增加仓库输入

parent 663d2ad1
{ {
"数量": "ปริมาณ",
"到货条码打印": "การพิมพ์บาร์โค้ดการจัดส่ง", "到货条码打印": "การพิมพ์บาร์โค้ดการจัดส่ง",
"到货单别": "ประเภทใบจัดส่ง", "到货单别": "ประเภทใบจัดส่ง",
"到货单号": "หมายเลขใบจัดส่ง", "到货单号": "หมายเลขใบจัดส่ง",
......
{ {
"数量": "数量",
"到货条码打印": "到货条码打印", "到货条码打印": "到货条码打印",
"到货单别": "到货单别", "到货单别": "到货单别",
"到货单号": "到货单号", "到货单号": "到货单号",
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
<input <input
v-model="form.tg001" v-model="form.tg001"
type="text" type="text"
> >
</input> </input>
</u-form-item> </u-form-item>
...@@ -53,6 +52,14 @@ ...@@ -53,6 +52,14 @@
> >
</input> </input>
</u-form-item> --> </u-form-item> -->
<u-form-item prop="tg010" :label="$t('仓库:')">
<input
v-model="form.tg010"
type="text"
@confirm="submit"
>
</input>
</u-form-item>
<u-form-item prop="tg036" :label="$t('库位:')"> <u-form-item prop="tg036" :label="$t('库位:')">
<input <input
v-model.number="form.tg036" v-model.number="form.tg036"
...@@ -138,6 +145,7 @@ import i18n from '../../lang/index' ...@@ -138,6 +145,7 @@ import i18n from '../../lang/index'
this.form['tg015'] = this.form['tg015'] ? this.form['tg015'].trim() : '' this.form['tg015'] = this.form['tg015'] ? this.form['tg015'].trim() : ''
// this.form['tc006'] = this.form['tc006'] ? this.form['tc006'].trim() : '' // this.form['tc006'] = this.form['tc006'] ? this.form['tc006'].trim() : ''
this.form['tg036'] = this.form['tg036'] ? this.form['tg036'].trim() : '' this.form['tg036'] = this.form['tg036'] ? this.form['tg036'].trim() : ''
this.form['tg010'] = this.form['tg010'] ? this.form['tg010'].trim() : ''
} }
}, },
data() { data() {
...@@ -217,6 +225,9 @@ import i18n from '../../lang/index' ...@@ -217,6 +225,9 @@ import i18n from '../../lang/index'
// if (!this.form['tb005']) { // if (!this.form['tb005']) {
// return this.$u.toast(i18n.t('请输入移出地')) // return this.$u.toast(i18n.t('请输入移出地'))
// } // }
if (!this.form['tg010']) {
return this.$u.toast(i18n.t('请输入仓库'))
}
if (!this.form['tg036']) { if (!this.form['tg036']) {
return this.$u.toast(i18n.t('请输入库位')) return this.$u.toast(i18n.t('请输入库位'))
} }
......
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