lilei 5 päivää sitten
vanhempi
commit
8cf710a53e

+ 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: {