diff --git a/src/api/model/cm.js b/src/api/model/cm.js new file mode 100644 index 00000000..bb3ed72a --- /dev/null +++ b/src/api/model/cm.js @@ -0,0 +1,48 @@ +import config from "@/config" +import http from "@/utils/request" +/*区域接口*/ +export default { + labelmat: { + list: { + name: "获取列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/cm/labelmat/`, + data + ); + } + }, + item: { + name: "获取详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/cm/labelmat/${id}/` + ); + } + }, + fromMb: { + name: "从仓库明细获取无聊标签", + req: async function(data){ + return await http.post( + `${config.API_URL}/cm/labelmat/get_from_mb/`, + data); + } + }, + fromMioitem: { + name: "从出入库明细获取无聊标签", + req: async function(data){ + return await http.post( + `${config.API_URL}/cm/labelmat/get_from_mioitem/`, + data); + } + }, + fromWm: { + name: "从车间库存明细获取无聊标签", + req: async function(data){ + return await http.post( + `${config.API_URL}/cm/labelmat/get_from_wm/`, + data); + } + }, + }, +} diff --git a/src/views/qm/first.vue b/src/views/qm/first.vue index 8332b5e6..5f92f98c 100644 --- a/src/views/qm/first.vue +++ b/src/views/qm/first.vue @@ -3,15 +3,16 @@
新增 - 导出 + 导出 + 打印
-
+ - + @@ -62,7 +63,7 @@ - + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
\ No newline at end of file diff --git a/src/views/qm/income.vue b/src/views/qm/income.vue index e9ceb77b..63ddfcfa 100644 --- a/src/views/qm/income.vue +++ b/src/views/qm/income.vue @@ -2,6 +2,8 @@
+ 导出 + 打印
@@ -9,7 +11,7 @@
- + @@ -44,9 +46,42 @@ + +
+ + + + + + + + + + + + + + + + + +
+ +
\ No newline at end of file diff --git a/src/views/qm/inm.vue b/src/views/qm/inm.vue index e1d72be0..da83859f 100644 --- a/src/views/qm/inm.vue +++ b/src/views/qm/inm.vue @@ -1,7 +1,15 @@