lilei 5 일 전
부모
커밋
8cf710a53e
3개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 1
      src/views/setting/dailyReportSettings/salesReturnRemove.vue
  2. 2 1
      src/views/setting/salesReturnRemove/list.vue
  3. 2 2
      vue.config.js

+ 2 - 1
src/views/setting/dailyReportSettings/salesReturnRemove.vue

@@ -54,7 +54,8 @@
           ref="table"
           :style="{ height: tableHeight+75+'px' }"
           size="small"
-          :rowKey="(record) => record.id"
+          :rowKey="(record) => record.no"
+          rowKeyName="no"
           :columns="columns"
           :data="loadData"
           :scroll="{ y: tableHeight }"

+ 2 - 1
src/views/setting/salesReturnRemove/list.vue

@@ -57,7 +57,8 @@
           ref="table"
           :style="{ height: tableHeight+75+'px' }"
           size="small"
-          :rowKey="(record) => record.id"
+          :rowKey="(record) => record.no"
+          rowKeyName="no"
           :columns="columns"
           :data="loadData"
           :scroll="{ y: tableHeight }"

+ 2 - 2
vue.config.js

@@ -107,9 +107,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.10/ocs-admin',
+        // target: 'http://192.168.2.10/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: {