Commit f1340ffd authored by jingnan's avatar jingnan 👀

批量签审功能开发

parent 4ddfa4cc
<!--
* @Author: gjn
* @Date: 2023-08-03 16:29:39
* @Description:批量签审_三期出库申请
-->
<template>
<div class="outStorageRecallApply">
<dee-as-com
ref="applyTable"
class="list-table"
:basic-data=" { selectData: selectData }"
:lay-config="{ typeName: 'OutStorageExpire', layKey: 'batchSign_outStorageRecallApply'}"
/>
</div>
</template>
<script>
export default {
name: 'OutStorageRecallApply',
components: {},
props: {
selectData: {
type: Object,
default: () => {}
}
},
data() {
return {}
},
computed: {},
watch: {},
created() {},
mounted() {},
// 组件方法
methods: {}
}
</script>
<style lang='scss'>
.outStorageRecallApply{
width: 100%;
height: 100%;
box-sizing: border-box;
padding:0 4px;
}
</style>
......@@ -9,10 +9,11 @@
<script>
export default {
components: {
WarehouseApply: () => import('./warehouseApply'),
OutStorageExpireApply: () => import('./outStorageExpireApply'),
JobResponseInExperiment: () => import('./jobResponseInExperiment'),
WarehouseExamine: () => import('./warehouseExamine')
WarehouseApply: () => import('./warehouseApply'), // 验收入库申请
WarehouseExamine: () => import('./warehouseExamine'), // 验收入库审核
JobResponseInExperiment: () => import('./jobResponseInExperiment'), // 理化试验验入库响应
OutStorageExpireApply: () => import('./outStorageExpireApply'), // 三期出库申请
OutStorageRecallApply: () => import('./outStorageRecallApply') // 返厂出库申请
},
props: {
selectData: {
......
......@@ -12,12 +12,12 @@
@searchEvent="searchEvent"
/>
<!-- tab页签 -->
<el-tabs v-model="active" type="border-card" class="detailTabs">
<el-tabs v-model="active" type="border-card" class="detailTabs" @tab-click="tabClick">
<el-tab-pane :label="'器材验收单(' + totals.MaterialTotal + ')'" name="Material">
<dee-as-com
ref="MaterialTable"
class="list-table"
:basic-data=" { selectData,selectionRows:selectionRows['selectMaterial'] }"
:basic-data=" basicData"
:lay-config="{ typeName: 'InStorageRequestItem', layKey: 'examine_material_table'}"
@freshData="freshData('Material')"
@selectionChange="selectionChange($event,'Material')"
......@@ -28,7 +28,7 @@
ref="AirEquipmentTable"
class="list-table"
:lay-config="{ typeName: 'InStorageRequestItem', layKey: 'examine_airEquipment_table'}"
:basic-data=" { selectData,selectionRows:selectionRows['selectAirEquipment'] }"
:basic-data=" basicData"
@freshData="freshData('AirEquipment')"
@selectionChange="selectionChange($event,'AirEquipment')"
/>
......@@ -38,7 +38,7 @@
ref="OutSourceTable"
class="list-table"
:lay-config="{ typeName: 'InStorageRequestItem', layKey: 'examine_outSource_table'}"
:basic-data=" { selectData,selectionRows:selectionRows['selectOutSource'] }"
:basic-data=" basicData"
@freshData="freshData('OutSource')"
@selectionChange="selectionChange($event,'OutSource')"
/>
......@@ -58,6 +58,7 @@ export default {
}
},
data() {
const _that = this
return {
active: 'Material',
defaultData: {},
......@@ -73,7 +74,8 @@ export default {
'AirEquipment',
'OutSource'
],
selectionRows: {}
selectionRows: {},
basicData: { selectData: _that.selectData, selectionRows: [] }
}
},
computed: {
......@@ -121,7 +123,10 @@ export default {
})
},
selectionChange(val, tabName) {
this.selectionRows[`select${tabName}`] = val
this.$set(this.basicData, 'selectionRows', val)
},
tabClick() {
this.$set(this.basicData, 'selectionRows', [])
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment