diff --git a/src/api/secondOrder/list.js b/src/api/secondOrder/list.js index bf17413..3c01272 100644 --- a/src/api/secondOrder/list.js +++ b/src/api/secondOrder/list.js @@ -1,6 +1,7 @@ import request from '@/router/axios'; export const getList = (current, size, params) => { + console.log(params, 'apiparams') return request({ url: '/smartpark/consumerForm/list', method: 'get', diff --git a/src/views/firstOrder/components/consumableDialog.vue b/src/views/firstOrder/components/consumableDialog.vue index 5ac547a..d354c13 100644 --- a/src/views/firstOrder/components/consumableDialog.vue +++ b/src/views/firstOrder/components/consumableDialog.vue @@ -359,8 +359,8 @@ export default { }, handleCancel() { - // this.$emit('handleCloseDetail'); - this.consumableVisible + this.$emit('handleCloseDetail'); + } }, } diff --git a/src/views/firstOrder/components/outDialog.vue b/src/views/firstOrder/components/outDialog.vue index bb16b9e..43b3abc 100644 --- a/src/views/firstOrder/components/outDialog.vue +++ b/src/views/firstOrder/components/outDialog.vue @@ -999,7 +999,9 @@ export default { this.sizeForm.optionType = ""; this.inBatchDialogVisible = false; this.consumableVisible = false; + this.inBatchDialogVisible = false; this.batchSelectionVisible = false; + this.sizeForm.optionType = ''; this.batchTableData = []; if (this.sizeForm.options === 1) { this.getQuarterList(); diff --git a/src/views/materials/expend.vue b/src/views/materials/expend.vue index ff78957..3e8e298 100644 --- a/src/views/materials/expend.vue +++ b/src/views/materials/expend.vue @@ -110,6 +110,12 @@ export default { searchMenuPosition: "right", menuWidth: 140, column: [ + { + label: "部门", + prop: "department", + headerAlign: "center", + align: "center", + }, { label: "编号", prop: "materialCode", @@ -165,6 +171,7 @@ export default { headerAlign: "center", align: "center", }, + // { // label: "金额", // prop: "amount", diff --git a/src/views/secondOrder/components/categoryDialog copy.vue b/src/views/secondOrder/components/categoryDialog copy.vue new file mode 100644 index 0000000..a35a87f --- /dev/null +++ b/src/views/secondOrder/components/categoryDialog copy.vue @@ -0,0 +1,262 @@ + + + \ No newline at end of file diff --git a/src/views/secondOrder/components/categoryDialog.vue b/src/views/secondOrder/components/categoryDialog.vue new file mode 100644 index 0000000..7857dae --- /dev/null +++ b/src/views/secondOrder/components/categoryDialog.vue @@ -0,0 +1,328 @@ + + + \ No newline at end of file diff --git a/src/views/secondOrder/components/outDialog.vue b/src/views/secondOrder/components/outDialog.vue index d2a73ab..bdd1459 100644 --- a/src/views/secondOrder/components/outDialog.vue +++ b/src/views/secondOrder/components/outDialog.vue @@ -1,56 +1,30 @@