소스 검색

销售政策修改

wangzhuo 2 년 전
부모
커밋
ac5ac60e63
2개의 변경된 파일9개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 1
      src/views/basicData/agreement/detailsPage.vue
  2. 4 3
      vue.config.js

+ 5 - 1
src/views/basicData/agreement/detailsPage.vue

@@ -362,7 +362,11 @@ export default {
     //   }
     //   }
     // },
     // },
     rowCell(row, index) {
     rowCell(row, index) {
-      this.$refs.crud.rowCell(row, index)
+      if (this.form.id){
+        this.$refs.crud.rowCell(row, index)
+      }else {
+        this.$message.error("请先保存基础资料")
+      }
     },
     },
     rowSave(form, done) {
     rowSave(form, done) {
       done()
       done()

+ 4 - 3
vue.config.js

@@ -30,11 +30,12 @@ module.exports = {
     port: 1024,
     port: 1024,
     proxy: {
     proxy: {
       '/api': {
       '/api': {
-        // 本地服务接口地址
+        //本地服务接口地址
         // target: 'http://192.168.3.64:1080',
         // target: 'http://192.168.3.64:1080',
-        target: 'http://192.168.0.105:1080',
+        // target: 'http://192.168.2.163:1080',
+        // target: 'http://192.168.0.106:1080',
         // 打包地址
         // 打包地址
-        // target: 'http://121.37.83.47:10004',//服务器ip
+        target: 'http://121.37.83.47:10004',//服务器ip
         // target: 'http://trade.tubaosoft.com:10004',//服务器域名
         // target: 'http://trade.tubaosoft.com:10004',//服务器域名
         ws: true,
         ws: true,
         pathRewrite: {
         pathRewrite: {