lilei 1 年之前
父节点
当前提交
e24d7395ab
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/views/salesManagement/salesQueryNew/edit.vue
  2. 2 2
      vue.config.js

+ 1 - 1
src/views/salesManagement/salesQueryNew/edit.vue

@@ -575,7 +575,7 @@ export default {
         return
       }
       // 如果没有活动产品,直接禁用无需弹框提示
-      if (table.countData && !table.countData.totalQty) {
+      if (!table.countData || table.countData && !table.countData.totalQty) {
         _this.disabledActiveOption = 'DELETE'
         _this.disabledActive(e, item)
         return

+ 2 - 2
vue.config.js

@@ -108,9 +108,9 @@ const vueConfig = {
     // If you want to turn on the proxy, please remosve the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.2.113:8660/ocs-admin',
+        // target: 'http://192.168.2.113:8660/ocs-admin',
         // target: 'https://t.ocs.360arrow.com/ocs-admin', //  练习
-        // target: 'https://p.ocs.360arrow.com/ocs-admin', //  预发布
+        target: 'https://p.ocs.360arrow.com/ocs-admin', //  预发布
         ws: false,
         changeOrigin: true,
         pathRewrite: {