diff --git a/src/api/extend/processEquMaterialBom.js b/src/api/extend/processEquMaterialBom.js index def6ad48..0a01aa7d 100644 --- a/src/api/extend/processEquMaterialBom.js +++ b/src/api/extend/processEquMaterialBom.js @@ -1,7 +1,7 @@ /* * @Author: zhp * @Date: 2023-11-07 19:47:48 - * @LastEditTime: 2023-11-16 17:49:23 + * @LastEditTime: 2023-11-23 13:57:41 * @LastEditors: zhp * @Description: */ @@ -104,3 +104,18 @@ export function getMaterialList(data) { data: data }) } +export function getMaterialCode(data) { + return request({ + url: '/extend/process-equ-material-bom/getCode', + method: 'get', + params: data + }) +} + +export function createProcessEquMaterialBomDetList(data) { + return request({ + url: '/extend/process-equ-material-bom-det/createByList', + method: 'post', + data: data + }) +} diff --git a/src/api/extend/processEquValueBom.js b/src/api/extend/processEquValueBom.js index 93d6a740..6c9b5067 100644 --- a/src/api/extend/processEquValueBom.js +++ b/src/api/extend/processEquValueBom.js @@ -1,7 +1,7 @@ /* * @Author: zhp * @Date: 2023-11-09 09:37:14 - * @LastEditTime: 2023-11-16 17:47:21 + * @LastEditTime: 2023-11-23 14:15:45 * @LastEditors: zhp * @Description: */ @@ -104,3 +104,19 @@ export function getValueList(data) { params: data }) } + +export function getValueCode(data) { + return request({ + url: '/extend/process-equ-value-bom/getCode', + method: 'get', + params: data + }) +} + +export function createProcessEquValueBomDetList(data) { + return request({ + url: '/extend/process-equ-value-bom-det/createByList', + method: 'post', + data: data + }) +} diff --git a/src/assets/icons/svg/return.svg b/src/assets/icons/svg/return.svg new file mode 100644 index 00000000..768c0c40 --- /dev/null +++ b/src/assets/icons/svg/return.svg @@ -0,0 +1,14 @@ + + + rollback + + + + + + + + + + + \ No newline at end of file diff --git a/src/mixins/lb/basicPageMixin.js b/src/mixins/lb/basicPageMixin.js index 61d46432..51b89d80 100644 --- a/src/mixins/lb/basicPageMixin.js +++ b/src/mixins/lb/basicPageMixin.js @@ -33,6 +33,7 @@ export default { addUrl: '', pageUrl: '', infoUrl: '', + deleteUrl: '', basePath: '', form: {} }; @@ -60,7 +61,7 @@ export default { return this.$axios({ url, method, - params: method === 'get' ? payload : null, + params: (method === 'get' || method === 'delete') ? payload : null, data: method !== 'get' ? payload : null, }) }, @@ -77,6 +78,7 @@ export default { return this.http(this.infoUrl == '' ? this.infoPath : this.infoUrl, 'get', payload); }, del(payload) { + debugger; return this.http(this.deleteUrl == '' ? this.deletePath : this.deleteUrl, 'delete', payload); }, diff --git a/src/views/OperationalOverview/AGVBoard.vue b/src/views/OperationalOverview/AGVBoard.vue index 9a4b5fe2..5ac357bc 100644 --- a/src/views/OperationalOverview/AGVBoard.vue +++ b/src/views/OperationalOverview/AGVBoard.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-07-19 15:18:30 * @LastEditors: zhp - * @LastEditTime: 2023-11-22 13:58:30 + * @LastEditTime: 2023-11-23 11:14:30 * @Description: -->