Compare commits

...

2 Commits

Author SHA1 Message Date
taozi 7a03181d04 解决冲突 3 months ago
taozi 70456fc7c6 代码提交 3 months ago
  1. 2
      src/views/firstOrder/components/consumableDialog.vue
  2. 1
      src/views/firstOrder/components/inDialog.vue
  3. 11
      src/views/firstOrder/components/outDialog.vue
  4. 10
      src/views/secondOrder/components/outDialog.vue

@ -1,6 +1,6 @@
<template> <template>
<el-dialog :close-on-click-modal="false" :title="demandDialogTitle" :visible.sync="consumableVisible" <el-dialog :close-on-click-modal="false" :title="demandDialogTitle" :visible.sync="consumableVisible"
:append-to-body="true" width="70%" @close="handleCloseDetail" fullscreen> :append-to-body="true" width="70%" @close="handleCancel" fullscreen>
<basic-container class="dialog-content"> <basic-container class="dialog-content">
<avue-crud :option="option" :table-loading="loading" :data="data" ref="crud" v-model="form" <avue-crud :option="option" :table-loading="loading" :data="data" ref="crud" v-model="form"
:page.sync="page" :permission="permissionList" @row-del="rowDel" @search-change="searchChange" :page.sync="page" :permission="permissionList" @row-del="rowDel" @search-change="searchChange"

@ -616,7 +616,6 @@ export default {
ldOnePutStorageDetailVOList: [], // ldOnePutStorageDetailVOList: [], //
}, },
inTableData: [], inTableData: [],
inBatchDialogVisible: false, // inBatchDialogVisible: false, //
batchType: "", // batchType: "", //
materialsType: "", materialsType: "",

@ -428,7 +428,7 @@
v-if="consumableVisible" v-if="consumableVisible"
:consumableVisible="consumableVisible" :consumableVisible="consumableVisible"
:demandDialogTitle="demandDialogTitle" :demandDialogTitle="demandDialogTitle"
@handleCloseDetail="handleCloseDetail" @handleCloseDetail="closeDialog"
@confirm="confirm" @confirm="confirm"
> >
</consumableDialog> </consumableDialog>
@ -693,9 +693,12 @@ export default {
// //
handleCloseDetail() { handleCloseDetail() {
this.outDialogVisible = false; this.outDialogVisible = false;
this.consumableVisible = false;
this.$emit("handleCloseDetail"); this.$emit("handleCloseDetail");
}, },
closeDialog() {
this.consumableVisible = false;
},
// //
async getQuarterList() { async getQuarterList() {
try { try {
@ -834,8 +837,8 @@ export default {
getDepartmentName(departmentId) { getDepartmentName(departmentId) {
const department = this.list.find( const department = this.list.find(
(item) => item.departmentId === departmentId (item) => item.departmentId === departmentId
); )
return department ? department.department : ""; return department ? department.department : ""
}, },
// //
async getMaterialList() { async getMaterialList() {

@ -521,6 +521,15 @@ export default {
}, },
handleCloseDetail() { handleCloseDetail() {
this.outDialogVisible = false; this.outDialogVisible = false;
<<<<<<< HEAD
this.$emit("handleCloseDetail");
},
//
closeDialog() {
this.categoryVisible = false
},
=======
this.$emit("handleCloseDetail"); this.$emit("handleCloseDetail");
}, },
@ -528,6 +537,7 @@ export default {
this.categoryVisible = false; this.categoryVisible = false;
}, },
>>>>>>> 94e2170923f61585374217a741bc58b7f0790b1e
inInit() { inInit() {
if (this.outDialogType != "add") { if (this.outDialogType != "add") {
getDetails({ twoOutStorageId: this.rowData.id }).then((res) => { getDetails({ twoOutStorageId: this.rowData.id }).then((res) => {

Loading…
Cancel
Save