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="form.te025"
v-model.number="form.quantity" type="text"
type="text" @confirm="submit"
>
@confirm="submit" </input>
> </u-form-item>
</input> <u-form-item prop="te010" :label="$t('批次号:')">
</u-form-item> <input
<u-form-item prop="te025" :label="$t('库位:')"> v-model="form.te010"
<input type="text"
v-model="form.te025" @confirm="submit"
type="text" >
@confirm="submit" </input>
> </u-form-item>
</input> <u-form-item prop="quantity" :label="$t('领料数量:')">
</u-form-item> <input
</template> v-model.number="form.quantity"
<template v-else> type="text"
<view style="display: flex;">
<button @confirm="submit"
size="medium" >
type="primary" </input>
style="margin-top: 10rpx;margin-right: 20rpx;" </u-form-item>
@click="addBatch()"
>
<span>{{$t('添加批次')}}</span>
</button>
</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