diff --git a/package.json b/package.json index 9abca90..e9a928f 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "js-beautify": "1.13.0", "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", - "less": "^4.2.0", + "less": "^3.0.0", "less-loader": "5.0.0", "nprogress": "0.2.0", "quill": "1.3.7", diff --git a/src/api/report/materialReport.js b/src/api/report/materialReport.js new file mode 100644 index 0000000..e6cae96 --- /dev/null +++ b/src/api/report/materialReport.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 查询物料报表 +export function listMaterialReport(query) { + return request({ + url: '/report/productionReport/materialReportList', + method: 'get', + params: query + }) +} diff --git a/src/views/report/materialReport/index.vue b/src/views/report/materialReport/index.vue new file mode 100644 index 0000000..6f9daf1 --- /dev/null +++ b/src/views/report/materialReport/index.vue @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + 导出 + + + {{ this.customData }} + + + + + + + + + + + + + + + + + + + + + + diff --git a/vue.config.js b/vue.config.js index 2327a41..e1ec055 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,10 +35,10 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://10.41.11.243:6061`, + // target: `http://10.41.11.243:6061`, // target: `http://10.100.72.10:8080`, // target: `http://192.168.1.118:6061`, - // target: `http://localhost:6061`, + target: `http://localhost:6061`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''