diff --git a/src/api/distribution/distributionStockList.js b/src/api/distribution/distributionStockList.js index dd47c52c..7e48e288 100644 --- a/src/api/distribution/distributionStockList.js +++ b/src/api/distribution/distributionStockList.js @@ -131,7 +131,7 @@ export const update = (row) => { */ export const getInventoryList = (current, size, params) => { return request({ - url: '/api/logpm-distribution/distributionStockList/getLnventoryList', + url: '/api/logpm-distribution/distributionStockList/getInventoryList', method: 'get', params: { ...params, diff --git a/src/components/tablecmt/tablecmt.vue b/src/components/tablecmt/tablecmt.vue index ceff5233..ffb1c38b 100644 --- a/src/components/tablecmt/tablecmt.vue +++ b/src/components/tablecmt/tablecmt.vue @@ -157,21 +157,11 @@ @@ -347,6 +337,8 @@ function godowns(url) { let shownm = ref(false); function copyalls(column: TableColumnType) { + const _isReturn = column.type == 1 || column.type == 2 || column.type == 3; + if (!_isReturn) return; let text = ''; props.tableData.map((item, index) => { if (index < props.tableData.length - 1) { diff --git a/vite.config.js b/vite.config.js index 204695e7..2df1ebbf 100644 --- a/vite.config.js +++ b/vite.config.js @@ -22,8 +22,8 @@ export default ({ mode, command }) => { // cyz // target: 'http://192.168.10.75:8777', // tjj - // target: 'http://192.168.10.29:13000', - target: 'http://test.api.huitongys.com', + target: 'http://192.168.10.29:13000', + // target: 'http://test.api.huitongys.com', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), },