diff --git a/src/api/dev/deviceChangeOrderApi.js b/src/api/dev/deviceChangeOrderApi.js index 6bc84a92..4790e2b8 100644 --- a/src/api/dev/deviceChangeOrderApi.js +++ b/src/api/dev/deviceChangeOrderApi.js @@ -10,6 +10,26 @@ export function changeOrderPage(query) { ) } +export function saveDraftOrder(query) { + return axios( + { + url: "/udi/device/changeOrder/draft/save", + method: "POST", + data: query + } + ) +} +export function delDraftOrder(query) { + return axios( + { + url: "/udi/device/changeOrder/del", + method: "POST", + data: query + } + ) +} + + export function saveChangeOrder(query) { return axios( { diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index e5feb906..42c78b96 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -371,10 +371,21 @@ margin-top: -10px } -.el-form-item { - margin-right: 10px; - margin-bottom: 1px; - margin-top: 1px; +//.el-form-item { +// margin-right: 10px; +// margin-bottom: 1px; +// margin-top: 1px; +//} + + +//.el-form { +// margin-top: -10px; +//} + +.query-form-item { + margin-right: 5px; + margin-bottom: 51px; } + diff --git a/src/utils/enum.js b/src/utils/enum.js index 703c3715..93029e6c 100644 --- a/src/utils/enum.js +++ b/src/utils/enum.js @@ -5,6 +5,7 @@ export const deviceChangeType = { } export const deviceChangeStatus = { + DRAFT: {key: "DRAFT", tagType: "warning", desc: "草稿"}, WAIT_CONFIRM: {key: "WAIT_CONFIRM", tagType: "warning", desc: "待目标部门确认"}, REJECT_CONFIRM: {key: "REJECT_CONFIRM", tagType: "danger", desc: "目标部门拒绝"}, FINISH: {key: "FINISH", tagType: "success", desc: "已完成"}, diff --git a/src/views/dev/devInfoEdit.vue b/src/views/dev/devInfoEdit.vue new file mode 100644 index 00000000..911614d9 --- /dev/null +++ b/src/views/dev/devInfoEdit.vue @@ -0,0 +1,299 @@ + + + + + diff --git a/src/views/dev/devSelectProduct.vue b/src/views/dev/devSelectProduct.vue new file mode 100644 index 00000000..a0f45dd5 --- /dev/null +++ b/src/views/dev/devSelectProduct.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/dev/deviceChangeOrder.vue b/src/views/dev/deviceChangeOrder.vue index 55d54759..d588593d 100644 --- a/src/views/dev/deviceChangeOrder.vue +++ b/src/views/dev/deviceChangeOrder.vue @@ -4,7 +4,7 @@ - + @@ -46,18 +46,17 @@ - -