4 Commits c4f3f6371d ... 3fcbf6554f

Tác giả SHA1 Thông báo Ngày
  zcb 3fcbf6554f 增加遮罩 4 năm trước cách đây
  杨波 78811d8bd0 Merge branch 'master' of yb/eccs into master 4 năm trước cách đây
  yangbo 79a20d7840 1.新增用户部门必选 4 năm trước cách đây
  张创标 53aa1e1c78 Merge branch 'master' of zcb/eccs into master 4 năm trước cách đây
40 tập tin đã thay đổi với 229 bổ sung60 xóa
  1. 4 2
      eccs-admin/src/main/resources/application-prod.yml
  2. 5 3
      eccs-admin/src/main/resources/application-test.yml
  3. 1 1
      eccs-admin/src/main/resources/application.yml
  4. 1 1
      eccs-admin/src/main/resources/logback.xml
  5. 1 0
      eccs-biz/src/main/java/com/emato/biz/controller/mall/MallInveMngController.java
  6. 3 1
      eccs-biz/src/main/java/com/emato/biz/service/impl/MallInveMngServiceImpl.java
  7. 1 1
      eccs-biz/src/main/java/com/emato/biz/service/impl/MallShopInveMngServiceImpl.java
  8. 2 2
      eccs-biz/src/main/java/com/emato/biz/service/impl/OWareAdjustmentOrderServiceImpl.java
  9. 1 1
      eccs-biz/src/main/java/com/emato/biz/service/impl/OWbInveMngServiceImpl.java
  10. 1 1
      eccs-biz/src/main/java/com/emato/biz/service/impl/OWbInveReceiptGoodsServiceImpl.java
  11. 1 1
      eccs-biz/src/main/java/com/emato/biz/service/impl/OWbMerchShopInServiceImpl.java
  12. 1 1
      eccs-biz/src/main/java/com/emato/biz/service/impl/OWbMerchShopInveServiceImpl.java
  13. 1 1
      eccs-biz/src/main/java/com/emato/biz/service/impl/OWbMerchShopMoveRecordServiceImpl.java
  14. 1 1
      eccs-biz/src/main/java/com/emato/biz/service/impl/OWbMerchShopOutServiceImpl.java
  15. 2 2
      eccs-common/src/main/java/com/emato/common/core/domain/entity/SysUser.java
  16. 1 1
      eccs-ui/.env.development
  17. 1 1
      eccs-ui/.env.production
  18. 1 1
      eccs-ui/.env.staging
  19. 9 2
      eccs-ui/src/api/mall/mallinvemng.js
  20. 9 2
      eccs-ui/src/api/mall/mallshopmng.js
  21. 18 4
      eccs-ui/src/api/warehouse/adjustmentorder.js
  22. 9 2
      eccs-ui/src/api/warehouse/invemng.js
  23. 9 2
      eccs-ui/src/api/warehouse/invereceiptgoods.js
  24. 10 2
      eccs-ui/src/api/warehouse/shopin.js
  25. 9 2
      eccs-ui/src/api/warehouse/shopinve.js
  26. 10 2
      eccs-ui/src/api/warehouse/shopmoverecord.js
  27. 10 2
      eccs-ui/src/api/warehouse/shopout.js
  28. 1 1
      eccs-ui/src/utils/request.js
  29. 2 2
      eccs-ui/src/views/login.vue
  30. 14 3
      eccs-ui/src/views/mall/mallinvemng/index.vue
  31. 11 2
      eccs-ui/src/views/mall/mallshopinvemng/index.vue
  32. 1 1
      eccs-ui/src/views/system/role/index.vue
  33. 4 1
      eccs-ui/src/views/system/user/index.vue
  34. 20 2
      eccs-ui/src/views/warehouse/adjustmentorder/index.vue
  35. 9 1
      eccs-ui/src/views/warehouse/invemng/index.vue
  36. 9 1
      eccs-ui/src/views/warehouse/invereceiptgoods/index.vue
  37. 9 1
      eccs-ui/src/views/warehouse/shopin/index.vue
  38. 9 1
      eccs-ui/src/views/warehouse/shopinve/index.vue
  39. 9 1
      eccs-ui/src/views/warehouse/shopmoverecord/index.vue
  40. 9 1
      eccs-ui/src/views/warehouse/shopout/index.vue

+ 4 - 2
eccs-admin/src/main/resources/application-prod.yml

@@ -10,11 +10,11 @@ spring:
     # 地址
     host: 120.78.152.8
     # 端口,默认为6379
-    port: 6379
+    port: 7379
     # 数据库索引
     database: 0
     # 密码
-    password:
+    password: Abc-123#*.-
     # 连接超时时间
     timeout: 10s
     lettuce:
@@ -104,3 +104,5 @@ logging:
   level:
     com.emato: info
     org.springframework: warn
+  file:
+    path: /data/eccs/logs

+ 5 - 3
eccs-admin/src/main/resources/application-test.yml

@@ -10,17 +10,17 @@ spring:
     # 地址
     host: 120.78.152.8
     # 端口,默认为6379
-    port: 6379
+    port: 7379
     # 数据库索引
     database: 0
     # 密码
-    password:
+    password: Abc-123#*.-
     # 连接超时时间
     timeout: 10s
     lettuce:
       pool:
         # 连接池中的最小空闲连接
-        min-idle: 0
+        min-idle: 5
         # 连接池中的最大空闲连接
         max-idle: 8
         # 连接池的最大数据库连接数
@@ -104,3 +104,5 @@ logging:
   level:
     com.emato: debug
     org.springframework: info
+  file:
+    path: /data/eccs/logs

+ 1 - 1
eccs-admin/src/main/resources/application.yml

@@ -37,7 +37,7 @@ spring:
     # 国际化资源文件路径
     basename: i18n/messages
   profiles: 
-    active: dev
+    active: test
   # 文件上传
   servlet:
      multipart:

+ 1 - 1
eccs-admin/src/main/resources/logback.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <configuration>
     <!-- 日志存放路径 -->
-	<property name="log.path" value="/home/cadmin/logs" />
+	<property name="log.path" value="/data/eccs/logs" />
     <!-- 日志输出格式 -->
 	<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
 

+ 1 - 0
eccs-biz/src/main/java/com/emato/biz/controller/mall/MallInveMngController.java

@@ -110,6 +110,7 @@ public class MallInveMngController extends BaseController
     {
 
 
+//        return toAjax(1);
         return toAjax(mallInveMngService.pullKmallInveMng());
     }
 

+ 3 - 1
eccs-biz/src/main/java/com/emato/biz/service/impl/MallInveMngServiceImpl.java

@@ -108,6 +108,8 @@ public class MallInveMngServiceImpl implements IMallInveMngService
     @Transactional
     public int pullKmallInveMng() {
 
+
+
         Integer page = 0;
         Integer pageSize = 1000;
         int resultCode = pullMallInveMng(page, pageSize);
@@ -116,7 +118,7 @@ public class MallInveMngServiceImpl implements IMallInveMngService
             resultCode = pullMallInveMng(page, pageSize);
         }
 
-        return resultCode;
+        return resultCode==0?1:resultCode;
     }
 
     private int pullMallInveMng(Integer page, Integer pageSize) {

+ 1 - 1
eccs-biz/src/main/java/com/emato/biz/service/impl/MallShopInveMngServiceImpl.java

@@ -117,7 +117,7 @@ public class MallShopInveMngServiceImpl implements IMallShopInveMngService
             resultCode = pullKmallStoreInveMng(page, pageSize);
         }
 
-        return resultCode;
+        return resultCode==0?1:resultCode;
     }
 
     private int pullKmallStoreInveMng(Integer page, Integer pageSize) {

+ 2 - 2
eccs-biz/src/main/java/com/emato/biz/service/impl/OWareAdjustmentOrderServiceImpl.java

@@ -122,7 +122,7 @@ public class OWareAdjustmentOrderServiceImpl implements IOWareAdjustmentOrderSer
             page = page + 1;
             resultCode = pullAdjustmentOrder(merchSn, page, querySize);
         }
-        return resultCode;
+        return resultCode==0?1:resultCode;
     }
 
     private int pullAdjustmentOrder(String merchSn, int page, Integer querySize) {
@@ -214,7 +214,7 @@ public class OWareAdjustmentOrderServiceImpl implements IOWareAdjustmentOrderSer
             }
         }
 
-        return resultCode;
+        return resultCode==0?1:resultCode;
 
     }
 

+ 1 - 1
eccs-biz/src/main/java/com/emato/biz/service/impl/OWbInveMngServiceImpl.java

@@ -125,7 +125,7 @@ public class OWbInveMngServiceImpl implements IOWbInveMngService
             page = page + 1;
             resultCode = pullInveMngFromOms(merchSn, page, querySize);
         }
-        return resultCode;
+        return resultCode==0?1:resultCode;
     }
 
     private int pullInveMngFromOms(String merchSn, int page, Integer querySize) {

+ 1 - 1
eccs-biz/src/main/java/com/emato/biz/service/impl/OWbInveReceiptGoodsServiceImpl.java

@@ -121,7 +121,7 @@ public class OWbInveReceiptGoodsServiceImpl implements IOWbInveReceiptGoodsServi
             page = page + 1;
             resultCode = pullReceiptGoods(merchSn, page, querySize);
         }
-        return resultCode;
+        return resultCode==0?1:resultCode;
     }
 
     private int pullReceiptGoods(String merchSn, int page, Integer querySize) {

+ 1 - 1
eccs-biz/src/main/java/com/emato/biz/service/impl/OWbMerchShopInServiceImpl.java

@@ -119,7 +119,7 @@ public class OWbMerchShopInServiceImpl implements IOWbMerchShopInService
             page = page + 1;
             resultCode = pullShopInRecord(merchSn, page, querySize);
         }
-        return resultCode;
+        return resultCode==0?1:resultCode;
     }
 
     private int pullShopInRecord(String merchSn, int page, Integer querySize) {

+ 1 - 1
eccs-biz/src/main/java/com/emato/biz/service/impl/OWbMerchShopInveServiceImpl.java

@@ -118,7 +118,7 @@ public class OWbMerchShopInveServiceImpl implements IOWbMerchShopInveService
             page = page + 1;
             resultCode = pullStoreInveMngFromOms(merchSn, page, querySize);
         }
-        return resultCode;
+        return resultCode==0?1:resultCode;
     }
 
     private int pullStoreInveMngFromOms(String merchSn, int page, Integer querySize) {

+ 1 - 1
eccs-biz/src/main/java/com/emato/biz/service/impl/OWbMerchShopMoveRecordServiceImpl.java

@@ -121,7 +121,7 @@ public class OWbMerchShopMoveRecordServiceImpl implements IOWbMerchShopMoveRecor
             page = page + 1;
             resultCode = pullShopInRecord(merchSn, page, querySize);
         }
-        return resultCode;
+        return resultCode==0?1:resultCode;
     }
 
     private int pullShopInRecord(String merchSn, int page, Integer querySize) {

+ 1 - 1
eccs-biz/src/main/java/com/emato/biz/service/impl/OWbMerchShopOutServiceImpl.java

@@ -120,7 +120,7 @@ public class OWbMerchShopOutServiceImpl implements IOWbMerchShopOutService
             page = page + 1;
             resultCode = pullShopOutRecord(merchSn, page, querySize);
         }
-        return resultCode;
+        return resultCode==0?1:resultCode;
     }
 
     private int pullShopOutRecord(String merchSn, int page, Integer querySize) {

+ 2 - 2
eccs-common/src/main/java/com/emato/common/core/domain/entity/SysUser.java

@@ -33,11 +33,11 @@ public class SysUser extends BaseEntity
     private Long deptId;
 
     /** 用户账号 */
-    @Excel(name = "登录名称")
+    @Excel(name = "用户名称")
     private String userName;
 
     /** 用户昵称 */
-    @Excel(name = "用户称")
+    @Excel(name = "用户称")
     private String nickName;
 
     /** 用户邮箱 */

+ 1 - 1
eccs-ui/.env.development

@@ -2,7 +2,7 @@
 ENV = 'development'
 
 # ECCS/开发环境
-VUE_APP_BASE_API = '/dev-api'
+VUE_APP_BASE_API = '/eccs/dev-api'
 
 # 路由懒加载
 VUE_CLI_BABEL_TRANSPILE_MODULES = true

+ 1 - 1
eccs-ui/.env.production

@@ -2,4 +2,4 @@
 ENV = 'production'
 
 # ECCS/生产环境
-VUE_APP_BASE_API = '/prod-api'
+VUE_APP_BASE_API = '/eccs/prod-api'

+ 1 - 1
eccs-ui/.env.staging

@@ -4,4 +4,4 @@ NODE_ENV = production
 ENV = 'staging'
 
 # ECCS/测试环境
-VUE_APP_BASE_API = '/stage-api'
+VUE_APP_BASE_API = '/eccs/stage-api'

+ 9 - 2
eccs-ui/src/api/mall/mallinvemng.js

@@ -53,10 +53,17 @@ export function exportMallinvemng(query) {
 }
 
 // 拉取kmall的所有商品数据
-export function pullKmallInvemng(query) {
+export function pullKmallInvemng(query,loading,_this) {
   return request({
     url: '/biz/mallinvemng/pullKmallInveMng',
     method: 'POST',
-    params: query
+    params: query,
+    timeout: 3600 * 1000
+  }).then(function (response) {
+    loading.close();
+    _this.$alert("拉取成功...");
+  }).catch(function () {
+    loading.close();
+    _this.$alert("拉取异常...");
   })
 }

+ 9 - 2
eccs-ui/src/api/mall/mallshopmng.js

@@ -54,10 +54,17 @@ export function exportMallshopmng(query) {
 
 pullKmallStoreInvemng
 // 拉取kmall的所有商品数据
-export function pullKmallStoreInvemng(query) {
+export function pullKmallStoreInvemng(query,loading,_this) {
   return request({
     url: '/biz/mallshopmng/pullKmallStoreInveMng',
     method: 'POST',
-    params: query
+    params: query,
+    timeout: 3600 * 1000
+  }).then(function (response) {
+    loading.close();
+    _this.$alert("拉取成功...");
+  }).catch(function () {
+    loading.close();
+    _this.$alert("拉取异常...");
   })
 }

+ 18 - 4
eccs-ui/src/api/warehouse/adjustmentorder.js

@@ -53,18 +53,32 @@ export function exportAdjustmentorder(query) {
 }
 
 // 拉取结转记录
-export function pullAdjustmentorder(query) {
+export function pullAdjustmentorder(query,loading,_this) {
   return request({
     url: '/biz/adjustmentorder/pullAdjustmentOrder',
     method: 'post',
-    params: query
+    params: query,
+    timeout: 3600 * 1000
+  }).then(function (response) {
+    loading.close();
+    _this.$alert("拉取成功...");
+  }).catch(function () {
+    loading.close();
+    _this.$alert("拉取异常...");
   })
 }
 
 // 拉取结转明细
-export function pullAdjustmentorderDetail(adjustmentOrderSn) {
+export function pullAdjustmentorderDetail(adjustmentOrderSn,loading,_this) {
   return request({
     url: '/biz/adjustmentorder/pullAdjustmentorderDetail/' + adjustmentOrderSn,
-    method: 'post'
+    method: 'post',
+    timeout: 3600 * 1000
+  }).then(function (response) {
+    loading.close();
+    _this.$alert("拉取成功...");
+  }).catch(function () {
+    loading.close();
+    _this.$alert("拉取异常...");
   })
 }

+ 9 - 2
eccs-ui/src/api/warehouse/invemng.js

@@ -53,10 +53,17 @@ export function exportInvemng(query) {
 }
 
 // 导出库存管理,wms入库回传时,增加库存数
-export function pullInvemng(query) {
+export function pullInvemng(query,loading,_this) {
   return request({
     url: '/biz/invemng/pullInveMng',
     method: 'post',
-    params: query
+    params: query,
+    timeout: 3600 * 1000
+  }).then(function (response) {
+    loading.close();
+    _this.$alert("拉取成功...");
+  }).catch(function () {
+    loading.close();
+    _this.$alert("拉取异常...");
   })
 }

+ 9 - 2
eccs-ui/src/api/warehouse/invereceiptgoods.js

@@ -53,10 +53,17 @@ export function exportInvereceiptgoods(query) {
 }
 
 // 导出库存管理,wms入库回传时,增加库存数
-export function pullInveReceiptGoods(query) {
+export function pullInveReceiptGoods(query,loading,_this) {
   return request({
     url: '/biz/invereceiptgoods/pullReceiptGoods',
     method: 'post',
-    params: query
+    params: query,
+    timeout: 3600 * 1000
+  }).then(function (response) {
+    loading.close();
+    _this.$alert("拉取成功...");
+  }).catch(function () {
+    loading.close();
+    _this.$alert("拉取异常...");
   })
 }

+ 10 - 2
eccs-ui/src/api/warehouse/shopin.js

@@ -53,10 +53,18 @@ export function exportShopin(query) {
 }
 
 // 拉取门店进货记录
-export function pullShopInRecord(query) {
+export function pullShopInRecord(query,loading,_this) {
   return request({
     url: '/biz/shopin/pullShopInRecord',
     method: 'post',
-    params: query
+    params: query,
+    timeout: 3600 * 1000
+  }).then(function (response) {
+    loading.close();
+    _this.$alert("拉取成功...");
+  }).catch(function () {
+    loading.close();
+    _this.$alert("拉取异常...");
   })
+
 }

+ 9 - 2
eccs-ui/src/api/warehouse/shopinve.js

@@ -53,10 +53,17 @@ export function exportShopinve(query) {
 }
 
 // 拉取库存
-export function pullStoreInvemng(query) {
+export function pullStoreInvemng(query,loading,_this) {
   return request({
     url: '/biz/shopinve/pullStoreInveMng',
     method: 'post',
-    params: query
+    params: query,
+    timeout: 3600 * 1000
+  }).then(function (response) {
+    loading.close();
+    _this.$alert("拉取成功...");
+  }).catch(function () {
+    loading.close();
+    _this.$alert("拉取异常...");
   })
 }

+ 10 - 2
eccs-ui/src/api/warehouse/shopmoverecord.js

@@ -53,10 +53,18 @@ export function exportShopmoverecord(query) {
 }
 
 // 拉取门店转移记录
-export function pullShopMoveRecord(query) {
+export function pullShopMoveRecord(query,loading,_this) {
   return request({
     url: '/biz/shopmoverecord/pullShopMoveRecord',
     method: 'post',
-    params: query
+    params: query,
+    timeout: 3600 * 1000
+  }).then(function (response) {
+    loading.close();
+    _this.$alert("拉取成功...");
+  }).catch(function () {
+    loading.close();
+    _this.$alert("拉取异常...");
+
   })
 }

+ 10 - 2
eccs-ui/src/api/warehouse/shopout.js

@@ -52,10 +52,18 @@ export function exportShopout(query) {
   })
 }
 // 拉取门店出场记录
-export function pullShopOutRecord(query) {
+export function pullShopOutRecord(query,loading,_this) {
   return request({
     url: '/biz/shopout/pullShopOutRecord',
     method: 'post',
-    params: query
+    params: query,
+    timeout: 3600 * 1000
+  }).then(function (response) {
+    loading.close();
+    _this.$alert("拉取成功...");
+  }).catch(function () {
+    loading.close();
+    _this.$alert("拉取异常...");
   })
+
 }

+ 1 - 1
eccs-ui/src/utils/request.js

@@ -10,7 +10,7 @@ const service = axios.create({
   // axios中请求配置有baseURL选项,表示请求URL公共部分
   baseURL: process.env.VUE_APP_BASE_API,
   // 超时
-  timeout: 10000
+  timeout: 36000 * 1000
 })
 // request拦截器
 service.interceptors.request.use(config => {

+ 2 - 2
eccs-ui/src/views/login.vue

@@ -65,8 +65,8 @@ export default {
       codeUrl: "",
       cookiePassword: "",
       loginForm: {
-        username: "admin",
-        password: "admin123",
+        username: "",
+        password: "",
         rememberMe: false,
         code: "",
         uuid: ""

+ 14 - 3
eccs-ui/src/views/mall/mallinvemng/index.vue

@@ -410,13 +410,24 @@ export default {
     /** 拉取按钮操作 */
     handlePull() {
       const queryParams = this.queryParams;
-      this.$confirm('是否确认拉取保税仓所有库存?', "警告", {
+
+      const _this=this
+      // 添加遮罩
+      this.$confirm('是否确认拉取电商所有库存?', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
-      }).then(function() {
-        return pullKmallInvemng(queryParams);
+      }).then(()=> {
+        const loading = _this.$loading({
+          lock: true,
+          text: 'Loading',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        return pullKmallInvemng(queryParams,loading,_this);
+
       })
+
     }
   }
 };

+ 11 - 2
eccs-ui/src/views/mall/mallshopinvemng/index.vue

@@ -454,12 +454,21 @@ export default {
     /** 拉取按钮操作 */
     handlePull() {
       const queryParams = this.queryParams;
-      this.$confirm('是否确认拉取保税仓所有库存?', "警告", {
+      const _this=this
+      // 添加遮罩
+
+      this.$confirm('是否确认拉取电商门店所有库存?', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
       }).then(function() {
-        return pullKmallStoreInvemng(queryParams);
+        const loading = _this.$loading({
+          lock: true,
+          text: 'Loading',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        return pullKmallStoreInvemng(queryParams,loading,_this);
       })
     }
   }

+ 1 - 1
eccs-ui/src/views/system/role/index.vue

@@ -592,4 +592,4 @@ export default {
     }
   }
 };
-</script>
+</script>

+ 4 - 1
eccs-ui/src/views/system/user/index.vue

@@ -424,6 +424,9 @@ export default {
         password: [
           { required: true, message: "用户密码不能为空", trigger: "blur" }
         ],
+        deptId: [
+          { required: true, message: "请选择部门", trigger: "blur" }
+        ],
         email: [
           {
             type: "email",
@@ -657,4 +660,4 @@ export default {
     }
   }
 };
-</script>
+</script>

+ 20 - 2
eccs-ui/src/views/warehouse/adjustmentorder/index.vue

@@ -89,6 +89,7 @@
           type="warning"
           icon="el-icon-download"
           size="mini"
+          :disabled="single"
           @click="handlePullDetail"
           v-hasPermi="['biz:adjustmentorder:pulldetail']"
         >拉取结转明细</el-button>
@@ -385,23 +386,40 @@ export default {
     /** 拉取记录按钮操作 */
     handlePull() {
       const queryParams = this.queryParams;
+      // 添加遮罩
+      const _this=this
       this.$confirm('是否确认导出所有库存内调结转出入库记录数据项?', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
       }).then(function() {
-        return pullAdjustmentorder(queryParams);
+        const loading = _this.$loading({
+          lock: true,
+          text: 'Loading',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        return pullAdjustmentorder(queryParams,loading,_this);
       })
     },
     /** 拉取明细按钮操作 */
     handlePullDetail(row) {
       const adjustmentOrderSns = row.adjustmentOrderSn || this.ids;
+
+      // 添加遮罩
+      const _this=this
       this.$confirm('是否确认导出所有库存内调结转出入库记录数据项?', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
       }).then(function() {
-        return pullAdjustmentorderDetail(adjustmentOrderSns);
+        const loading = _this.$loading({
+          lock: true,
+          text: 'Loading',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        return pullAdjustmentorderDetail(adjustmentOrderSns,loading,_this);
       })
     }
   }

+ 9 - 1
eccs-ui/src/views/warehouse/invemng/index.vue

@@ -466,12 +466,20 @@ export default {
     /** 拉取按钮操作 */
     handlePull() {
       const queryParams = this.queryParams;
+      // 添加遮罩
+      const _this=this
       this.$confirm('是否确认拉取保税仓所有库存?', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
       }).then(function() {
-        return pullInvemng(queryParams);
+        const loading = _this.$loading({
+          lock: true,
+          text: 'Loading',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        return pullInvemng(queryParams,loading,_this);
       })
     }
   }

+ 9 - 1
eccs-ui/src/views/warehouse/invereceiptgoods/index.vue

@@ -366,12 +366,20 @@ export default {
     /** 拉取按钮操作 */
     handlePull() {
       const queryParams = this.queryParams;
+      // 添加遮罩
+      const _this=this
       this.$confirm('是否确认拉取保税仓所有库存?', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
       }).then(function() {
-        return pullInveReceiptGoods(queryParams);
+        const loading = _this.$loading({
+          lock: true,
+          text: 'Loading',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        return pullInveReceiptGoods(queryParams,loading,_this);
       })
     }
   }

+ 9 - 1
eccs-ui/src/views/warehouse/shopin/index.vue

@@ -422,12 +422,20 @@ export default {
     /** 拉取按钮操作 */
     handlePull() {
       const queryParams = this.queryParams;
+      // 添加遮罩
+      const _this=this
       this.$confirm('是否确认拉取保税仓所有库存?', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
       }).then(function() {
-        return pullShopInRecord(queryParams);
+        const loading = _this.$loading({
+          lock: true,
+          text: 'Loading',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        return pullShopInRecord(queryParams,loading,_this);
       })
     }
   }

+ 9 - 1
eccs-ui/src/views/warehouse/shopinve/index.vue

@@ -508,12 +508,20 @@ export default {
     /** 拉取按钮操作 */
     handlePull() {
       const queryParams = this.queryParams;
+      // 添加遮罩
+      const _this=this
       this.$confirm('是否确认拉取保税仓所有库存?', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
       }).then(function() {
-        return pullStoreInvemng(queryParams);
+        const loading = _this.$loading({
+          lock: true,
+          text: 'Loading',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        return pullStoreInvemng(queryParams,loading,_this);
       })
     }
   }

+ 9 - 1
eccs-ui/src/views/warehouse/shopmoverecord/index.vue

@@ -419,12 +419,20 @@ export default {
     /** 拉取按钮操作 */
     handlePull() {
       const queryParams = this.queryParams;
+      // 添加遮罩
+      const _this=this
       this.$confirm('是否确认拉取保税仓所有库存?', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
       }).then(function() {
-        return pullShopMoveRecord(queryParams);
+        const loading = _this.$loading({
+          lock: true,
+          text: 'Loading',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        return pullShopMoveRecord(queryParams,loading,_this);
       })
     }
   }

+ 9 - 1
eccs-ui/src/views/warehouse/shopout/index.vue

@@ -408,12 +408,20 @@ export default {
     /** 拉取按钮操作 */
     handlePull() {
       const queryParams = this.queryParams;
+      // 添加遮罩
+      const _this=this
       this.$confirm('是否确认拉取门店出场记录?', "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning"
       }).then(function() {
-        return pullShopOutRecord(queryParams);
+        const loading = _this.$loading({
+          lock: true,
+          text: 'Loading',
+          spinner: 'el-icon-loading',
+          background: 'rgba(0, 0, 0, 0.7)'
+        });
+        return pullShopOutRecord(queryParams,loading,_this);
       })
     }
   }