فهرست منبع

组盘错误提示

wangc01 2 روز پیش
والد
کامیت
6b8789e7e7
2فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 5 1
      pages/sample/group.vue
  2. 1 1
      pages/sample/port.vue

+ 5 - 1
pages/sample/group.vue

@@ -761,7 +761,11 @@
 						success: (ret) => {
 							if (ret.statusCode === 200) {
 								setTimeout(() => {
-									_this.alertInfo("添加成功!")
+									if(ret.data.ret == "failed"){
+										_this.alertInfo(ret.data.msg)
+									}else{
+										_this.alertInfo("添加成功!")
+									}
 									_this.$nextTick(() => {
 										_this.pruduct_code = "";
 										_this.number ="";

+ 1 - 1
pages/sample/port.vue

@@ -18,7 +18,7 @@
 		<view class="uni-common-mt" style="padding: 5px;">
 			<view class="uni-form-item uni-column">
 				<view class="uni-input-wrapper table-title">
-					<view class="tab-tr" style="width: 10%;">出口</view>
+					<view class="tab-tr" style="width: 10%;">出口</view>
 					<view class="tab-tr" style="width: 20%;">容器码</view>
 					<view class="tab-tr" style="width: 55%;">物料编码</view>
 				</view>