戴艳蓉 3 роки тому
батько
коміт
9d07cd9e90
100 змінених файлів з 273 додано та 758 видалено
  1. 0 19
      src/App.vue
  2. 0 1
      src/components/addr-add-edit-modal/index.vue
  3. 0 1
      src/components/globalComponents/file-upload/main.vue
  4. 0 1
      src/components/globalComponents/process-time-line/main.vue
  5. 0 4
      src/components/globalComponents/search-express/main.vue
  6. 0 2
      src/components/globalComponents/select-area/main.vue
  7. 0 1
      src/components/globalComponents/shy-tree/main.vue
  8. 0 3
      src/components/globalComponents/status-bar/main.vue
  9. 0 1
      src/components/globalComponents/theme-picker/main.vue
  10. 0 3
      src/components/in-addr-model/index.vue
  11. 0 1
      src/components/search-stock-good-modal/index.vue
  12. 0 3
      src/filters/filter.js
  13. 0 9
      src/layout/components/Navbar.vue
  14. 0 4
      src/mixins/resToken.js
  15. 0 1
      src/store/modules/user.js
  16. 0 1
      src/utils/interceptors.js
  17. 2 2
      src/utils/request.js
  18. 3 3
      src/utils/validate.js
  19. 0 5
      src/views/interest/account/addEdit.vue
  20. 0 1
      src/views/interest/account/index.vue
  21. 0 1
      src/views/interest/action/index.vue
  22. 0 4
      src/views/interest/handover/addDetail.vue
  23. 0 5
      src/views/interest/handover/components/addEdit.vue
  24. 1 7
      src/views/interest/handover/components/addEditForm.vue
  25. 0 1
      src/views/interest/organize/index.vue
  26. 0 1
      src/views/interest/role/addEdit.vue
  27. 0 2
      src/views/login/index.vue
  28. 0 2
      src/views/parameter/finance/addEdit.vue
  29. 0 1
      src/views/person-infor/my-message.vue
  30. 0 2
      src/views/process/done/index.vue
  31. 0 11
      src/views/process/oing/index.vue
  32. 0 1
      src/views/purchaseIn/purchaseDiffOrder/addEdit.vue
  33. 0 3
      src/views/purchaseIn/purchaseDiffOrder/addEditModel.vue
  34. 0 4
      src/views/purchaseIn/purchaseDiffOrder/detail.vue
  35. 0 1
      src/views/purchaseIn/purchaseOrder/components/purchase-order-in-table.vue
  36. 1 21
      src/views/purchaseIn/purchaseOrder/components/workDiff-table.vue
  37. 0 4
      src/views/purchaseIn/purchaseOrder/components/wsm-in-order-addEdit-form.vue
  38. 0 1
      src/views/purchaseIn/purchaseOrder/components/wsm-in-order-error-model.vue
  39. 0 2
      src/views/purchaseIn/purchaseOrder/detail.vue
  40. 0 4
      src/views/purchaseIn/purchaseReturn/addEdit.vue
  41. 0 2
      src/views/purchaseIn/purchaseReturn/components/purchase-order-addEdit.vue
  42. 0 7
      src/views/purchaseIn/purchaseReturn/detail.vue
  43. 0 4
      src/views/purchaseIn/purchaseReturn/index.vue
  44. 0 3
      src/views/purchaseIn/storeManage/detail.vue
  45. 0 2
      src/views/purchaseIn/storeManage/index.vue
  46. 0 3
      src/views/purchaseIn/wsmInOrder/components/purchase-order-addedit-model.vue
  47. 0 1
      src/views/purchaseIn/wsmInOrder/components/purchase-order-in-table.vue
  48. 0 1
      src/views/purchaseIn/wsmInOrder/components/wsm-in-order-error-model.vue
  49. 0 4
      src/views/purchaseIn/wsmInOrder/detail.vue
  50. 0 1
      src/views/purchaseIn/wsmInOrder/index.vue
  51. 0 1
      src/views/report/index.vue
  52. 0 7
      src/views/sellOut/returnOrder/components/addEdit.vue
  53. 0 25
      src/views/sellOut/returnOrder/components/return-record.vue
  54. 0 5
      src/views/sellOut/returnOrder/components/returnCheck.vue
  55. 0 11
      src/views/sellOut/returnOrder/detail.vue
  56. 0 3
      src/views/sellOut/returnOrder/index.vue
  57. 4 52
      src/views/sellOut/salesOrder/addEdit copy.vue
  58. 3 27
      src/views/sellOut/salesOrder/addEdit.vue
  59. 1 21
      src/views/sellOut/salesOrder/addEditForm.vue
  60. 0 1
      src/views/sellOut/salesOrder/components/addEdit.vue
  61. 0 2
      src/views/sellOut/salesOrder/components/addForm.vue
  62. 0 8
      src/views/sellOut/salesOrder/components/order-out-table.vue
  63. 0 7
      src/views/sellOut/salesOrder/components/out-order-add-model.vue
  64. 0 6
      src/views/sellOut/salesOrder/detail.vue
  65. 0 3
      src/views/sellOut/salesOrder/index.vue
  66. 0 3
      src/views/sellOut/sellAfterApply/components/addEdit.vue
  67. 0 1
      src/views/sellOut/sellAfterApply/components/addEditForm.vue
  68. 0 5
      src/views/sellOut/sellAfterApply/components/returnExpress.vue
  69. 0 3
      src/views/sellOut/sellAfterApply/serviceDetail.vue
  70. 0 3
      src/views/sellOut/sellOutOrder/components/addEdit.vue
  71. 0 2
      src/views/sellOut/sellOutOrder/components/addEditA.vue
  72. 0 1
      src/views/sellOut/sellOutOrder/components/addEditFormA.vue
  73. 0 3
      src/views/sellOut/sellOutOrder/components/addEdit_sellForm.vue
  74. 0 2
      src/views/sellOut/sellOutOrder/components/addEdit_sellReturnOrder.vue
  75. 0 1
      src/views/sellOut/sellOutOrder/components/express_feedback.vue
  76. 0 1
      src/views/sellOut/sellOutOrder/components/logisticsForm.vue
  77. 0 2
      src/views/sellOut/sellOutOrder/components/purchase_check.vue
  78. 0 5
      src/views/sellOut/sellOutOrder/components/returnExpress.vue
  79. 0 3
      src/views/sellOut/sellOutOrder/detail.vue
  80. 3 60
      src/views/sellOut/sellReturnList/addEdit.vue
  81. 0 4
      src/views/sellOut/sellReturnList/components/returnCheck copy.vue
  82. 0 3
      src/views/sellOut/sellReturnList/components/returnCheck.vue
  83. 0 7
      src/views/sellOut/sellReturnList/detail.vue
  84. 0 5
      src/views/sellOut/sellReturnList/index.vue
  85. 0 1
      src/views/serviceParam/customer/addEdit.vue
  86. 255 257
      src/views/serviceParam/expressSet/addEdit.vue
  87. 0 2
      src/views/serviceParam/expressSet/index.vue
  88. 0 4
      src/views/serviceParam/goodsAnomaly/addEdit.vue
  89. 0 1
      src/views/serviceParam/goodsAnomaly/index.vue
  90. 0 6
      src/views/serviceParam/goodsBack/addEdit.vue
  91. 0 1
      src/views/serviceParam/goodsBack/index.vue
  92. 0 1
      src/views/serviceParam/goodsClass/addEdit.vue
  93. 0 2
      src/views/serviceParam/goodsClass/index copy.vue
  94. 0 1
      src/views/serviceParam/goodsClass/index.vue
  95. 0 3
      src/views/serviceParam/purchaseInReturn/addEdit.vue
  96. 0 1
      src/views/serviceParam/purchaseInReturn/index.vue
  97. 0 1
      src/views/serviceParam/sellReturn/addEdit.vue
  98. 0 3
      src/views/sheetOrder/zxAfterSaleOrder/components/return-record.vue
  99. 0 7
      src/views/sheetOrder/zxAfterSaleOrder/components/returnCheck.vue
  100. 0 2
      src/views/sheetOrder/zxDiffOrder/components/addForm.vue

+ 0 - 19
src/App.vue

@@ -6,7 +6,6 @@
 
 <script>
 import { JudgeEnvironment } from "@/utils/validate";
-import asyncRequest from "@/apis/service/test";
 import { getCode } from "@/utils/dingding";
 export default {
   name: "App",
@@ -16,24 +15,6 @@ export default {
     };
   },
   async created() {
-    // const res = await asyncRequest.list({type_code:"WSM8b49211013191450"});
-    // console.log(res);
-    // if (res && res.code === 0 && res.data) {
-    //   this.tableData = res.data.list;
-    //   this.pageInfo.total = Number(res.data.count);
-    // } else if (res && res.code >= 100 && res.code <= 104) {
-    //   await this.logout();
-    // } else {
-    //   this.tableData = [];
-    //   this.pageInfo.total = 0;
-    // }
-
-    // axios
-    //   .post("/process/statistics", {})
-    //   .then((res) => {
-    //     console.log(res);
-    //   })
-    //   .catch((err) => {});
 
     if (JudgeEnvironment() === "isDingDing") {
       await this.testing();

+ 0 - 1
src/components/addr-add-edit-modal/index.vue

@@ -217,7 +217,6 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          console.log(this.sitem);
           const {
             arrive_time,
             receipt_quantity,

+ 0 - 1
src/components/globalComponents/file-upload/main.vue

@@ -45,7 +45,6 @@ export default {
       let that = this;
       let inputDOM1 = that.$refs.inputer;
       const files = inputDOM1.files;
-      console.log(files);
       let length = files.length;
       if (length === 0) return;
       that.loading = that.$loading({

+ 0 - 1
src/components/globalComponents/process-time-line/main.vue

@@ -57,7 +57,6 @@ export default {
   },
   watch: {
     newTime: function (val) {
-      console.log(val);
       if (val) {
         this.getList();
       }

+ 0 - 4
src/components/globalComponents/search-express/main.vue

@@ -73,7 +73,6 @@ export default {
   },
   watch: {
     names: function (val, old) {
-      console.log(val, old);
       this.searchName = val;
       if (this.isDetail && this.searchName) {
         this.remoteMethod(this.searchName);
@@ -105,7 +104,6 @@ export default {
       }
     },
     async remoteMethod(query) {
-      console.log(query);
       this.selectLoading = true;
       if (query !== "") {
         this.options = [];
@@ -114,10 +112,8 @@ export default {
           type: "",
           name: query,
         };
-        console.log(formValue);
         let res = await asyncRequest.list(formValue);
         if (res && res.code === 0 && res.data) {
-          console.log(res.data);
           let arr = res.data;
           arr.forEach((element) => {
             let obj = {

+ 0 - 2
src/components/globalComponents/select-area/main.vue

@@ -88,10 +88,8 @@ export default {
   },
   methods: {
     getCheckedNodes(e) {
-      console.log(e);
     },
     handleChange(value) {
-      console.log(this.props);
       this.$emit("selectChange", value);
     },
   },

+ 0 - 1
src/components/globalComponents/shy-tree/main.vue

@@ -187,7 +187,6 @@ export default {
       this.$emit("remove", id, pid, level, status);
     },
     deleteMenu(id, pid, level, status) {
-       console.log(id, pid, level, status);
       this.$emit("deleteMenu", id, pid, level, status);
      
     },

+ 0 - 3
src/components/globalComponents/status-bar/main.vue

@@ -32,9 +32,6 @@ export default {
   },
   mounted() {
     this.getList();
-    console.log(this.options);
-    console.log(this.status);
-    console.log(this.sIndex);
   },
   data() {
     return {

+ 0 - 1
src/components/globalComponents/theme-picker/main.vue

@@ -44,7 +44,6 @@ export default {
       if (typeof val !== 'string') return
       const themeCluster = this.getThemeCluster(val.replace('#', ''))
       const originalCluster = this.getThemeCluster(oldVal.replace('#', ''))
-      console.log(themeCluster, originalCluster)
 
       const $message = this.$message({
         message: '  Compiling the theme',

+ 0 - 3
src/components/in-addr-model/index.vue

@@ -296,14 +296,11 @@ export default {
       this.tableHeader = header;
       this.tableData = [];
       let list = results;
-      console.log(list);
       let tableOk = true;
       this.ruleForm.order_addr = [];
       list.forEach((v1) => {
         let b = Object.values(v1);
         let time = this.setTime((b[1] + "").replace(/^\s*|\s*$/g, ""));
-        // console.log(time);
-        // console.log(b);
         let item = this.get_code(b[4], b[5], b[6]);
         let model = {
           receipt_quantity: b[0] + "",

+ 0 - 1
src/components/search-stock-good-modal/index.vue

@@ -159,7 +159,6 @@ export default {
       this.searchList();
     },
     async searchList() {
-      console.log(e);
       this.loading = true;
       this.parmValue.wsm_code = this.code || "";
       this.parmValue.type_code = this.good_code || "";

+ 0 - 3
src/filters/filter.js

@@ -32,7 +32,6 @@ Vue.filter('moment', function (dataStr, pattern = 'YYYY-MM-DD HH:mm:ss') {
 
 /** 字符串超长截取省略号显示 */
 Vue.filter('ellipsis', function (value, vlength = 2) {
-  console.log(value);
   if (!value) {
     return ''
   }
@@ -45,7 +44,6 @@ Vue.filter('ellipsis', function (value, vlength = 2) {
 
 /** 保留两位小数 */
 Vue.filter('money', function (value) {
-  console.log(value);
   return (value + "").toFixed(2)
 
   // let str=value
@@ -58,7 +56,6 @@ Vue.filter('money', function (value) {
 })
 /** 字符串超长截取省略号显示 */
 Vue.filter('timewd', function (value) {
-  console.log(value)
   if (!value) {
     return ''
   } else {

+ 0 - 9
src/layout/components/Navbar.vue

@@ -165,7 +165,6 @@ export default {
       } else {
         this.lastNotice = null;
       }
-      console.log(this.lastNotice);
       this.loading = true;
       const res = await asyncRequest.list(this.parmValue);
       if (
@@ -178,7 +177,6 @@ export default {
         this.activeMsg = res.data.list[0];
         this.isShow = true;
         if (this.lastNotice + "" !== "null") {
-          // console.log(this.lastNotice.addtime);
           if (this.activeMsg.addtime === this.lastNotice.addtime) {
             if (this.lastNotice.type === "1") {
               this.checked = true;
@@ -202,7 +200,6 @@ export default {
           this.showModel = true;
         }
 
-        // console.log(this.activeMsg);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {
@@ -217,12 +214,6 @@ export default {
         this.statsTime = new Date(this.activeMsg.addtime).valueOf();
         this.endTime = this.statsTime + 1000 * 60 * 60 * 24 * 7;
 
-        // console.log(this.statsTime, this.endTime, nowtime);
-        // console.log(
-        //   nowtime > this.statsTime,
-        //   nowtime < this.endTime,
-        //   !this.checked
-        // );
         if (
           nowtime > this.statsTime &&
           nowtime < this.endTime &&

+ 0 - 4
src/mixins/resToken.js

@@ -1,10 +1,6 @@
 export default {
   methods: {
     async logout() {
-      console.log(this);
-      console.log(this.$route);
-      console.log(this.$route.path);
-      console.log(this.$route.path !== "/login")
       if (this.$route.path !== "/login") {
         await this.$store.dispatch("user/logout");
         this.$router.push(`/login`);

+ 0 - 1
src/store/modules/user.js

@@ -158,7 +158,6 @@ const actions = {
             })
             arrag.push(pItem)
           })
-          console.log(arrag);
           //生成主菜单
           commit("mainListFn", mainMenu);
           // 生成页面权限

+ 0 - 1
src/utils/interceptors.js

@@ -37,7 +37,6 @@ axios.interceptors.request.use(
 // 添加响应拦截器
 axios.interceptors.response.use(
   function(response) {
-    console.log(12345678);
     // if (response.config.url.substr(0, 18) === "/admin/ditpcs-debug/") {
       
     //   return response.data;

+ 2 - 2
src/utils/request.js

@@ -25,7 +25,7 @@ service.interceptors.request.use(
   },
   error => {
     // do something with request error
-    console.log(error) // for debug
+    // console.log(error) // for debug
     return Promise.reject(error)
   }
 )
@@ -76,7 +76,7 @@ service.interceptors.response.use(
     }
   },
   error => {
-    console.log('err' + error) // for debug
+    // console.log('err' + error) // for debug
     Message({
       message: error.message,
       type: 'error',

+ 3 - 3
src/utils/validate.js

@@ -119,13 +119,13 @@ export function isPhone(s) {
 export function isExtension(s) {
   let type = true
   let arr = s.split('-')
-  console.log(arr);
+  // console.log(arr);
   if (arr.length === 2 || arr.length === 3) {
     type = setF(arr)
   } else {
     type = false
   }
-  console.log('console' + type);
+  // console.log('console' + type);
   return type
   ///0\d{2,3}-\d{7,8}(-\d{1,6})?/.test(s)
 }
@@ -136,7 +136,7 @@ function setF(arr) {
   if (arr.length === 3) {
     type3 = arr[2].length === 0 || arr[2].length > 6 ? false : /\d{1,6}$/.test(arr[2])
   }
-  console.log(type1, type2, type3);
+  // console.log(type1, type2, type3);
   if (arr.length === 2) {
     return type1 && type2
   } else {

+ 0 - 5
src/views/interest/account/addEdit.vue

@@ -130,10 +130,8 @@ export default {
           callback(new Error("真实姓名规则为2~12位汉字!"));
         } else {
           if (!isChinese(value)) {
-            console.log(9999);
             callback(new Error("真实姓名规则为2~12位汉字!"));
           } else if (isEmoticon(value)) {
-            console.log(2345);
             callback(new Error("真实姓名规则为2~12位汉字!"));
           } else {
             callback();
@@ -252,12 +250,10 @@ export default {
       console.log("closeModel!!");
     },
     itemidChange(e) {
-      console.log(e)
       this.ruleForm.itemid = e;
       this.$refs.ruleForm.validateField("itemid");
     },
     async initForm() {
-      console.log(this.id);
       this.loading = true;
       await this.getClist();
       await this.getRole();
@@ -365,7 +361,6 @@ export default {
           this.loading = true;
           const { username, name, mobile, email, role_id, status, itemid } =
             JSON.parse(JSON.stringify(this.ruleForm));
-          console.log(this.ruleForm);
           const model = {
             id: this.id,
             username: username || "", // 账号

+ 0 - 1
src/views/interest/account/index.vue

@@ -392,7 +392,6 @@ export default {
     },
     async searchList() {
       this.loading = true;
-      console.log(this.parmValue);
       const res = await asyncRequest.list(this.parmValue);
       if (res && res.code === 0 && res.data) {
         this.tableData = res.data.list;

+ 0 - 1
src/views/interest/action/index.vue

@@ -269,7 +269,6 @@ export default {
     },
     indeterminateField() {
       return (item) => {
-        // console.log(item);
         // 选中子节点的数量
         const selectItemLength = item.action_data.filter(
           (filitem) =>

+ 0 - 4
src/views/interest/handover/addDetail.vue

@@ -82,7 +82,6 @@ export default {
 
   methods: {
     initForm() {
-      console.log("刷新详情接口!");
       this.setTime();
     },
     setTime() {
@@ -92,8 +91,6 @@ export default {
       this.parmValue = {};
     },
     async refreshDom(val) {
-      console.log("子组件抛出");
-      // console.log(val);
       val.hand_uid = val.hand_uid.toString();
       val.resign_uid = val.resign_uid.toString();
       this.loading = true;
@@ -101,7 +98,6 @@ export default {
       if (res && res.code === 0 && res.data) {
         // 获取到当前的type值,
         // this.type = 1;
-        // console.log(res.data);
         this.updateStatus(val);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();

+ 0 - 5
src/views/interest/handover/components/addEdit.vue

@@ -57,14 +57,11 @@ export default {
     },
     async initForm() {
       this.loading = true;
-      console.log(this.id);
       if (this.id === "add") {
         this.title = "添加离职交接";
         this.rulesThis = this.rules;
         // await this.resetForm();
       } else {
-        console.log(this.isDetail);
-
         if (this.isDetail) {
           // this.title = "离职交接详情";
           this.rulesThis = {};
@@ -77,11 +74,9 @@ export default {
       this.loading = false;
     },
     handClick(e) {
-      console.log(e);
       this.showModelThis = e;
     },
     refresh(e) {
-      console.log(e);
       this.showModelThis = e;
       this.$emit("refresh", true);
     },

+ 1 - 7
src/views/interest/handover/components/addEditForm.vue

@@ -142,22 +142,16 @@ export default {
       }
     },
   },
-  // mounted() {
-  //   console.log(this.id);
-  //   this.initForm();
-  // },
-  created() {
+  mounted() {
     this.initForm();
   },
   watch: {
     id: function (val) {
-      console.log(val);
       if (val) {
         this.initForm();
       }
     },
     newTime: function (val) {
-      console.log(val);
       if (val) {
         this.initForm();
       }

+ 0 - 1
src/views/interest/organize/index.vue

@@ -351,7 +351,6 @@ export default {
     },
 
     async concatData(id, parentIds, level) {
-      console.log(id, parentIds, level);
       this.loading = true;
       const res = await asyncRequest.list({});
       let depart = [];

+ 0 - 1
src/views/interest/role/addEdit.vue

@@ -328,7 +328,6 @@ export default {
     },
     indeterminateField() {
       return (item) => {
-        // console.log(item);
         // 选中子节点的数量
         const selectItemLength = item.action_data.filter(
           (filitem) =>

+ 0 - 2
src/views/login/index.vue

@@ -263,10 +263,8 @@ export default {
             query: this.otherQuery,
           });
           this.loading = false;
-          // console.log(res);
         })
         .catch((err) => {
-          console.log(err);
           this.loading = false;
         });
     },

+ 0 - 2
src/views/parameter/finance/addEdit.vue

@@ -207,9 +207,7 @@ export default {
       console.log("closeModel!!");
     },
     async initForm() {
-      console.log(this.id);
       this.loading = true;
-      // await this.getRole();
       if (this.id === "add") {
         this.title = "添加财务信息";
         this.rulesThis = this.rules;

+ 0 - 1
src/views/person-infor/my-message.vue

@@ -76,7 +76,6 @@ export default {
           if (!isChinese(value)) {
             callback(new Error("真实姓名规则为2~12位汉字!"));
           } else if (isEmoticon(value)) {
-            console.log(2345);
             callback(new Error("真实姓名规则为2~12位汉字!"));
           } else {
             callback();

+ 0 - 2
src/views/process/done/index.vue

@@ -228,7 +228,6 @@ export default {
   },
   methods: {
     async getRouter(type, code, id) {
-      console.log(type, code, id);
       let list = [
         {
           type: "CGD", //采购单管理
@@ -300,7 +299,6 @@ export default {
       let item = list.find((v) => {
         return v.type == type;
       });
-      console.log(item, "item");
       if (item && item.type) {
         this.routeGoto(item.sellR, { id: item.to === "id" ? id : code });
       }

+ 0 - 11
src/views/process/oing/index.vue

@@ -248,7 +248,6 @@ export default {
   },
   methods: {
     getRouter(type, code, id) {
-      console.log(type, code, id);
       let list = [
         {
           type: "CGD", //采购单管理
@@ -320,7 +319,6 @@ export default {
       let item = list.find((v) => {
         return v.type == type;
       });
-      console.log(item, "item");
       if (item && item.type) {
         this.routeGoto(item.sellR, { id: item.to === "id" ? id : code });
       }
@@ -386,13 +384,9 @@ export default {
     // 刷新表格
     async searchList() {
       this.loading = true;
-      // const res = await asyncRequest.list(this.parmValue);
       const res = await asyncRequest.list(this.parmValue);
-      // console.log(...res.data.list);
       if (res && res.code === 0 && res.data) {
-        console.log(res.data);
         this.tableData = res.data.list;
-        // console.log(this.tableData);
         this.pageInfo.total = Number(res.data.count);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
@@ -405,14 +399,9 @@ export default {
     // 刷新表格
     async searchProList() {
       this.loading = true;
-      // const res = await asyncRequest.list(this.parmValue);
       const res = await asyncRequest.processList(this.parmValue);
-      // console.log(...res.data.list);
       if (res && res.code === 0 && res.data) {
         console.log(res.data);
-        // this.tableData = res.data.list;
-        // console.log(this.tableData);
-        // this.pageInfo.total = Number(res.data.count);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {

+ 0 - 1
src/views/purchaseIn/purchaseDiffOrder/addEdit.vue

@@ -122,7 +122,6 @@ export default {
     async initData() {
       const res = await asyncRequest.detail({ id: this.id });
       if (res && res.code === 0 && res.data) {
-        console.log(res.data);
         this.ruleForm = res.data;
         this.ruleForm.role_id = this.ruleForm.role;
       } else if (res && res.code >= 100 && res.code <= 104) {

+ 0 - 3
src/views/purchaseIn/purchaseDiffOrder/addEditModel.vue

@@ -144,7 +144,6 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          console.log(this.sitem);
           const { loginName, goods_class, good_name, cgdNo, weight } =
             this.sitem;
           this.ruleForm = {
@@ -168,8 +167,6 @@ export default {
             cgdNo: cgdNo,
             diff_weight: num,
           };
-          console.log(this.ruleForm);
-          // return;
           let res = await asyncRequest.add(model);
           this.loading = false;
           if (res && res.code === 0) {

+ 0 - 4
src/views/purchaseIn/purchaseDiffOrder/detail.vue

@@ -149,12 +149,10 @@ export default {
         });
     },
     async setstatus(status, message, remark = "") {
-      console.log(status, "status", remark, "remark");
       let _model = {
         id: this.rid,
         status: status,
       };
-      console.log(_model);
       let res = await asyncRequest.status(_model);
       if (res && res.code === 0) {
         this.$notify.success({
@@ -190,13 +188,11 @@ export default {
         this.getNewTime();
         if (this.order_type === "2") {
           this.order_type = res.data.cgdNo;
-          console.log(this.statusOptions);
           this.statusOptions.unshift({ value: "0", label: "咨询单" });
         }
         this.order_type === '1' ? "CGGCD" : "ZXGCD";
         this.order_type = res.data.order_type;
 
-        console.log(this.rid);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {

+ 0 - 1
src/views/purchaseIn/purchaseOrder/components/purchase-order-in-table.vue

@@ -127,7 +127,6 @@ export default {
     },
   },
   mounted() {
-    console.log(this.tableForm);
     this.initForm();
   },
   methods: {

+ 1 - 21
src/views/purchaseIn/purchaseOrder/components/workDiff-table.vue

@@ -158,8 +158,6 @@
 import mixinPage from "@/mixins/elPaginationHandle";
 import resToken from "@/mixins/resToken";
 import asyncRequest from "@/apis/service/sellOut/salesOrder/detail";
-// import outOrderAddModel from "./out-order-add-model";
-// import addEdit from "@/views/sellOut/sellAfterApply/components/addEdit.vue";
 
 import { mapGetters } from "vuex";
 
@@ -214,7 +212,6 @@ export default {
     };
   },
   mounted() {
-    console.log(this.sitem.bum);
     this.initForm();
   },
   methods: {
@@ -222,28 +219,11 @@ export default {
       this.$emit("refresh");
     },
     async initForm() {
-      // console.log("12");
       this.status = "";
       this.queryId = this.$route.query.id;
-      // this.rulesThis = this.rules;
-      this.resetForm();
-    },
-    getNewTime() {
-      this.newTime = new Date().valueOf();
-    },
-    async resetForm() {
-      // 重置
-      await this.$nextTick(() => {
-        // console.log(this.$refs.addrForm);
-        // if (this.$refs.addrForm) {
-        //   this.$refs.addrForm.resetFields();
-        //   this.$refs.addrForm.clearValidate();
-        const { bum } = this.sitem;
+       const { bum } = this.sitem;
         this.tableData = bum;
-        // }
-      });
     },
-
     editRow(index) {
       let findex = this.stockForm.good_stock.findIndex((v) => v.edit === true);
       if (findex !== -1) {

+ 0 - 4
src/views/purchaseIn/purchaseOrder/components/wsm-in-order-addEdit-form.vue

@@ -253,7 +253,6 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          console.log(this.sitem);
           const { post_name, post_code, post_fee, sendtime, send_num } =
             this.sitem;
           const {
@@ -288,7 +287,6 @@ export default {
           this.loading = true;
           let model = JSON.parse(JSON.stringify(this.ruleForm));
           // model.post_company = model.post_name.toString();
-          console.log(model);
           // delete model[post_name];
           let _model = {
             cgdNo: model.cgdNo,
@@ -320,13 +318,11 @@ export default {
       });
     },
     handleCompany(e) {
-      console.log(e, "要求传快递简称,不传id"); //
       if (e && e.code) {
         // this.ruleForm.post_name = [e.code];
         this.ruleForm.post_name = [e.shortName];
         this.ruleForm.page = 1;
       }
-      console.log(this.ruleForm.express_company);
       this.$refs.ruleForm.validateField("post_name");
     },
   },

+ 0 - 1
src/views/purchaseIn/purchaseOrder/components/wsm-in-order-error-model.vue

@@ -189,7 +189,6 @@ export default {
     async initForm() {
       this.loading = true;
       this.rulesThis = this.rules;
-      console.log(this.id);
       if (this.id === -1) {
         this.title = "新建异常记录";
       } else {

+ 0 - 2
src/views/purchaseIn/purchaseOrder/detail.vue

@@ -193,9 +193,7 @@ export default {
         this.sitem = res.data;
         const { status, can } = this.sitem;
         this.status = status;
-        console.log(res.data);
         this.orderCode = res.data.cgdNo;
-        console.log(this.orderCode);
         this.getNewTime();
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();

+ 0 - 4
src/views/purchaseIn/purchaseReturn/addEdit.vue

@@ -166,11 +166,7 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          console.log(this.sitem);
           const { good_name, cgder, wsend_num, cgdNo } = this.sitem;
-
-          // const { username, nickname, mobile, email, roleid, status, item } =
-          //   sitem;
           this.ruleForm = {
             cgdNo: cgdNo || "",
             return_num: "", //退货数量

+ 0 - 2
src/views/purchaseIn/purchaseReturn/components/purchase-order-addEdit.vue

@@ -74,7 +74,6 @@ export default {
       console.log("closeModel!!");
     },
     addForm() {
-      console.log(this.sitem);
       this.detailSitem = this.sitem;
       this.modelId = this.id;
       this.showModel = true;
@@ -85,7 +84,6 @@ export default {
       if (this.id === "add") {
         this.status = "";
       } else {
-        console.log(this.sitem);
         const { status, can } = this.sitem;
         this.sitem.goods_class = "";
         this.status = status || "";

+ 0 - 7
src/views/purchaseIn/purchaseReturn/detail.vue

@@ -212,14 +212,11 @@ export default {
     },
     async initData() {
       this.loading = true;
-      console.log(this.queryId);
       const res = await asyncRequest.detail({ returnCode: this.queryId });
       if (res && res.code === 0 && res.data) {
         this.sitem = res.data;
         this.status = res.data.status;
-        // console.log(res.data.bk_code);
         this.orderCode = res.data.bk_code;
-        // console.log(this.orderCode);
         this.getNewTime();
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
@@ -268,9 +265,6 @@ export default {
         status: status,
         returnCode: this.queryId,
       };
-
-      console.log(model);
-      // return;
       const res = await asyncRequest.status(model);
       this.loading = false;
       if (res && res.code === 0) {
@@ -287,7 +281,6 @@ export default {
     },
     getNewTime() {
       this.newTime = new Date().valueOf();
-      console.log(this.orderCode);
     },
   },
 };

+ 0 - 4
src/views/purchaseIn/purchaseReturn/index.vue

@@ -372,9 +372,7 @@ export default {
     },
     async searchList() {
       this.loading = true;
-      console.log(this.parmValue);
       let model = JSON.parse(JSON.stringify(this.parmValue));
-      console.log(model);
       const res = await asyncRequest.list(model);
       if (res && res.code === 0 && res.data) {
         this.tableData = res.data.list;
@@ -438,8 +436,6 @@ export default {
       await this.searchList();
     },
     async handleValue() {
-      // console.log(this.select);
-      // console.log(this.s_input);
       this.parmValue.returnCode =
         this.select === "returnCode" ? this.s_input : "";
       this.parmValue.cgdNo = this.select === "cgdNo" ? this.s_input : "";

+ 0 - 3
src/views/purchaseIn/storeManage/detail.vue

@@ -216,9 +216,7 @@ export default {
       if (res && res.code === 0 && res.data) {
         this.sitem = res.data;
         this.status = res.data.status;
-        // console.log(res.data.bk_code);
         this.orderCode = res.data.bk_code;
-        // console.log(this.orderCode);
         this.getNewTime();
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
@@ -286,7 +284,6 @@ export default {
     },
     getNewTime() {
       this.newTime = new Date().valueOf();
-      console.log(this.orderCode);
     },
   },
 };

+ 0 - 2
src/views/purchaseIn/storeManage/index.vue

@@ -283,7 +283,6 @@ export default {
   methods: {
     // 选择时间操作
     handleTime(e) {
-      console.log(e);
       if (e) {
         this.parmValue.start = e.startTime;
         this.parmValue.end = e.endTime;
@@ -296,7 +295,6 @@ export default {
       } else if (this.parmValue.start === "" && this.parmValue.end === "") {
         this.searchList();
       }
-      console.log(this.parmValue);
     },
     // 重置参数
     restSearch() {

+ 0 - 3
src/views/purchaseIn/wsmInOrder/components/purchase-order-addedit-model.vue

@@ -383,9 +383,6 @@ export default {
           this.loading = true;
           const item = JSON.parse(JSON.stringify(this.ruleForm));
           item.supplierNo = item.supplierNo.toString();
-
-          console.log(item);
-
           const res = await asyncRequest.update(item);
           this.loading = false;
           if (res && res.code === 0) {

+ 0 - 1
src/views/purchaseIn/wsmInOrder/components/purchase-order-in-table.vue

@@ -123,7 +123,6 @@ export default {
     },
   },
   mounted() {
-    console.log(this.tableForm);
     this.initForm();
   },
   methods: {

+ 0 - 1
src/views/purchaseIn/wsmInOrder/components/wsm-in-order-error-model.vue

@@ -189,7 +189,6 @@ export default {
     async initForm() {
       this.loading = true;
       this.rulesThis = this.rules;
-      console.log(this.id);
       if (this.id === -1) {
         this.title = "新建异常记录";
       } else {

+ 0 - 4
src/views/purchaseIn/wsmInOrder/detail.vue

@@ -133,9 +133,6 @@ export default {
       }
     },
   },
-  mounted() {
-    console.log(this.$route);
-  },
   data() {
     return {
       orderCode: "",
@@ -217,7 +214,6 @@ export default {
       }
     },
     async initData() {
-      console.log(this.queryId);
       const res = await asyncRequest.orderininfo({ wsm_in_code: this.queryId });
       if (res && res.code === 0 && res.data) {
         this.sitem = res.data;

+ 0 - 1
src/views/purchaseIn/wsmInOrder/index.vue

@@ -438,7 +438,6 @@ export default {
       this.parmValue.apply_name = this.select === "6" ? this.input : ""; // 申请人
       this.parmValue.supplierNo = this.select === "7" ? this.input : ""; // 采购供应商编号
       // this.wsm_supplierNo = [];
-      console.log(this.parmValue);
       let model = JSON.parse(JSON.stringify(this.parmValue));
 
       let _model = {

+ 0 - 1
src/views/report/index.vue

@@ -311,7 +311,6 @@ export default {
       this.loading = false;
     },
     async statusConfirm(id, status) {
-      console.log(id, status);
       let str = status === "1" ? "禁用" : "启用";
       await this.$confirm("确定要改为" + str, {
         confirmButtonText: "确定",

+ 0 - 7
src/views/sellOut/returnOrder/components/addEdit.vue

@@ -145,14 +145,11 @@ export default {
     showModel: function (val) {
       this.showModelThis = val;
       if (val) {
-        console.log("int:" + val);
         this.initForm();
       }
     },
     showModelThis(val) {
-      console.log(val);
       if (!val) {
-        console.log("out:" + val);
         this.$emit("cancel");
       }
     },
@@ -193,7 +190,6 @@ export default {
         if (valid) {
           // this.loading = true;
           this.showModelThis = false;
-          console.log(this.ruleForm);
           this.$emit("refresh", this.ruleForm);
         } else {
           console.log("error submit!!");
@@ -211,7 +207,6 @@ export default {
       const res = await asyncRequest.resultlist(model);
       this.loading = false;
       if (res && res.code === 0) {
-        console.log(res.data);
         this.reason_options = res.data.list;
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
@@ -220,13 +215,11 @@ export default {
       }
     },
     handleValue(e) {
-      console.log(e);
       this.reason_options.forEach((item) => {
         if (item.result_code === e) {
           this.ruleForm.name = item.result;
         }
       });
-      console.log(this.ruleForm.name);
     },
   },
 };

+ 0 - 25
src/views/sellOut/returnOrder/components/return-record.vue

@@ -354,7 +354,6 @@ export default {
     async initForm() {
       this.loading = true;
       this.rulesThis = this.rules;
-      // console.log(this.sitem);
       await this.getresultlist();
       await this.resetForm();
       this.loading = false;
@@ -369,13 +368,10 @@ export default {
           this.status = "";
           this.arr = [];
           this.newArr = [];
-          // console.log("sitem", this.sitem);
           let { child, status, received_num, normal_num, remark, return_num } =
             this.sitem;
           this.status = status;
           this.newArr = child;
-          console.log("newArr", this.newArr);
-
           child.forEach((ele) => {
             let obj = {
               is_del: "0",
@@ -385,10 +381,8 @@ export default {
               id: ele.id,
               edit: false,
             };
-            // console.log("1");
             this.arr.push(obj);
           });
-          console.log("arr", this.arr);
           this.ruleForm = {
             return_num: return_num,
             normal: normal_num, //可销售数量
@@ -443,13 +437,9 @@ export default {
           list.forEach((v) => {
             v.is_del = "1";
           });
-          console.log(product_go);
           allList.push(...product_go);
           allList.push(...list);
-          console.log(allList);
 
-          let arr = [];
-          console.log(this.arr);
           allList.map((ele) => {
             let obj = {
               id: ele.id,
@@ -463,13 +453,11 @@ export default {
           const res = await asyncRequest.returnCheck(model); //退货验货接口
           this.loading = false;
           if (res && res.code === 0) {
-            console.log("submit");
             this.$notify.success({
               title: res.message,
               message: "",
             });
             this.$emit("refresh");
-            console.log("抛出事件给详情页");
           } else if (res && res.code >= 100 && res.code <= 104) {
             await this.logout();
           } else {
@@ -507,8 +495,6 @@ export default {
         this.$message.warning("异常数量必须为整数!");
         return;
       }
-      console.log(this.ruleForm.return_num);
-      console.log(anomalous_numbers, this.ruleForm.normal);
       if (
         +anomalous_numbers + +this.ruleForm.normal !==
         +this.ruleForm.return_num
@@ -531,23 +517,16 @@ export default {
     },
     //编辑某一行
     editRow(rowIndex) {
-      console.log(rowIndex);
-      console.log(this.ruleForm.product_go[rowIndex].edit);
       let index = this.ruleForm.product_go.findIndex((v) => v.edit);
-      console.log(index);
       if (index !== -1) {
         this.$message.warning("请完成其他行的编辑!");
         return;
       } else {
-        console.log(this.ruleForm.product_go[rowIndex]);
         this.ruleForm.product_go[rowIndex].edit = true;
       }
     },
     deleteRow(rowIndex) {
-      // console.log(rowIndex);
-      // console.log(this.ruleForm.product_go);
       this.ruleForm.product_go.shift(rowIndex);
-      // console.log(this.ruleForm.product_go);
     },
     //重置行内参数
     resetRow(rowIndex) {
@@ -557,14 +536,12 @@ export default {
     },
     //
     openModal(code, btn_code) {
-      console.log(code, btn_code);
       this.btn_code = btn_code;
       this.modelId = code;
       this.showModel = true;
     },
     // 获取弹窗的值
     handleValue(e) {
-      console.log(e);
       if (e) {
         const { numbers, reason, remark, name } = e;
         let v = {
@@ -581,9 +558,7 @@ export default {
         this.voList = [];
         this.voList.push(v);
       }
-      // this.initForm();
       let list = JSON.parse(JSON.stringify(this.voList));
-      console.log(this.ruleForm.product_go);
       list.forEach((v) => {
         v.edit = false;
         this.ruleForm.product_go.push(v);

+ 0 - 5
src/views/sellOut/returnOrder/components/returnCheck.vue

@@ -214,11 +214,9 @@ export default {
         if (this.$refs.tableForm) {
           this.$refs.tableForm.resetFields();
           this.$refs.tableForm.clearValidate();
-          console.log(this.sitem);
           let { child, thNo, status } = this.sitem;
           this.status = status;
           this.thNo = thNo;
-          console.log(child);
           child.map((ele) => {
             let obj = {
               id: ele.id,
@@ -251,10 +249,8 @@ export default {
         this.$message.warning("当前已有商品正在编辑!");
         return;
       }
-      console.log(this.tableForm);
       let arr = [];
       let model = JSON.parse(JSON.stringify(this.tableForm));
-      console.log(model.errorlist);
       model.errorlist.map((ele) => {
         let obj = {
           id: ele.id,
@@ -266,7 +262,6 @@ export default {
       model.thNo = this.thNo;
       model.errorlist = arr;
       model.status = "3"; //1待验货2待验货审核3待业务审核4完成 this.status + 1
-      console.log(model);
       const res = await asyncRequest.check(model); //验货审核orderbce
       if (res && res.code === 0) {
         console.log("submit");

+ 0 - 11
src/views/sellOut/returnOrder/detail.vue

@@ -131,7 +131,6 @@ export default {
   },
   mounted() {
     this.qid = this.$route.query.id;
-    // console.log(this.sitem);
     this.initData();
   },
   methods: {
@@ -140,10 +139,8 @@ export default {
     },
     // 点击业务审核的保存按钮
     async examForm(e) {
-      console.log(e);
       if (!this.loading) {
         let type = e.state === "1" ? "4" : e.rebut;
-        console.log(type);
         await this.setstatus(type, "提交业务审核", e.remark);
       }
     },
@@ -155,14 +152,6 @@ export default {
         type: "warning",
       })
         .then(async () => {
-          console.log(type);
-          console.log(remark);
-          // let { returnCode } = this.sitem;
-          // const model = {
-          //   remark,
-          //   returnCode,
-          //   status: type,
-          // };
           let _model = {
             thNo: this.qid,
             status: type,

+ 0 - 3
src/views/sellOut/returnOrder/index.vue

@@ -379,7 +379,6 @@ export default {
       this.loading = true;
       let model = JSON.parse(JSON.stringify(this.parmValue));
       model.post_compay = model.post_compay.toString();
-      console.log(model);
       const res = await asyncRequest.list(model);
       if (res && res.code === 0 && res.data) {
         this.tableData = res.data.list;
@@ -448,8 +447,6 @@ export default {
       await this.searchList();
     },
     async handleValue() {
-      console.log(this.select);
-      console.log(this.s_input);
       this.loading = true;
       this.parmValue.post_code =
         this.select === "expressNo" ? this.s_input : "";

+ 4 - 52
src/views/sellOut/salesOrder/addEdit copy.vue

@@ -384,10 +384,8 @@ export default {
           callback(new Error("真实姓名规则为2~12位汉字!"));
         } else {
           if (!isChinese(value)) {
-            console.log(9999);
             callback(new Error("真实姓名规则为2~12位汉字!"));
           } else if (isEmoticon(value)) {
-            console.log(2345);
             callback(new Error("真实姓名规则为2~12位汉字!"));
           } else {
             callback();
@@ -490,16 +488,13 @@ export default {
       this.loading = true;
       let model = {
         page: 1,
-        size: 15,
+        size: 100,
         type: "5",
       };
       const res = await asyncRequest.getReason(model);
       if (res && res.code === 0 && res.data) {
-        // this.tableData = res.data.list;
-        // console.log(this.tableData);
-        // this.pageInfo.total = Number(res.data.count);
-        // this.reason_options =
-        res.data.list.forEach((element) => {
+       const {list}=res.data
+        list.forEach((element) => {
           let obj = {
             value: element.result_code,
             label: element.result,
@@ -507,7 +502,6 @@ export default {
           };
           this.reason_options.push(obj);
         });
-        console.log(this.reason_options);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {
@@ -555,39 +549,11 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          // console.log(this.sitem);
-          // this.outCode = this.sitem.orderCode;
-          // console.log(this.outCode);
-          // const { info, addrs } = this.sitem;
-          // info.forEach((ele) => {
-          //   this.noSendNum += ele.wsend_num;
-          // });
-          // let list = JSON.parse(JSON.stringify(info)); //
-          // list.map((v) => {
-          //   v.edit = false;
-          //   return v;
-          // });
-          // this.tableForm.product_go = [].concat(...list);
-
-          // console.log(list);
-          // addrs.forEach((ele) => {
-          //   this.noSendNumbers += ele.wsend_num;
-          // });
-          // let l_list = JSON.parse(JSON.stringify(addrs));
-          // l_list.map((ele) => {
-          //   ele.edit = false;
-          //   return ele;
-          // });
-          // this.tableForm.get_product_go = [].concat(...l_list);
-          // console.log(l_list);
+        
           this.ruleForm = {
             return_remark: "", //退货备注
             return_num: "", //退货数量
             returnReason: [], //退货原因
-            // email: "",
-            // role_id: "",
-            // status: "1",
-            // item: [],
           };
         }
       });
@@ -597,14 +563,11 @@ export default {
       await this.$refs.ruleForm.validate(async (valid) => {
         if (valid) {
           this.loading = true;
-          console.log(this.ruleForm);
           const model = JSON.parse(JSON.stringify(this.ruleForm));
-          console.log(model);
           model.errorCode = model.returnReason.toString();
           model.num = model.return_num;
           model.remark = model.return_remark;
           model.outCode = this.outCode;
-          console.log(model);
           if (model.return_num > this.noSendNum) {
             this.$message.warning("退货数量不能大于未发货数量");
             return;
@@ -642,8 +605,6 @@ export default {
     checkRow(rowIndex, name) {
       if (name == "return") {
         const model = JSON.parse(JSON.stringify(this.ruleForm));
-        console.log(model.return_num);
-        console.log(this.noSendNum);
         if (Number(model.return_num) > Number(this.noSendNum)) {
           this.$message.warning("退货数量不能大于未发货数量");
           return;
@@ -657,8 +618,6 @@ export default {
         }
       } else if (name == "get") {
         const model = JSON.parse(JSON.stringify(this.ruleForm));
-        console.log(model);
-        console.log(this.noSendNum);
         if (Number(model.get_return_num) > Number(this.noSendNum)) {
           this.$message.warning("退货数量不能大于未发货数量");
           return;
@@ -674,33 +633,26 @@ export default {
     },
     //编辑某一行
     editRow(rowIndex, name) {
-      // console.log(this.tableForm.product_go[rowIndex].edit);
-      // console.log(rowIndex);
-      // console.log(this.tableForm.product_go);
       if (name == "return") {
         let index = this.tableForm.product_go.findIndex((v) => {
           v.edit;
         });
-        console.log(index);
         if (index !== -1) {
           this.$message.warning("请完成其他行的编辑!");
           return;
         } else {
           this.tableForm.product_go[rowIndex].edit = true;
         }
-        console.log(this.tableForm.product_go[rowIndex].edit);
       } else if (name == "get") {
         let index = this.tableForm.product_go.findIndex((v) => {
           v.edit;
         });
-        console.log(index);
         if (index !== -1) {
           this.$message.warning("请完成其他行的编辑!");
           return;
         } else {
           this.tableForm.get_product_go[rowIndex].edit = true;
         }
-        console.log(this.tableForm.get_product_go[rowIndex].edit);
       }
     },
     resetRow(rowIndex) {

+ 3 - 27
src/views/sellOut/salesOrder/addEdit.vue

@@ -78,10 +78,8 @@ export default {
           callback(new Error("真实姓名规则为2~12位汉字!"));
         } else {
           if (!isChinese(value)) {
-            console.log(9999);
             callback(new Error("真实姓名规则为2~12位汉字!"));
           } else if (isEmoticon(value)) {
-            console.log(2345);
             callback(new Error("真实姓名规则为2~12位汉字!"));
           } else {
             callback();
@@ -184,16 +182,13 @@ export default {
       this.loading = true;
       let model = {
         page: 1,
-        size: 15,
+        size: 100,
         type: "5",
       };
       const res = await asyncRequest.getReason(model);
       if (res && res.code === 0 && res.data) {
-        // this.tableData = res.data.list;
-        // console.log(this.tableData);
-        // this.pageInfo.total = Number(res.data.count);
-        // this.reason_options =
-        res.data.list.forEach((element) => {
+        const { list } = res.data;
+        list.forEach((element) => {
           let obj = {
             value: element.result_code,
             label: element.result,
@@ -201,7 +196,6 @@ export default {
           };
           this.reason_options.push(obj);
         });
-        console.log(this.reason_options);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {
@@ -249,9 +243,7 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          console.log(this.sitem);
           this.outCode = this.sitem.orderCode;
-          console.log(this.outCode);
           const { info, addrs } = this.sitem;
           info.forEach((ele) => {
             this.noSendNum += ele.wsend_num;
@@ -263,7 +255,6 @@ export default {
           });
           this.tableForm.product_go = [].concat(...list);
 
-          console.log(list);
           addrs.forEach((ele) => {
             this.noSendNumbers += ele.wsend_num;
           });
@@ -273,7 +264,6 @@ export default {
             return ele;
           });
           this.tableForm.get_product_go = [].concat(...l_list);
-          console.log(l_list);
           this.ruleForm = {
             return_remark: "", //退货备注
             return_num: "", //退货数量
@@ -315,7 +305,6 @@ export default {
             list,
             addr,
           };
-          console.log(_model);
           if (model.return_num > this.noSendNum) {
             this.$message.warning("退货数量不能大于未发货数量");
             return;
@@ -353,8 +342,6 @@ export default {
     checkRow(rowIndex, name) {
       if (name == "return") {
         const model = JSON.parse(JSON.stringify(this.ruleForm));
-        console.log(model.return_num);
-        console.log(this.noSendNum);
         if (Number(model.return_num) > Number(this.noSendNum)) {
           this.$message.warning("退货数量不能大于未发货数量");
           return;
@@ -368,8 +355,6 @@ export default {
         }
       } else if (name == "get") {
         const model = JSON.parse(JSON.stringify(this.ruleForm));
-        console.log(model);
-        console.log(this.noSendNum);
         if (Number(model.get_return_num) > Number(this.noSendNum)) {
           this.$message.warning("退货数量不能大于未发货数量");
           return;
@@ -385,33 +370,26 @@ export default {
     },
     //编辑某一行
     editRow(rowIndex, name) {
-      // console.log(this.tableForm.product_go[rowIndex].edit);
-      // console.log(rowIndex);
-      // console.log(this.tableForm.product_go);
       if (name == "return") {
         let index = this.tableForm.product_go.findIndex((v) => {
           v.edit;
         });
-        console.log(index);
         if (index !== -1) {
           this.$message.warning("请完成其他行的编辑!");
           return;
         } else {
           this.tableForm.product_go[rowIndex].edit = true;
         }
-        console.log(this.tableForm.product_go[rowIndex].edit);
       } else if (name == "get") {
         let index = this.tableForm.product_go.findIndex((v) => {
           v.edit;
         });
-        console.log(index);
         if (index !== -1) {
           this.$message.warning("请完成其他行的编辑!");
           return;
         } else {
           this.tableForm.get_product_go[rowIndex].edit = true;
         }
-        console.log(this.tableForm.get_product_go[rowIndex].edit);
       }
     },
     resetRow(rowIndex) {
@@ -419,11 +397,9 @@ export default {
       this.tableForm.product_go[rowIndex].check_value = "agree";
     },
     handClick(e) {
-      console.log(e);
       this.showModelThis = e;
     },
     refresh(e) {
-      console.log(e);
       this.showModelThis = e;
       this.$emit("refresh", true);
     },

+ 1 - 21
src/views/sellOut/salesOrder/addEditForm.vue

@@ -587,10 +587,8 @@ export default {
           callback(new Error("真实姓名规则为2~12位汉字!"));
         } else {
           if (!isChinese(value)) {
-            console.log(9999);
             callback(new Error("真实姓名规则为2~12位汉字!"));
           } else if (isEmoticon(value)) {
-            console.log(2345);
             callback(new Error("真实姓名规则为2~12位汉字!"));
           } else {
             callback();
@@ -674,14 +672,10 @@ export default {
     };
   },
   mounted() {
-    // console.log(this.sitem);
     this.initForm();
-
-    // this.getReason();
   },
   watch: {
     showModel: function (val) {
-      console.log(val);
       this.showModelThis = val;
       if (val) {
         this.initForm();
@@ -727,7 +721,6 @@ export default {
           };
           this.reason_options.push(obj);
         });
-        // console.log(this.reason_options);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {
@@ -738,8 +731,6 @@ export default {
     },
     async initForm() {
       this.loading = true;
-      // console.log("1212121");
-      // await this.getRole();
       if (this.id === "add") {
         this.title = "添加销售退货单";
         this.rulesThis = this.rules;
@@ -755,14 +746,12 @@ export default {
         // await this.getReason();
         await this.initData();
       }
-      //   await this.resetForm();
-      console.log(this.sitem);
+    
       this.getReason(); //获取退还货原因
 
       this.loading = false;
     },
     async initData() {
-      console.log(this.sitem);
       let model = JSON.parse(JSON.stringify(this.sitem));
       this.ruleForm = {
         get_return_num: model.addrinfo,
@@ -781,7 +770,6 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          console.log(this.sitem);
           this.orderCode = this.sitem.orderCode;
           const { info, addrs } = this.sitem;
           info.forEach((ele) => {
@@ -794,7 +782,6 @@ export default {
           });
           this.tableForm.product_go = [].concat(...list);
 
-          // console.log(list);
           addrs.forEach((ele) => {
             this.noSendNumbers += ele.wsend_num;
           });
@@ -818,7 +805,6 @@ export default {
         if (valid) {
           this.loading = true;
           const model = JSON.parse(JSON.stringify(this.ruleForm));
-          console.log(model);
           let arr = JSON.parse(JSON.stringify(this.tableForm.product_go));
           //收货信息列表入参
           let list = [];
@@ -893,8 +879,6 @@ export default {
         }
       } else if (name == "get") {
         const model = JSON.parse(JSON.stringify(this.ruleForm));
-        console.log(model);
-        console.log(this.noSendNum);
         if (Number(model.get_return_num) > Number(this.noSendNum)) {
           this.$message.warning("退货数量不能大于未发货数量");
           return;
@@ -914,26 +898,22 @@ export default {
         let index = this.tableForm.product_go.findIndex((v) => {
           v.edit;
         });
-        console.log(index);
         if (index !== -1) {
           this.$message.warning("请完成其他行的编辑!");
           return;
         } else {
           this.tableForm.product_go[rowIndex].edit = true;
         }
-        console.log(this.tableForm.product_go[rowIndex].edit);
       } else if (name == "get") {
         let index = this.tableForm.product_go.findIndex((v) => {
           v.edit;
         });
-        console.log(index);
         if (index !== -1) {
           this.$message.warning("请完成其他行的编辑!");
           return;
         } else {
           this.tableForm.get_product_go[rowIndex].edit = true;
         }
-        console.log(this.tableForm.get_product_go[rowIndex].edit);
       }
     },
     resetRow(rowIndex) {

+ 0 - 1
src/views/sellOut/salesOrder/components/addEdit.vue

@@ -569,7 +569,6 @@ export default {
       this.showGoodsModel = true;
     },
     addrRefresh(e) {
-      console.log(e);
       const { list } = e;
       this.addrForm.order_addr.push(...list);
     },

+ 0 - 2
src/views/sellOut/salesOrder/components/addForm.vue

@@ -510,7 +510,6 @@ export default {
     };
   },
   mounted() {
-    console.log(this.id);
     this.initForm();
   },
   methods: {
@@ -765,7 +764,6 @@ export default {
       await this.$refs.ruleForm.validate(async (valid) => {
         if (valid) {
           this.loading = true;
-          console.log(this.ruleForm);
           const { good_code, customer_code, supplierNo } = JSON.parse(
             JSON.stringify(this.ruleForm)
           );

+ 0 - 8
src/views/sellOut/salesOrder/components/order-out-table.vue

@@ -246,7 +246,6 @@ export default {
       this.modelShowModel = false;
     },
     async initForm() {
-      // console.log("12");
       this.status = "";
       this.queryId = this.$route.query.id;
       // this.rulesThis = this.rules;
@@ -258,13 +257,8 @@ export default {
     async resetForm() {
       // 重置
       await this.$nextTick(() => {
-        // console.log(this.$refs.addrForm);
-        // if (this.$refs.addrForm) {
-        //   this.$refs.addrForm.resetFields();
-        //   this.$refs.addrForm.clearValidate();
         const { bum } = this.sitem;
         this.tableData = bum;
-        // }
       });
     },
 
@@ -294,7 +288,6 @@ export default {
     },
 
     openHouseModal() {
-      console.log(this.modelId);
       this.modelId = "add";
       this.modelItem = this.sitem;
       this.modelShowModel = true;
@@ -353,7 +346,6 @@ export default {
       });
     },
     openModal(code, sitem, outcode) {
-      console.log(sitem);
       this.s_sitem = sitem;
       this.modelId = code;
       this.showModel = true;

+ 0 - 7
src/views/sellOut/salesOrder/components/out-order-add-model.vue

@@ -248,9 +248,6 @@ export default {
         this.list1 = e;
         this.ruleForm.addrid = e && e.length > 0 ? e[0].id : "";
       }
-      console.log(type);
-      console.log(this.ruleForm.wsm_code, this.ruleForm.addrid);
-      console.log(this.ruleForm);
     },
     async initForm() {
       this.loading = true;
@@ -287,7 +284,6 @@ export default {
       await this.$refs.ruleForm.validate(async (valid) => {
         if (valid) {
           const item = JSON.parse(JSON.stringify(this.ruleForm));
-          console.log(this.ruleForm);
           if (this.list0.length === 0) {
             this.$message.warning("请选择发货仓库!");
             return;
@@ -329,7 +325,6 @@ export default {
           } else if (res && res.code >= 100 && res.code <= 104) {
             await this.logout();
           } else {
-            console.log(res.message);
             this.$message.warning(res.message);
           }
         } else {
@@ -342,9 +337,7 @@ export default {
       console.log(e);
       if (e && e.code) {
         this.ruleForm.post_name = [e.shortName];
-        this.ruleForm.page = 1;
       }
-      console.log(this.ruleForm);
       this.$refs.ruleForm.validateField("post_name");
     },
   },

+ 0 - 6
src/views/sellOut/salesOrder/detail.vue

@@ -156,9 +156,6 @@ export default {
       }
     },
   },
-  mounted() {
-    console.log(this.$route);
-  },
   data() {
     return {
       finishStatus: "finish",
@@ -205,8 +202,6 @@ export default {
     },
     getNewTime() {
       this.newTime = new Date().valueOf() + "";
-      console.log(this.orderCode);
-      console.log(this.newTime);
     },
 
     async deleteById(message) {
@@ -272,7 +267,6 @@ export default {
       } else {
         this.showModell = true;
       }
-      console.log(id, isDetail, sitem);
 
       this.modelId = id;
       this.isDetail = isDetail;

+ 0 - 3
src/views/sellOut/salesOrder/index.vue

@@ -309,7 +309,6 @@ export default {
         this.parmValue.stockNo = [];
       }
 
-      console.log(e);
       this.parmValue.page = 1;
       this.pageInfo.curr = 1;
       await this.searchList();
@@ -326,7 +325,6 @@ export default {
       this.parmValue.apply_name =
         this.select === "apply_name" ? this.input : ""; // 采购供应商编号
       this.parmValue.order_type = "1"; //订单类型1为销售订单 2为咨询订单
-      console.log(this.parmValue);
       const res = await asyncRequest.list(this.parmValue);
       if (res && res.code === 0 && res.data) {
         this.tableData = res.data.list;
@@ -338,7 +336,6 @@ export default {
             });
           }
         });
-        console.log(this.tableData);
         this.pageInfo.total = Number(res.data.count);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();

+ 0 - 3
src/views/sellOut/sellAfterApply/components/addEdit.vue

@@ -63,7 +63,6 @@ export default {
     },
     async initForm() {
       this.loading = true;
-      console.log(this.id);
 
       if (this.id === "add") {
         this.title = "新建售后申请";
@@ -78,11 +77,9 @@ export default {
       this.loading = false;
     },
     handClick(e) {
-      console.log(e);
       this.showModelThis = e;
     },
     refresh(e) {
-      console.log(e);
       this.showModelThis = e;
       this.$emit("refresh", true);
     },

+ 0 - 1
src/views/sellOut/sellAfterApply/components/addEditForm.vue

@@ -439,7 +439,6 @@ export default {
     },
     // 异常原因
     handleAnomalousReason(e) {
-      console.log(e);
       if (e) {
         this.ruleForm.error_code = e;
       } else {

+ 0 - 5
src/views/sellOut/sellAfterApply/components/returnExpress.vue

@@ -231,11 +231,9 @@ export default {
     async submitForm() {
       await this.$refs.ruleForm.validate(async (valid) => {
         if (valid) {
-          console.log(this.ruleForm);
           let model = JSON.parse(JSON.stringify(this.ruleForm));
           model.returnCode = this.code;
           delete model["express_company"];
-          // console.log(model);
           const res = await asyncRequest.afterPost(model); //售后快递录入
           this.loading = false;
           if (res && res.code === 0) {
@@ -260,12 +258,9 @@ export default {
       if (e && e.code) {
         this.ruleForm.company = e.shortName;
         this.ruleForm.express_company = [e.code];
-        // this.ruleForm.page = 1;
       }
-      console.log(this.ruleForm.express_company);
     },
     handleChange(e) {
-      console.log(e);
       if (e && e == "2") {
         this.isShow = true;
       } else {

+ 0 - 3
src/views/sellOut/sellAfterApply/serviceDetail.vue

@@ -154,7 +154,6 @@ export default {
           if (status === "-1") {
             await this.deleteById(message);
           } else {
-            console.log(status, message, remark);
             await this.setstatus(status, message, remark);
           }
         })
@@ -168,7 +167,6 @@ export default {
       if (!this.loading) {
         let type = e.state === "1" ? "2" : "0";
         let message = e.state === "1" ? "提交业务审核" : "驳回业务";
-        console.log(type);
         await this.statusConfirm(type, message, e.remark);
       }
     },
@@ -200,7 +198,6 @@ export default {
       const res = await asyncRequest.detail(model);
       if (res && res.code === 0 && res.data) {
         this.s_status = res.data.status;
-        console.log(this.s_status);
         this.sitem = res.data;
         this.orderCode = res.data.returnCode;
         this.getNewTime();

+ 0 - 3
src/views/sellOut/sellOutOrder/components/addEdit.vue

@@ -59,8 +59,6 @@ export default {
     },
     async initForm() {
       this.loading = true;
-      console.log(this.id);
-
       if (this.id === "add") {
         this.title = "新建售后申请";
         this.rulesThis = this.rules;
@@ -74,7 +72,6 @@ export default {
       this.loading = false;
     },
     handClick(e) {
-      console.log(e);
       this.showModelThis = e;
     },
     refresh(e) {

+ 0 - 2
src/views/sellOut/sellOutOrder/components/addEditA.vue

@@ -63,8 +63,6 @@ export default {
     },
     async initForm() {
       this.loading = true;
-      console.log(this.id);
-
       if (this.id === "add") {
         this.title = "新建售后申请";
         this.rulesThis = this.rules;

+ 0 - 1
src/views/sellOut/sellOutOrder/components/addEditFormA.vue

@@ -356,7 +356,6 @@ export default {
             img: model.anomalous_images.toString(),
           };
 
-          console.log(_model);
           const res = await asyncRequest.add(_model);
 
           if (res && res.code === 0) {

+ 0 - 3
src/views/sellOut/sellOutOrder/components/addEdit_sellForm.vue

@@ -293,7 +293,6 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          console.log(this.sitem);
           let {
             error_num,
             error_img,
@@ -319,7 +318,6 @@ export default {
       await this.$refs.ruleForm.validate(async (valid) => {
         if (valid) {
           const { error_num } = this.ruleForm;
-          console.log(this.ruleForm);
           if (Number(this.sitem.send_num) < Number(error_num)) {
             this.$message.warning("异常数量不能大于发货数量");
             return false;
@@ -422,7 +420,6 @@ export default {
     },
     // 异常原因
     handleAnomalousReason(e) {
-      console.log(e);
       if (e) {
         this.ruleForm.error_code = e;
       } else {

+ 0 - 2
src/views/sellOut/sellOutOrder/components/addEdit_sellReturnOrder.vue

@@ -59,8 +59,6 @@ export default {
     },
     async initForm() {
       this.loading = true;
-      console.log(this.id);
-
       if (this.id === "add") {
         this.title = "新建售后申请";
         this.rulesThis = this.rules;

+ 0 - 1
src/views/sellOut/sellOutOrder/components/express_feedback.vue

@@ -200,7 +200,6 @@ export default {
       await this.$refs.ruleForm.validate(async (valid) => {
         if (valid) {
           this.loading = true;
-          console.log(this.ruleForm);
           let model = {
             returnCode: this.returnCode,
             wsm_code: this.ruleForm.wsm_code,

+ 0 - 1
src/views/sellOut/sellOutOrder/components/logisticsForm.vue

@@ -155,7 +155,6 @@ export default {
 
     async initForm() {
       this.loading = true;
-      // console.log(this.sitem);
       await this.resetForm();
       this.loading = false;
     },

+ 0 - 2
src/views/sellOut/sellOutOrder/components/purchase_check.vue

@@ -350,9 +350,7 @@ export default {
     },
     //退货省市区
     selectAreaAddr_code(e) {
-      console.log(e);
       this.ruleForm.return_goods_addr = e;
-      console.log(this.ruleForm);
       this.$refs.ruleForm.validateField("return_goods_addr");
     },
   },

+ 0 - 5
src/views/sellOut/sellOutOrder/components/returnExpress.vue

@@ -271,7 +271,6 @@ export default {
     async submitForm() {
       await this.$refs.ruleForm.validate(async (valid) => {
         if (valid) {
-          console.log(this.ruleForm);
           let model = JSON.parse(JSON.stringify(this.ruleForm));
           let _model = {
             returnCode: this.code, //退货单号
@@ -288,7 +287,6 @@ export default {
               title: res.message,
               message: "",
             });
-            console.log("抛出事件");
             this.$emit("refresh");
           } else if (res && res.code >= 100 && res.code <= 104) {
             await this.logout();
@@ -302,16 +300,13 @@ export default {
       });
     },
     handleCompany(e) {
-      console.log(e);
       if (e && e.code) {
         this.ruleForm.post_company = e.shortName;
         this.ruleForm.express_company = [e.code];
         this.ruleForm.page = 1;
       }
-      console.log(this.ruleForm.express_company);
     },
     handleChange(e) {
-      console.log(e);
       if (e && e == "2") {
         this.isShow = true;
       } else {

+ 0 - 3
src/views/sellOut/sellOutOrder/detail.vue

@@ -125,12 +125,10 @@ export default {
   },
   mounted() {
     this.code = this.$route.query.id;
-    console.log(this.code);
     this.initData();
   },
   methods: {
     async updateStatus(e) {
-      console.log(e);
       await this.setstatus(e.status);
     },
     getNewTime() {
@@ -155,7 +153,6 @@ export default {
       }
     },
     async initData(e) {
-      console.log(e);
       let model = {
         outCode: this.code,
       };

+ 3 - 60
src/views/sellOut/sellReturnList/addEdit.vue

@@ -90,57 +90,14 @@
 import asyncRequest from "@/apis/service/sellOut/sellReturnList";
 import resToken from "@/mixins/resToken";
 import {
-  isnumber,
   isMobile,
-  validEmail,
-  isAlphanumeric,
-  isChinese,
-  isEmoticon,
-  validAlphabets,
 } from "@/utils/validate";
 export default {
   name: "sellReturnList",
   props: ["showModel", "id", "isDetail", "sitem"],
   mixins: [resToken],
   data() {
-    const validateusername = (rule, value, callback) => {
-      if (value === "") {
-        callback(new Error("账号不能为空!"));
-      } else {
-        if (value.length < 6 || value.length > 18) {
-          callback(new Error("账号规则为6~18位数字与字母组合!"));
-        } else {
-          if (isnumber(value)) {
-            callback(new Error("账号规则为6~18位数字与字母组合!"));
-          } else if (validAlphabets(value)) {
-            callback(new Error("账号规则为6~18位数字与字母组合!"));
-          } else if (!isAlphanumeric(value)) {
-            callback(new Error("账号规则为6~18位数字与字母组合!"));
-          } else {
-            callback();
-          }
-        }
-      }
-    };
-    const validatename = (rule, value, callback) => {
-      if (value === "") {
-        callback(new Error("真实姓名不能为空!"));
-      } else {
-        if (value.length < 2 || value.length > 12) {
-          callback(new Error("真实姓名规则为2~12位汉字!"));
-        } else {
-          if (!isChinese(value)) {
-            console.log(9999);
-            callback(new Error("真实姓名规则为2~12位汉字!"));
-          } else if (isEmoticon(value)) {
-            console.log(2345);
-            callback(new Error("真实姓名规则为2~12位汉字!"));
-          } else {
-            callback();
-          }
-        }
-      }
-    };
+
     const validatemobile = (rule, value, callback) => {
       if (value === "") {
         callback(new Error("手机号不能为空!"));
@@ -153,17 +110,7 @@ export default {
       }
     };
 
-    const validateEmail = (rule, value, callback) => {
-      if (value === "") {
-        callback();
-      } else {
-        if (!validEmail(value)) {
-          callback(new Error("邮箱格式不正确!"));
-        } else {
-          callback();
-        }
-      }
-    };
+ 
     return {
       reason_options: [], //退换货原因备选项
       loading: false,
@@ -233,10 +180,7 @@ export default {
       };
       const res = await asyncRequest.getReason(model);
       if (res && res.code === 0 && res.data) {
-        // this.tableData = res.data.list;
-        // console.log(this.tableData);
-        // this.pageInfo.total = Number(res.data.count);
-        // this.reason_options =
+        
         res.data.list.forEach((element) => {
           let obj = {
             value: element.result_code,
@@ -245,7 +189,6 @@ export default {
           };
           this.reason_options.push(obj);
         });
-        console.log(this.reason_options);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {

+ 0 - 4
src/views/sellOut/sellReturnList/components/returnCheck copy.vue

@@ -299,7 +299,6 @@ export default {
       this.loading = false;
     },
     async initData() {
-      console.log(this.sitem);
       if (this.sitem) {
         let { returnCode } = this.sitem;
         let model = {
@@ -309,7 +308,6 @@ export default {
         if (res && res.code === 0 && res.data) {
           let { error_num, error_img, error_remark, except_code, error_code } =
             res.data;
-          console.log(res.data);
           this.ruleForm = {
             stock_out_numbers: "", //出库单编号
             anomalous_numbers: error_num, //异常数量
@@ -374,7 +372,6 @@ export default {
             img: model.anomalous_images.toString(),
           };
 
-          console.log(_model);
           const res = await asyncRequest.add(_model);
 
           if (res && res.code === 0) {
@@ -478,7 +475,6 @@ export default {
     },
     // 异常原因
     handleAnomalousReason(e) {
-      console.log(e);
       if (e) {
         this.ruleForm.anomalous_reason = e;
       } else {

+ 0 - 3
src/views/sellOut/sellReturnList/components/returnCheck.vue

@@ -245,7 +245,6 @@ export default {
       this.loading = false;
     },
     async initData() {
-      console.log(this.sitem);
       if (this.sitem) {
         let { returnCode } = this.sitem;
         let model = {
@@ -255,7 +254,6 @@ export default {
         if (res && res.code === 0 && res.data) {
           let { error_num, error_img, error_remark, except_code, error_code } =
             res.data;
-          console.log(res.data);
           this.ruleForm = {
             stock_out_numbers: "", //出库单编号
             anomalous_numbers: error_num, //异常数量
@@ -320,7 +318,6 @@ export default {
             img: model.anomalous_images.toString(),
           };
 
-          console.log(_model);
           const res = await asyncRequest.add(_model);
 
           if (res && res.code === 0) {

+ 0 - 7
src/views/sellOut/sellReturnList/detail.vue

@@ -197,7 +197,6 @@ export default {
           if (status === "-1") {
             await this.delete(message);
           } else {
-            console.log(status, message, remark);
             await this.setstatus(status, message, remark);
           }
         })
@@ -210,24 +209,19 @@ export default {
     },
     // 点击业务审核的保存按钮
     async examForm(e) {
-      console.log(e);
       if (!this.loading) {
         let type = e.state === "1" ? "2" : "0";
         let message = e.state === "1" ? "提交业务审核" : "驳回业务";
-        console.log(type);
         await this.statusConfirm(type, message, e.remark);
       }
     },
     //
     async setstatus(type, message, remark = "") {
-      console.log(type);
-      console.log(remark);
       let _model = {
         returnCode: this.qid,
         status: type,
         remark: remark,
       };
-      console.log(_model);
       let res = await asyncRequest.status(_model);
       if (res && res.code === 0) {
         this.$notify.success({
@@ -246,7 +240,6 @@ export default {
       if (res && res.code === 0 && res.data) {
         this.status = res.data.status;
         this.s_sitem = res.data;
-        console.log(res.data);
         this.orderCode = res.data.returnCode;
         this.getNewTime();
       } else if (res && res.code >= 100 && res.code <= 104) {

+ 0 - 5
src/views/sellOut/sellReturnList/index.vue

@@ -355,9 +355,7 @@ export default {
     },
     async searchList() {
       this.loading = true;
-      console.log(this.parmValue);
       let model = JSON.parse(JSON.stringify(this.parmValue));
-      console.log(model);
 
       const res = await asyncRequest.list(model);
       if (res && res.code === 0 && res.data) {
@@ -410,12 +408,9 @@ export default {
         this.parmValue.postCompany = [e.shortName];
         this.parmValue.page = 1;
       }
-      console.log(this.parmValue.postCompany);
       await this.searchList();
     },
     async handleValue() {
-      console.log(this.select);
-      console.log(this.s_input);
       this.parmValue.returnCode =
         this.select === "returnCode" ? this.s_input : "";
       this.parmValue.orderCode =

+ 0 - 1
src/views/serviceParam/customer/addEdit.vue

@@ -107,7 +107,6 @@ export default {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
           this.ruleForm = this.sitem;
-          console.log(this.ruleForm);
         }
       });
     },

+ 255 - 257
src/views/serviceParam/expressSet/addEdit.vue

@@ -61,217 +61,217 @@
             </el-form-item>
           </el-form>
         </el-col>
-        <el-col :span="24" style="text-align: right;">
+        <el-col :span="24" style="text-align: right">
           <el-button type="primary" @click="submitForm" v-if="!isDetail"
             >保 存
           </el-button>
-          <el-button @click="showModelThis = false">{{ isDetail ? "关 闭" : "取 消" }}</el-button>
+          <el-button @click="showModelThis = false">{{
+            isDetail ? "关 闭" : "取 消"
+          }}</el-button>
         </el-col>
       </el-row>
     </el-card>
   </el-dialog>
-   </template>
+</template>
    <script>
-   import asyncRequest from "@/apis/service/serviceParam/expressSet";
-   import resToken from "@/mixins/resToken";
-   import {
-    isnumber,
-    isMobile,
-    validEmail,
-    isAlphanumeric,
-    isChinese,
-    isEmoticon,
-    validAlphabets,
-  } from "@/utils/validate";
-   export default {
-    name: 'expressSet',
-    props: ["showModel", "id", "isDetail","sitem"],
-    mixins: [resToken],
-    data() {
-      const validateusername = (rule, value, callback) => {
-        if (value === "") {
-          callback(new Error("账号不能为空!"));
+import asyncRequest from "@/apis/service/serviceParam/expressSet";
+import resToken from "@/mixins/resToken";
+import {
+  isnumber,
+  isMobile,
+  validEmail,
+  isAlphanumeric,
+  isChinese,
+  isEmoticon,
+  validAlphabets,
+} from "@/utils/validate";
+export default {
+  name: "expressSet",
+  props: ["showModel", "id", "isDetail", "sitem"],
+  mixins: [resToken],
+  data() {
+    const validateusername = (rule, value, callback) => {
+      if (value === "") {
+        callback(new Error("账号不能为空!"));
+      } else {
+        if (value.length < 6 || value.length > 18) {
+          callback(new Error("账号规则为6~18位数字与字母组合!"));
         } else {
-          if (value.length < 6 || value.length > 18) {
+          if (isnumber(value)) {
+            callback(new Error("账号规则为6~18位数字与字母组合!"));
+          } else if (validAlphabets(value)) {
+            callback(new Error("账号规则为6~18位数字与字母组合!"));
+          } else if (!isAlphanumeric(value)) {
             callback(new Error("账号规则为6~18位数字与字母组合!"));
           } else {
-            if (isnumber(value)) {
-              callback(new Error("账号规则为6~18位数字与字母组合!"));
-            } else if (validAlphabets(value)) {
-              callback(new Error("账号规则为6~18位数字与字母组合!"));
-            } else if (!isAlphanumeric(value)) {
-              callback(new Error("账号规则为6~18位数字与字母组合!"));
-            } else {
-              callback();
-            }
+            callback();
           }
         }
-      };
-      const validatename = (rule, value, callback) => {
-        if (value === "") {
-          callback(new Error("真实姓名不能为空!"));
+      }
+    };
+    const validatename = (rule, value, callback) => {
+      if (value === "") {
+        callback(new Error("真实姓名不能为空!"));
+      } else {
+        if (value.length < 2 || value.length > 12) {
+          callback(new Error("真实姓名规则为2~12位汉字!"));
         } else {
-          if (value.length < 2 || value.length > 12) {
+          if (!isChinese(value)) {
+            callback(new Error("真实姓名规则为2~12位汉字!"));
+          } else if (isEmoticon(value)) {
             callback(new Error("真实姓名规则为2~12位汉字!"));
-          } else {
-            if (!isChinese(value)) {
-              console.log(9999);
-              callback(new Error("真实姓名规则为2~12位汉字!"));
-            } else if (isEmoticon(value)) {
-              console.log(2345);
-              callback(new Error("真实姓名规则为2~12位汉字!"));
-            } else {
-              callback();
-            }
-          }
-        }
-      };
-      const validatemobile = (rule, value, callback) => {
-        if (value === "") {
-          callback(new Error("手机号不能为空!"));
-        } else {
-          if (!isMobile(value)) {
-            callback(new Error("手机号格式不正确!"));
           } else {
             callback();
           }
         }
-      };
-  
-      const validateEmail = (rule, value, callback) => {
-        if (value === "") {
-          callback();
+      }
+    };
+    const validatemobile = (rule, value, callback) => {
+      if (value === "") {
+        callback(new Error("手机号不能为空!"));
+      } else {
+        if (!isMobile(value)) {
+          callback(new Error("手机号格式不正确!"));
         } else {
-          if (!validEmail(value)) {
-            callback(new Error("邮箱格式不正确!"));
-          } else {
-            callback();
-          }
-        }
-      };
-      return {
-        loading: false,
-        title: "添加账号",
-        showModelThis: this.showModel,
-        ruleForm: {
-          username: "", // 账号
-          name: "", // 真实姓名
-          mobile: "",
-          email: "",
-          role_id: "",
-          status: "1",
-          item: [],
-        },
-        rulesThis: this.rules,
-        rules: {
-          name: [
-            {
-              required: true,
-              validator: validatename,
-              trigger: "blur",
-            },
-          ],
-          username: [
-            {
-              required: true,
-              validator: validateusername,
-              trigger: "blur",
-            },
-          ],
-          mobile: [
-            {
-              required: true,
-              validator: validatemobile,
-              trigger: "blur",
-            },
-          ],
-          email: [
-            {
-              required: false,
-              validator: validateEmail,
-              trigger: "blur",
-            },
-          ],
-          role_id: [
-            {
-              required: true,
-              message: "请选择角色",
-              trigger: "change",
-            },
-          ],
-          item: [
-            {
-              type: "array",
-              required: true,
-              message: "请选择所在部门",
-              trigger: "change",
-            },
-          ],
-          status: [
-            {
-              required: true,
-              message: "请选择状态",
-              trigger: "change",
-            },
-          ],
+          callback();
         }
-      };
-    },
-    watch: {
-      showModel: function(val) {
-        this.showModelThis = val;
-        if (val) {
-          this.initForm();
+      }
+    };
+
+    const validateEmail = (rule, value, callback) => {
+      if (value === "") {
+        callback();
+      } else {
+        if (!validEmail(value)) {
+          callback(new Error("邮箱格式不正确!"));
+        } else {
+          callback();
         }
+      }
+    };
+    return {
+      loading: false,
+      title: "添加账号",
+      showModelThis: this.showModel,
+      ruleForm: {
+        username: "", // 账号
+        name: "", // 真实姓名
+        mobile: "",
+        email: "",
+        role_id: "",
+        status: "1",
+        item: [],
       },
-      showModelThis(val) {
-        if (!val) {
-          this.$emit("cancel");
-        }
+      rulesThis: this.rules,
+      rules: {
+        name: [
+          {
+            required: true,
+            validator: validatename,
+            trigger: "blur",
+          },
+        ],
+        username: [
+          {
+            required: true,
+            validator: validateusername,
+            trigger: "blur",
+          },
+        ],
+        mobile: [
+          {
+            required: true,
+            validator: validatemobile,
+            trigger: "blur",
+          },
+        ],
+        email: [
+          {
+            required: false,
+            validator: validateEmail,
+            trigger: "blur",
+          },
+        ],
+        role_id: [
+          {
+            required: true,
+            message: "请选择角色",
+            trigger: "change",
+          },
+        ],
+        item: [
+          {
+            type: "array",
+            required: true,
+            message: "请选择所在部门",
+            trigger: "change",
+          },
+        ],
+        status: [
+          {
+            required: true,
+            message: "请选择状态",
+            trigger: "change",
+          },
+        ],
+      },
+    };
+  },
+  watch: {
+    showModel: function (val) {
+      this.showModelThis = val;
+      if (val) {
+        this.initForm();
       }
     },
-    methods: {
-      closeModel() {
-        console.log("closeModel!!");
-      },
-      async initForm() {
-        this.loading = true;
-        // await this.getRole();
-        if (this.id === "add") {
-          this.title = "添加账号";
-          this.rulesThis = this.rules;
-          await this.resetForm();
+    showModelThis(val) {
+      if (!val) {
+        this.$emit("cancel");
+      }
+    },
+  },
+  methods: {
+    closeModel() {
+      console.log("closeModel!!");
+    },
+    async initForm() {
+      this.loading = true;
+      // await this.getRole();
+      if (this.id === "add") {
+        this.title = "添加账号";
+        this.rulesThis = this.rules;
+        await this.resetForm();
+      } else {
+        if (this.isDetail) {
+          this.title = "账号详情";
+          this.rulesThis = {};
         } else {
-          if (this.isDetail) {
-            this.title = "账号详情";
-            this.rulesThis = {};
-          } else {
-            this.title = "修改账号";
-            this.rulesThis = this.rules;
-          }
-          await this.resetForm(this.sitem);
-          // await this.initData()
+          this.title = "修改账号";
+          this.rulesThis = this.rules;
         }
-        this.loading = false;
-      },
-      // async getRole() {
-      //   const model = {
-      //     status: "", // 状态
-      //     level: "", // 姓名
-      //     role_name: "",
-      //   };
-      //   const res = await asyncRequest.getRole(model);
-      //   if (res && res.code === 0 && res.data) {
-      //     this.roleList = res.data;
-      //     this.roleList.map((v1) => {
-      //       v1.id += "";
-      //       v1.status += "";
-      //       return v1;
-      //     });
-      //   }
-      // },
-      async initData() {
-        const res = await asyncRequest.detail({ id: this.id });
+        await this.resetForm(this.sitem);
+        // await this.initData()
+      }
+      this.loading = false;
+    },
+    // async getRole() {
+    //   const model = {
+    //     status: "", // 状态
+    //     level: "", // 姓名
+    //     role_name: "",
+    //   };
+    //   const res = await asyncRequest.getRole(model);
+    //   if (res && res.code === 0 && res.data) {
+    //     this.roleList = res.data;
+    //     this.roleList.map((v1) => {
+    //       v1.id += "";
+    //       v1.status += "";
+    //       return v1;
+    //     });
+    //   }
+    // },
+    async initData() {
+      const res = await asyncRequest.detail({ id: this.id });
       if (res && res.code === 0 && res.data) {
         this.ruleForm = res.data;
         this.ruleForm.role_id = this.ruleForm.role;
@@ -280,83 +280,81 @@
       } else {
         this.$message.warning(res.message);
       }
-      },
-      async resetForm(sitem) {
-        // 重置
-        await this.$nextTick(() => {
-          if (this.$refs.ruleForm) {
-            this.$refs.ruleForm.resetFields();
-            this.$refs.ruleForm.clearValidate();
-            const { username, nickname, mobile, email, roleid, status, item } =
-              sitem;
-            this.ruleForm = {
-              username: username || "", // 账号
-              name: nickname || "", // 真实姓名
-              mobile: mobile || "",
-              email: email || "",
-              role_id: roleid || "",
-              status: status || "",
-              item: item || [],
-            };
-            if (this.id === "add" || this.isDetail) {
-              this.rules.username[0].required = false;
-            }
+    },
+    async resetForm(sitem) {
+      // 重置
+      await this.$nextTick(() => {
+        if (this.$refs.ruleForm) {
+          this.$refs.ruleForm.resetFields();
+          this.$refs.ruleForm.clearValidate();
+          const { username, nickname, mobile, email, roleid, status, item } =
+            sitem;
+          this.ruleForm = {
+            username: username || "", // 账号
+            name: nickname || "", // 真实姓名
+            mobile: mobile || "",
+            email: email || "",
+            role_id: roleid || "",
+            status: status || "",
+            item: item || [],
+          };
+          if (this.id === "add" || this.isDetail) {
+            this.rules.username[0].required = false;
           }
-        });
-      },
-    
-      async submitForm() {
-        await this.$refs.ruleForm.validate(async (valid) => {
-          if (valid) {
-            this.loading = true;
-            const { username, name, mobile, email, role_id, status } = JSON.parse(
-              JSON.stringify(this.ruleForm)
-            );
-            const model = {
-              id: this.id,
-              username: username || "", // 账号
-              nickname: name || "", // 真实姓名
-              mobile: mobile || "",
-              email: email || "",
-              role: role_id || "",
-              status: status || "",
-            };
-            let res = {};
-            if (this.id === "add") {
-              delete model["id"];
-              res = await asyncRequest.add(model);
-            } else {
-              res = await asyncRequest.update(model);
-            }
-            this.loading = false;
-            if (res && res.code === 0) {
-              const title = this.id === "add" ? "添加成功" : "修改成功";
-              this.$notify.success({
-                title,
-                message: "",
-              });
-              this.showModelThis = false;
-              // 刷新
-              this.$emit("refresh");
-            } else if (res && res.code >= 100 && res.code <= 104) {
-              await this.logout();
-            } else {
-              this.$message.warning(res.message);
-            }
+        }
+      });
+    },
+
+    async submitForm() {
+      await this.$refs.ruleForm.validate(async (valid) => {
+        if (valid) {
+          this.loading = true;
+          const { username, name, mobile, email, role_id, status } = JSON.parse(
+            JSON.stringify(this.ruleForm)
+          );
+          const model = {
+            id: this.id,
+            username: username || "", // 账号
+            nickname: name || "", // 真实姓名
+            mobile: mobile || "",
+            email: email || "",
+            role: role_id || "",
+            status: status || "",
+          };
+          let res = {};
+          if (this.id === "add") {
+            delete model["id"];
+            res = await asyncRequest.add(model);
           } else {
-            console.log("error submit!!");
-            return false;
+            res = await asyncRequest.update(model);
           }
-        });
-      },
+          this.loading = false;
+          if (res && res.code === 0) {
+            const title = this.id === "add" ? "添加成功" : "修改成功";
+            this.$notify.success({
+              title,
+              message: "",
+            });
+            this.showModelThis = false;
+            // 刷新
+            this.$emit("refresh");
+          } else if (res && res.code >= 100 && res.code <= 104) {
+            await this.logout();
+          } else {
+            this.$message.warning(res.message);
+          }
+        } else {
+          console.log("error submit!!");
+          return false;
+        }
+      });
     },
- 
-  };
-  </script>
+  },
+};
+</script>
 
    <style lang="scss" scoped>
-   .expressSet {
-    
-   }
-   </style>
+.expressSet {
+}
+</style>
    

+ 0 - 2
src/views/serviceParam/expressSet/index.vue

@@ -316,7 +316,6 @@ export default {
     },
     async searchList() {
       this.loading = true;
-      console.log(this.parmValue);
       const res = await asyncRequest.list(this.parmValue);
       if (res && res.code === 0 && res.data) {
         this.tableData = res.data.list;
@@ -336,7 +335,6 @@ export default {
     },
 
     async statusConfirm(id, status) {
-      console.log(id, status);
       let str = status === "1" ? "禁用" : "启用";
       await this.$confirm("确定要改为" + str + "?", {
         confirmButtonText: "确定",

+ 0 - 4
src/views/serviceParam/goodsAnomaly/addEdit.vue

@@ -138,7 +138,6 @@ export default {
       const res = await asyncRequest.detail({ id: this.id });
       if (res && res.code === 0 && res.data) {
         this.ruleForm = res.data;
-        console.log(this.ruleForm);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {
@@ -162,7 +161,6 @@ export default {
     // 提交功能
     async submitForm() {
       await this.$refs.ruleForm.validate(async (valid) => {
-        console.log(valid);
         if (valid) {
           this.loading = true;
           const { result, result_desc } = JSON.parse(
@@ -180,9 +178,7 @@ export default {
             res = await asyncRequest.add(model);
           } else {
             delete model["type"];
-            console.log("update");
             res = await asyncRequest.update(model);
-            console.log(res);
           }
           this.loading = false;
           if (res && res.code === 0) {

+ 0 - 1
src/views/serviceParam/goodsAnomaly/index.vue

@@ -304,7 +304,6 @@ export default {
       const res = await asyncRequest.list(this.parmValue);
       if (res && res.code === 0 && res.data) {
         this.tableData = res.data.list;
-        // console.log(this.tableData);
         this.pageInfo.total = Number(res.data.count);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();

+ 0 - 6
src/views/serviceParam/goodsBack/addEdit.vue

@@ -129,10 +129,7 @@ export default {
           this.title = "修改退换货原因";
           this.rulesThis = this.rules;
         }
-        // console.log("修改异常");
-        console.log(this.id);
         await this.resetForm();
-        // console.log(this.sitem);
         await this.initData();
       }
       this.loading = false;
@@ -142,7 +139,6 @@ export default {
       const res = await asyncRequest.detail({ id: this.id });
       if (res && res.code === 0 && res.data) {
         this.ruleForm = res.data;
-        console.log(this.ruleForm);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {
@@ -166,7 +162,6 @@ export default {
     // 提交功能
     async submitForm() {
       await this.$refs.ruleForm.validate(async (valid) => {
-        console.log(valid);
         if (valid) {
           this.loading = true;
           const { result, result_desc } = JSON.parse(
@@ -186,7 +181,6 @@ export default {
           } else {
             delete model["type"];
             res = await asyncRequest.update(model);
-            console.log(res);
           }
           this.loading = false;
           if (res && res.code === 0) {

+ 0 - 1
src/views/serviceParam/goodsBack/index.vue

@@ -298,7 +298,6 @@ export default {
       const res = await asyncRequest.list(this.parmValue);
       if (res && res.code === 0 && res.data) {
         this.tableData = res.data.list;
-        // console.log(this.tableData);
         this.pageInfo.total = Number(res.data.count);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();

+ 0 - 1
src/views/serviceParam/goodsClass/addEdit.vue

@@ -127,7 +127,6 @@ export default {
     },
 
     async resetForm() {
-      // console.log(this.className);
       this.ruleForm = {
         id: this.id,
         pid: this.pid,

+ 0 - 2
src/views/serviceParam/goodsClass/index copy.vue

@@ -207,7 +207,6 @@ export default {
         titleName: item.name,
       };
       this.titleList.push(model);
-      console.log(this.titleList);
       await this.searchList();
     },
     openModal(id, isDetail, sitem) {
@@ -374,7 +373,6 @@ export default {
       // { id: "1" }this.parmValue
       const res = await asyncRequest.list(this.parmValue);
       if (res && res.code === 0 && res.data) {
-        console.log(res.data);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {

+ 0 - 1
src/views/serviceParam/goodsClass/index.vue

@@ -309,7 +309,6 @@ export default {
       }
     },
     addEditFn(id, pid, level, isDetail, isAdd, formData) {
-      console.log(formData);
       this.goodsName = formData.name;
       this.showModel = true;
       this.modelId = id;

+ 0 - 3
src/views/serviceParam/purchaseInReturn/addEdit.vue

@@ -138,7 +138,6 @@ export default {
       const res = await asyncRequest.detail({ id: this.id });
       if (res && res.code === 0 && res.data) {
         this.ruleForm = res.data;
-        console.log(this.ruleForm);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {
@@ -180,9 +179,7 @@ export default {
             res = await asyncRequest.add(model);
           } else {
             delete model["type"];
-            console.log("update");
             res = await asyncRequest.update(model);
-            console.log(res);
           }
           this.loading = false;
           if (res && res.code === 0) {

+ 0 - 1
src/views/serviceParam/purchaseInReturn/index.vue

@@ -304,7 +304,6 @@ export default {
       const res = await asyncRequest.list(this.parmValue);
       if (res && res.code === 0 && res.data) {
         this.tableData = res.data.list;
-        // console.log(this.tableData);
         this.pageInfo.total = Number(res.data.count);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();

+ 0 - 1
src/views/serviceParam/sellReturn/addEdit.vue

@@ -138,7 +138,6 @@ export default {
       const res = await asyncRequest.detail({ id: this.id });
       if (res && res.code === 0 && res.data) {
         this.ruleForm = res.data;
-        console.log(this.ruleForm);
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {

+ 0 - 3
src/views/sheetOrder/zxAfterSaleOrder/components/return-record.vue

@@ -309,7 +309,6 @@ export default {
           const res = await asyncRequest.returnCheck(item);
           this.loading = false;
           if (res && res.code === 0) {
-            console.log("submit");
             this.$notify.success({
               title: res.message,
               message: "",
@@ -343,7 +342,6 @@ export default {
 
     // 删除行操作
     deleteRow(index, rows) {
-      console.log(rows[index]);
       if (this.id !== "add" && rows[index].id) {
         this.delList.push(rows[index]);
       }
@@ -355,7 +353,6 @@ export default {
         index === -1
           ? {}
           : JSON.parse(JSON.stringify(this.ruleForm.product_go[index]));
-      console.log(this.s_item);
       this.modelId = index;
       this.showModel = true;
     },

+ 0 - 7
src/views/sheetOrder/zxAfterSaleOrder/components/returnCheck.vue

@@ -226,7 +226,6 @@ export default {
           let { child, thNo, status } = this.sitem;
           this.status = status;
           this.thNo = thNo;
-          // console.log(child);
 
           child.map((ele) => {
             let obj = {
@@ -241,7 +240,6 @@ export default {
             };
             this.voList.push(obj);
           });
-          // console.log(this.voList);
           let list = JSON.parse(JSON.stringify(this.voList));
           list.forEach((v) => {
             v.edit = false;
@@ -262,10 +260,8 @@ export default {
         this.$message.warning("当前已有商品正在编辑!");
         return;
       }
-      console.log(this.tableForm);
       let arr = [];
       let model = JSON.parse(JSON.stringify(this.tableForm));
-      console.log(model.product_go);
       model.product_go.map((ele) => {
         let obj = {
           id: ele.id,
@@ -279,16 +275,13 @@ export default {
         errorlist: arr,
         status: "3", //1待验货2待验货审核3待业务审核4完成 this.status + 1
       };
-      console.log(_model);
       const res = await asyncRequest.check(_model);
       if (res && res.code === 0) {
-        console.log("submit");
         this.$notify.success({
           title: res.message,
           message: "",
         });
         this.$emit("refresh");
-        console.log("退货验收审核成功");
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       } else {

+ 0 - 2
src/views/sheetOrder/zxDiffOrder/components/addForm.vue

@@ -197,7 +197,6 @@ export default {
           this.$refs.ruleForm.clearValidate();
           const { is_act, customer_remark, id, remark, status } = this.sitem;
           this.status = status;
-          console.log(this.sitem);
           this.ruleForm = {
             id: id || "",
             status: "",
@@ -212,7 +211,6 @@ export default {
       });
     },
     addrRefresh(e) {
-      // console.log(e);
       const { list } = e;
       this.addrForm.addrlist.push(...list);
     },

Деякі файли не було показано, через те що забагато файлів було змінено