Commit 452bf383 by LJM

打印标签入仓号限制字符-

parent bba3b957
Showing with 11 additions and 1 deletions
......@@ -49,7 +49,7 @@
</picker>
</view>
</view>
<template v-for="(item, index) in numberList" v-if="flag && index_print_type == 0">
<template v-for="(item, index) in numberList" :key="index" v-if="flag && index_print_type == 0">
<view class="box row verCenter">
<view class="label">{{ index + 1 }}卡板数量</view>
<input type="number" placeholder-style="font-size:24rpx;color:#404547;" class="uni-input" placeholder="请输入数量" @input="onInput($event, index)" />
......@@ -258,6 +258,16 @@
return false;
}
// 判断入仓号是否包含字符"-"
if (this.form.erp_order_sn.includes('-')) {
// 含有非法字符,提示用户
uni.showToast({
title: '入仓号包含非法字符 "-" ',
icon: 'none'
});
return false;
}
if (!this.form.label_num) {
uni.showModal({
title: '提示',
......
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 sign in to comment