lilei 3 éve
szülő
commit
4d49eedf2f

+ 0 - 2
src/views/productManagement/productInfo/offlineModal.vue

@@ -106,7 +106,6 @@ export default {
   },
   methods: {
     productCodeChange (val, row) {
-      console.log(val)
       row.commonProductList = []
       if (val.length > 0) {
         val.map(item => {
@@ -134,7 +133,6 @@ export default {
           const params = JSON.parse(JSON.stringify(_this.form))
           params.offlineProductList = _this.loadData
           console.log(params)
-          return
           _this.spinning = true
           productOffline(params).then(res => {
             if (res.status == 200) {

+ 2 - 2
vue.config.js

@@ -107,9 +107,9 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.16.102/ocs-admin',
+        // target: 'http://192.168.16.102/ocs-admin',
         // target: 'https://t.ocs.360arrow.com/ocs-admin', //  Á·Ï°
-        // target: 'http://p.ocs.360arrow.com/ocs-admin', //  Ô¤·¢²¼
+        target: 'http://p.ocs.360arrow.com/ocs-admin', //  Ô¤·¢²¼
         ws: false,
         changeOrigin: true,
         pathRewrite: {