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

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

parent c5797f81
......@@ -52,53 +52,31 @@
>
</input>
</u-form-item>
<template v-if="!form.islot">
<u-form-item prop="quantity" :label="$t('领料数量:')">
<u-form-item prop="te025" :label="$t('库位:')">
<input
v-model.number="form.quantity"
v-model="form.te025"
type="text"
@confirm="submit"
>
</input>
</u-form-item>
<u-form-item prop="te025" :label="$t('库位:')">
<u-form-item prop="te010" :label="$t('批次号:')">
<input
v-model="form.te025"
v-model="form.te010"
type="text"
@confirm="submit"
>
</input>
</u-form-item>
</template>
<template v-else>
<view style="display: flex;">
<button
size="medium"
type="primary"
style="margin-top: 10rpx;margin-right: 20rpx;"
@click="addBatch()"
<u-form-item prop="quantity" :label="$t('领料数量:')">
<input
v-model.number="form.quantity"
type="text"
@confirm="submit"
>
<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>
</input>
</u-form-item>
<u-form-item style="width:100%;">
<button
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