Commit c9f608e9 by LJM

add

parent c78353fa
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
height: 48rpx; height: 48rpx;
background: #ffffff; background: #ffffff;
border-radius: 4rpx; border-radius: 4rpx;
border: 1rpx solid #197adb; border: 1px solid #197adb;
font-size: 24rpx; font-size: 24rpx;
color: #197adb; color: #197adb;
} }
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
width: 40rpx; width: 40rpx;
height: 28rpx; height: 28rpx;
border-radius: 4rpx; border-radius: 4rpx;
border: 1rpx solid #197adb; border: 1px solid #197adb;
font-size: 22rpx; font-size: 22rpx;
color: #197adb; color: #197adb;
} }
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
height: 48rpx; height: 48rpx;
background: #ffffff; background: #ffffff;
border-radius: 4rpx; border-radius: 4rpx;
border: 1rpx solid #197adb; border: 1px solid #197adb;
font-size: 24rpx; font-size: 24rpx;
color: #197adb; color: #197adb;
} }
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
padding-bottom: 16rpx; padding-bottom: 16rpx;
} }
.w130 { .w130 {
width: 130rpx; width: 156rpx;
} }
.t1 { .t1 {
font-size: 28rpx; font-size: 28rpx;
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
width: 48rpx; width: 48rpx;
height: 36rpx; height: 36rpx;
border-radius: 4rpx; border-radius: 4rpx;
border: 1rpx solid #197adb; border: 1px solid #197adb;
font-size: 24rpx; font-size: 24rpx;
color: #197adb; color: #197adb;
margin-left: 16rpx; margin-left: 16rpx;
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
} }
.input-text { .input-text {
.uni-input { .uni-input {
width: 190rpx; width: 173rpx;
height: 48rpx; height: 48rpx;
background: #e6edf0; background: #e6edf0;
border-radius: 4rpx; border-radius: 4rpx;
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
width: 88rpx; width: 88rpx;
height: 88rpx; height: 88rpx;
background-color: #f1f4f6; background-color: #f1f4f6;
border: 1rpx solid #e6edf0; border: 1px solid #e6edf0;
.iconfont { .iconfont {
font-size: 48rpx; font-size: 48rpx;
color: #d8d8d8; color: #d8d8d8;
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
height: 44rpx; height: 44rpx;
background: #ffffff; background: #ffffff;
border-radius: 4rpx; border-radius: 4rpx;
border: 1rpx solid #197adb; border: 1px solid #197adb;
margin-right: 16rpx; margin-right: 16rpx;
margin-bottom: 16rpx; margin-bottom: 16rpx;
.text { .text {
......
...@@ -152,8 +152,8 @@ ...@@ -152,8 +152,8 @@
confirm() { confirm() {
if (!this.abnormal_batch) { if (!this.abnormal_batch) {
uni.showToast({ uni.showToast({
title: '请输入异常批次', title: '请输入异常批次',
icon: 'none' icon: 'error'
}); });
return false; return false;
} }
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
if (!val) { if (!val) {
uni.showToast({ uni.showToast({
title: '请输入毛重', title: '请输入毛重',
icon: 'none' icon: 'error'
}); });
return false; return false;
} }
......
...@@ -77,11 +77,13 @@ ...@@ -77,11 +77,13 @@
*/ */
add() { add() {
if (!this.keyword) { if (!this.keyword) {
uni.showToast({ uni.showModal({
title: '请输入箱号', title: '',
icon: 'none' content: '请先扫描箱号',
showCancel: false
}); });
return false; return false;
return false;
} }
// 检查输入的箱号是否已经存在于列表中 // 检查输入的箱号是否已经存在于列表中
......
// 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_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_WMS = 'http://wms.liexindev.net'; //WMS系统 const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统
...@@ -37,6 +39,10 @@ const API = { ...@@ -37,6 +39,10 @@ const API = {
* */ * */
uploadImage: API_BASE_OSS + '/uploadImage', uploadImage: API_BASE_OSS + '/uploadImage',
/** /**
* 上传文件
* */
uploadImageHk: API_BASE_OSS_HK + '/uploadImage',
/**
* 生成打印标签数据 * 生成打印标签数据
* */ * */
printLabel: API_BASE + '/supplywechatwms/printLabel', printLabel: API_BASE + '/supplywechatwms/printLabel',
......
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