Commit 493e53a4 authored by 李驰骋's avatar 李驰骋

录入领料单不区分是否按批,直接显示批次号

parent c5797f81
...@@ -52,53 +52,31 @@ ...@@ -52,53 +52,31 @@
> >
</input> </input>
</u-form-item> </u-form-item>
<template v-if="!form.islot"> <u-form-item prop="te025" :label="$t('库位:')">
<u-form-item prop="quantity" :label="$t('领料数量:')">
<input <input
v-model.number="form.quantity" v-model="form.te025"
type="text" type="text"
@confirm="submit" @confirm="submit"
> >
</input> </input>
</u-form-item> </u-form-item>
<u-form-item prop="te025" :label="$t('库位:')"> <u-form-item prop="te010" :label="$t('批次号:')">
<input <input
v-model="form.te025" v-model="form.te010"
type="text" type="text"
@confirm="submit" @confirm="submit"
> >
</input> </input>
</u-form-item> </u-form-item>
</template> <u-form-item prop="quantity" :label="$t('领料数量:')">
<template v-else> <input
<view style="display: flex;"> v-model.number="form.quantity"
<button type="text"
size="medium"
type="primary" @confirm="submit"
style="margin-top: 10rpx;margin-right: 20rpx;"
@click="addBatch()"
> >
<span>{{$t('添加批次')}}</span> </input>
</button> </u-form-item>
</view>
<view class="batchBox">
<view v-for="(item, index) in info.moctes" :key="index" @click="editBatch(item, index)">
<view class="batchContent" v-if="item.batch && item.tb003 === form.tb003">
<view class="itemtitle">
<text>{{calckw(item.te010)}}</text>
<view>
<text style="color: #1f731f;">{{item.quantity}}</text>
</view>
</view>
<view>
<text>{{$t('库位')}}</text>
<text>{{item.te025}}</text>
</view>
</view>
</view>
</view>
</template>
<u-form-item style="width:100%;"> <u-form-item style="width:100%;">
<button <button
size="medium" size="medium"
......
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