Commit 1c3c10ae by LJM

供应链收货登记-新增收货板数

parent 3b13d2ed
Showing with 23 additions and 9 deletions
...@@ -37,6 +37,12 @@ ...@@ -37,6 +37,12 @@
</view> </view>
</view> </view>
</view> </view>
<view class="box row verCenter">
<text class="label">收货板数</text>
<view class="uni-input-box row verCenter bothSide">
<input type="number" inputmode="numeric" class="uni-input" placeholder="请输入收货板数" placeholder-style="color:#404547;font-weight:bold;" v-model="form.plate_num" style="width: 73%;" />
</view>
</view>
<view class="box row verCenter" v-if="currentIndex == 0"> <view class="box row verCenter" v-if="currentIndex == 0">
<text class="label">物流公司</text> <text class="label">物流公司</text>
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
...@@ -124,6 +130,7 @@ ...@@ -124,6 +130,7 @@
logistics_company: '', //物流公司 logistics_company: '', //物流公司
logistics_number: '', //物流单号 logistics_number: '', //物流单号
total_num: '', //登记数量 total_num: '', //登记数量
plate_num: '', //收货板数
unit: '件', //单位 unit: '件', //单位
check_in_pic: [], //收货图片 check_in_pic: [], //收货图片
check_in_remark: '', //收货备注 check_in_remark: '', //收货备注
...@@ -415,7 +422,14 @@ ...@@ -415,7 +422,14 @@
}); });
return false; return false;
} }
if (this.form.plate_num == '') {
uni.showModal({
title: '提示',
content: '收货板数为必填项',
showCancel: false
});
return false;
}
if (this.currentIndex == 0) { if (this.currentIndex == 0) {
if (!this.form.logistics_company) { if (!this.form.logistics_company) {
uni.showModal({ uni.showModal({
......
const API_BASE = 'https://api.ichunt.com'; // const API_BASE = 'https://api.ichunt.com';
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统 // const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const API_BASE_OSS_HK = 'http://hk.image.semour.com'; //oss系统 HK // const API_BASE_OSS_HK = 'http://hk.image.semour.com'; //oss系统 HK
const API_BASE_WMS = 'https://wms.ichunt.net'; //WMS系统 // const API_BASE_WMS = 'https://wms.ichunt.net'; //WMS系统
// const API_BASE = 'http://api.liexin.com'; const API_BASE = 'http://api.liexin.com';
// const API_BASE_OSS = 'http://image.liexindev.net'; const API_BASE_OSS = 'http://image.liexindev.net';
// const API_BASE_OSS_HK = 'http://image.liexindev.net'; //oss系统 HK const API_BASE_OSS_HK = 'http://image.liexindev.net'; //oss系统 HK
// const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统 const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统
const API = { const API = {
......
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