diff --git a/src/api/inventory/deviceMAOrder.js b/src/api/inventory/deviceMAOrder.js new file mode 100644 index 00000000..4a47ccac --- /dev/null +++ b/src/api/inventory/deviceMAOrder.js @@ -0,0 +1,100 @@ +import axios from "../../utils/axios"; + +export function getDeviceMAOrderList(params) { + return axios({ + url: "/device/MA/order/filterList", + method: "get", + params: params + }); +} + +export function addMAOrder(data) { + return axios({ + url: "/device/MA/order/addMAOrder", + method: "post", + data: data + }); +} + +export function updateDeviceMAOrder(data) { + return axios({ + url: "/device/MA/order/updateMAOrder", + method: "post", + data: data + }); +} + +export function deleteDeviceMAOrder(data) { + return axios({ + url: "/device/MA/order/deleteMAOrder", + method: "post", + data: data + }); +} + +export function getDeviceMAOrderDetailList(params) { + return axios({ + url: "/device/MA/order/detail/filterList", + method: "get", + params: params + }); +} + +export function addDeviceMAOrderDetail(data) { + return axios({ + url: "/device/MA/order/detail/addOrderDetail", + method: "post", + data: data + }); +} + +export function updateDeviceMAOrderDetail(data) { + return axios({ + url: "/device/MA/order/detail/updateOrderDetail", + method: "post", + data: data + }); +} + +export function deleteDeviceMAOrderDetail(data) { + return axios({ + url: "/device/MA/order/detail/deleteOrderDetail", + method: "post", + data: data + }); +} + +export function addDeviceMAOrder(data) { + return axios({ + url: "/device/MA/order/addDeviceMAOrder", + method: "post", + data: data + }); +} + + +export function verifyTemplateFile(data) { + return axios({ + url: "/device/MA/order/verifyTemplateFile", + method: "post", + data: data + }); +} + +export function printOrder(data) { + return axios({ + url: "/device/MA/order/pintOrder", + method: "post", + data: data, + headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}, + responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf + }); +} + +export function filterDetail(params) { + return axios({ + url: "/device/MA/order/detail/filterMAOrderDetail", + method: "get", + params: params + }); +} diff --git a/src/api/inventory/deviceReceiveOrder.js b/src/api/inventory/deviceReceiveOrder.js new file mode 100644 index 00000000..e11870df --- /dev/null +++ b/src/api/inventory/deviceReceiveOrder.js @@ -0,0 +1,91 @@ +import axios from "../../utils/axios"; + +export function getReceiveOrderList(params) { + return axios({ + url: "/device/receive/order/filterList", + method: "get", + params: params + }); +} + +export function addReceiveOrder(data) { + return axios({ + url: "/device/receive/order/addOrder", + method: "post", + data: data + }); +} + +export function updateReceiveOrder(data) { + return axios({ + url: "/device/receive/order/update", + method: "post", + data: data + }); +} + +export function submitAudit(data) { + return axios({ + url: "/device/receive/order/submitAudit", + method: "post", + data: data + }); +} + +export function updateReceiveOrderStatus(data) { + return axios({ + url: "/device/receive/order/updateStatus", + method: "post", + data: data + }); +} + +export function deleteReceiveOrder(data) { + return axios({ + url: "/device/receive/order/delete", + method: "post", + data: data + }); +} + +export function getReceiveOrderDetailList(params) { + return axios({ + url: "/device/receive/order/detail/filterList", + method: "get", + params: params + }); +} + +export function checkCode(params) { + return axios({ + url: "/device/receive/order/detail/checkCode", + method: "get", + params: params + }); +} + +export function addReceiveOrderDetail(data) { + return axios({ + url: "/device/receive/order/detail/addOrderDetail", + method: "post", + data: data + }); +} + +export function updateReceiveOrderDetail(data) { + return axios({ + url: "/device/receive/order/detail/updateOrderDetail", + method: "post", + data: data + }) +} + +export function deleteReceiveOrderDetail(data) { + return axios({ + url: "/device/receive/order/detail/deleteOrderDetail", + method: "post", + data: data + }); +} + + diff --git a/src/views/inventory/AssetManage.vue b/src/views/inventory/AssetManage.vue new file mode 100644 index 00000000..df13458c --- /dev/null +++ b/src/views/inventory/AssetManage.vue @@ -0,0 +1,272 @@ + + + + + + diff --git a/src/views/inventory/DeviceMAOrderCompleted.vue b/src/views/inventory/DeviceMAOrderCompleted.vue new file mode 100644 index 00000000..df13458c --- /dev/null +++ b/src/views/inventory/DeviceMAOrderCompleted.vue @@ -0,0 +1,272 @@ + + + + + + diff --git a/src/views/inventory/DeviceMAOrderModify.vue b/src/views/inventory/DeviceMAOrderModify.vue new file mode 100644 index 00000000..df13458c --- /dev/null +++ b/src/views/inventory/DeviceMAOrderModify.vue @@ -0,0 +1,272 @@ + + + + + + diff --git a/src/views/inventory/DeviceReceiveOrderAudit.vue b/src/views/inventory/DeviceReceiveOrderAudit.vue new file mode 100644 index 00000000..df13458c --- /dev/null +++ b/src/views/inventory/DeviceReceiveOrderAudit.vue @@ -0,0 +1,272 @@ + + + + + + diff --git a/src/views/inventory/DeviceReceiveOrderCompleted.vue b/src/views/inventory/DeviceReceiveOrderCompleted.vue new file mode 100644 index 00000000..df13458c --- /dev/null +++ b/src/views/inventory/DeviceReceiveOrderCompleted.vue @@ -0,0 +1,272 @@ + + + + + + diff --git a/src/views/inventory/DeviceReceiveOrderModify.vue b/src/views/inventory/DeviceReceiveOrderModify.vue new file mode 100644 index 00000000..df13458c --- /dev/null +++ b/src/views/inventory/DeviceReceiveOrderModify.vue @@ -0,0 +1,272 @@ + + + + + + diff --git a/src/views/inventory/DeviceReceiveOrderNew.vue b/src/views/inventory/DeviceReceiveOrderNew.vue new file mode 100644 index 00000000..df13458c --- /dev/null +++ b/src/views/inventory/DeviceReceiveOrderNew.vue @@ -0,0 +1,272 @@ + + + + + + diff --git a/src/views/inventory/InvMAOrderCompleted.vue b/src/views/inventory/InvMAOrderCompleted.vue index 56230b44..9e5d0feb 100644 --- a/src/views/inventory/InvMAOrderCompleted.vue +++ b/src/views/inventory/InvMAOrderCompleted.vue @@ -123,7 +123,7 @@ import {getInvSpaceList} from "@/api/inventory/invSpace"; import {getInvMAOrderList, getInvMAOrderDetailList} from "@/api/inventory/invMAOrder"; export default { - name: "InvMAOrderAudit", + name: "InvMAOrderCompleted", data() { return { filterQuery: { diff --git a/src/views/inventory/addInvMAOrder.vue b/src/views/inventory/InvMAOrderModify.vue similarity index 100% rename from src/views/inventory/addInvMAOrder.vue rename to src/views/inventory/InvMAOrderModify.vue diff --git a/src/views/inventory/InvMAOrderNew.vue b/src/views/inventory/InvMAOrderNew.vue index b0e19489..e0dfd473 100644 --- a/src/views/inventory/InvMAOrderNew.vue +++ b/src/views/inventory/InvMAOrderNew.vue @@ -96,10 +96,10 @@ width="85%" v-if="formVisible" > - + > @@ -109,7 +109,7 @@ import {getInvListByUser} from "@/api/system/invWarehouse"; import {getInvSpaceList} from "@/api/inventory/invSpace"; import {getInvMAOrderList, deleteInvMAOrder, submitAudit} from "@/api/inventory/invMAOrder"; -import addInvMAOrder from "@/views/inventory/addInvMAOrder.vue"; +import invMAOrderModify from "@/views/inventory/InvMAOrderModify.vue"; export default { name: "InvMAOrderNew", @@ -253,7 +253,7 @@ export default { }, }, components: { - addInvMAOrder + invMAOrderModify }, mounted() { document.body.ondrop = function (event) {