|
@@ -110,6 +110,36 @@
|
|
</vxe-column>
|
|
</vxe-column>
|
|
</vxe-table>
|
|
</vxe-table>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
+
|
|
|
|
+ <el-tab-pane label="归档历史" v-if="commonJS.isNotEmpty(cwArchiveHiFlag)" name="form-cwArchive">
|
|
|
|
+ <vxe-table
|
|
|
|
+ ref="wareHouseTable"
|
|
|
|
+ border="inner"
|
|
|
|
+ size="small"
|
|
|
|
+ :key="222"
|
|
|
|
+ max-height="1000px"
|
|
|
|
+ class="vxe-table-element"
|
|
|
|
+ :data="cwArchiveDataListHiCollect">
|
|
|
|
+ <vxe-column type="seq" width="60" title="序号"></vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="归档发起人" field="userName"></vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="归档时间" field="auditDate"></vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="归档状态" field="status">
|
|
|
|
+ <template #default="scope">
|
|
|
|
+ <el-button @click="detail(scope.row)" effect="dark"
|
|
|
|
+ :type="$dictUtils.getDictLabel('cw_status_flag', scope.row.status, '-')">
|
|
|
|
+ {{$dictUtils.getDictLabel("cw_status", scope.row.status, '-')}}
|
|
|
|
+ </el-button>
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column title="操作" width="150px" fixed="right" align="center">
|
|
|
|
+ <template #default="scope">
|
|
|
|
+ <el-button type="text" size="small" @click="hiDetailCwArchive(scope.row)">归档详情</el-button>
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ </vxe-table>
|
|
|
|
+ </el-tab-pane>
|
|
|
|
+
|
|
|
|
+
|
|
</el-tabs>
|
|
</el-tabs>
|
|
|
|
|
|
<el-card
|
|
<el-card
|
|
@@ -245,6 +275,7 @@
|
|
></user-select-dialog>
|
|
></user-select-dialog>
|
|
<CollectReturnHi ref="collectReturnHi"></CollectReturnHi>
|
|
<CollectReturnHi ref="collectReturnHi"></CollectReturnHi>
|
|
<WareHouseHi ref="wareHouseHi"></WareHouseHi>
|
|
<WareHouseHi ref="wareHouseHi"></WareHouseHi>
|
|
|
|
+ <ProjectReportArchiveForm ref="projectReportArchiveForm" ></ProjectReportArchiveForm>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -252,6 +283,7 @@
|
|
// import FlowChart from '../modeler/FlowChart'
|
|
// import FlowChart from '../modeler/FlowChart'
|
|
import CollectReturnHi from '@/views/materialManagement/collect/CollectReturnHiForm'
|
|
import CollectReturnHi from '@/views/materialManagement/collect/CollectReturnHiForm'
|
|
import WareHouseHi from '@/views/materialManagement/wareHouse/WareHouseHi'
|
|
import WareHouseHi from '@/views/materialManagement/wareHouse/WareHouseHi'
|
|
|
|
+import ProjectReportArchiveForm from '@/views/cw/projectReportArchive/ProjectReportArchiveForm'
|
|
import noticeService from '@/api/flowable/noticeService'
|
|
import noticeService from '@/api/flowable/noticeService'
|
|
import useTabs from "@/utils/useTabs";
|
|
import useTabs from "@/utils/useTabs";
|
|
import UserSelect from "@/components/userSelect/index.vue";
|
|
import UserSelect from "@/components/userSelect/index.vue";
|
|
@@ -269,12 +301,15 @@ import print2 from "@/utils/print.js";
|
|
import { shallowRef } from 'vue'
|
|
import { shallowRef } from 'vue'
|
|
import CollectService from '@/api/materialManagement/CollectService'
|
|
import CollectService from '@/api/materialManagement/CollectService'
|
|
import WareHouseService from '@/api/materialManagement/WareHouseService'
|
|
import WareHouseService from '@/api/materialManagement/WareHouseService'
|
|
|
|
+import ProjectReportArchiveService from '@/api/cw/projectRecords/ProjectReportArchiveService'
|
|
export default {
|
|
export default {
|
|
collectService: null,
|
|
collectService: null,
|
|
wareHouseService: null,
|
|
wareHouseService: null,
|
|
|
|
+ projectReportArchiveService: null,
|
|
beforeCreate () {
|
|
beforeCreate () {
|
|
this.collectService = new CollectService()
|
|
this.collectService = new CollectService()
|
|
this.wareHouseService = new WareHouseService()
|
|
this.wareHouseService = new WareHouseService()
|
|
|
|
+ this.projectReportArchiveService = new ProjectReportArchiveService()
|
|
},
|
|
},
|
|
activated() {
|
|
activated() {
|
|
this.init();
|
|
this.init();
|
|
@@ -370,6 +405,7 @@ export default {
|
|
FlowStep,
|
|
FlowStep,
|
|
FlowTimeLine,
|
|
FlowTimeLine,
|
|
CollectReturnHi,
|
|
CollectReturnHi,
|
|
|
|
+ ProjectReportArchiveForm,
|
|
WareHouseHi
|
|
WareHouseHi
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -421,6 +457,8 @@ export default {
|
|
this.contractTitle = this.$route.query.contractTitle
|
|
this.contractTitle = this.$route.query.contractTitle
|
|
this.statusFlag = this.$route.query.statusFlag
|
|
this.statusFlag = this.$route.query.statusFlag
|
|
this.wareHouseId = this.$route.query.wareHouseId
|
|
this.wareHouseId = this.$route.query.wareHouseId
|
|
|
|
+ this.cwArchiveId = this.$route.query.cwArchiveId
|
|
|
|
+ this.cwArchiveHiFlag = ""
|
|
this.returnId = this.$route.query.returnId
|
|
this.returnId = this.$route.query.returnId
|
|
if (this.commonJS.isEmpty(this.$route.query.isShow)) {
|
|
if (this.commonJS.isEmpty(this.$route.query.isShow)) {
|
|
this.isShow = 'true'
|
|
this.isShow = 'true'
|
|
@@ -442,6 +480,14 @@ export default {
|
|
console.log(e)
|
|
console.log(e)
|
|
}
|
|
}
|
|
}, 500)
|
|
}, 500)
|
|
|
|
+ if (this.commonJS.isNotEmpty(this.cwArchiveId)) {
|
|
|
|
+ this.projectReportArchiveService.findHiById(this.cwArchiveId).then((data) => {
|
|
|
|
+ this.cwArchiveDataListHiCollect = data
|
|
|
|
+ if (this.commonJS.isNotEmpty(data)) {
|
|
|
|
+ this.cwArchiveHiFlag = true
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
cc(procInsId) {
|
|
cc(procInsId) {
|
|
if (this.isCC && this.auditForm.userIds) {
|
|
if (this.isCC && this.auditForm.userIds) {
|
|
@@ -1559,6 +1605,19 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ /*if (event.props.name === 'form-cwArchive') {
|
|
|
|
+ if (this.commonJS.isNotEmpty(this.cwArchiveId)) {
|
|
|
|
+ this.projectReportArchiveService.findHiById(this.cwArchiveId).then((data) => {
|
|
|
|
+ this.cwArchiveDataListHiCollect = data
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }*/
|
|
|
|
+ },
|
|
|
|
+ // 打开财务归档修改历史详情页
|
|
|
|
+ hiDetailCwArchive (row) {
|
|
|
|
+ if (this.commonJS.isNotEmpty(row.id)) {
|
|
|
|
+ this.$refs.projectReportArchiveForm.init('view', row.id)
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 打开入库修改历史详情页
|
|
// 打开入库修改历史详情页
|
|
hiDetail (row) {
|
|
hiDetail (row) {
|
|
@@ -1613,9 +1672,12 @@ export default {
|
|
cUser: false,
|
|
cUser: false,
|
|
loading: false,
|
|
loading: false,
|
|
wareHouseId: '',
|
|
wareHouseId: '',
|
|
|
|
+ cwArchiveId: '',
|
|
|
|
+ cwArchiveHiFlag: '',
|
|
returnId: '',
|
|
returnId: '',
|
|
dataListHi: [],
|
|
dataListHi: [],
|
|
dataListHiCollect: [],
|
|
dataListHiCollect: [],
|
|
|
|
+ cwArchiveDataListHiCollect: [],
|
|
recordType:''
|
|
recordType:''
|
|
};
|
|
};
|
|
},
|
|
},
|