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 @@ ...@@ -9,10 +9,11 @@
<script> <script>
export default { export default {
components: { components: {
WarehouseApply: () => import('./warehouseApply'), WarehouseApply: () => import('./warehouseApply'), // 验收入库申请
OutStorageExpireApply: () => import('./outStorageExpireApply'), WarehouseExamine: () => import('./warehouseExamine'), // 验收入库审核
JobResponseInExperiment: () => import('./jobResponseInExperiment'), JobResponseInExperiment: () => import('./jobResponseInExperiment'), // 理化试验验入库响应
WarehouseExamine: () => import('./warehouseExamine') OutStorageExpireApply: () => import('./outStorageExpireApply'), // 三期出库申请
OutStorageRecallApply: () => import('./outStorageRecallApply') // 返厂出库申请
}, },
props: { props: {
selectData: { selectData: {
......
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
@searchEvent="searchEvent" @searchEvent="searchEvent"
/> />
<!-- tab页签 --> <!-- 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"> <el-tab-pane :label="'器材验收单(' + totals.MaterialTotal + ')'" name="Material">
<dee-as-com <dee-as-com
ref="MaterialTable" ref="MaterialTable"
class="list-table" class="list-table"
:basic-data=" { selectData,selectionRows:selectionRows['selectMaterial'] }" :basic-data=" basicData"
:lay-config="{ typeName: 'InStorageRequestItem', layKey: 'examine_material_table'}" :lay-config="{ typeName: 'InStorageRequestItem', layKey: 'examine_material_table'}"
@freshData="freshData('Material')" @freshData="freshData('Material')"
@selectionChange="selectionChange($event,'Material')" @selectionChange="selectionChange($event,'Material')"
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
ref="AirEquipmentTable" ref="AirEquipmentTable"
class="list-table" class="list-table"
:lay-config="{ typeName: 'InStorageRequestItem', layKey: 'examine_airEquipment_table'}" :lay-config="{ typeName: 'InStorageRequestItem', layKey: 'examine_airEquipment_table'}"
:basic-data=" { selectData,selectionRows:selectionRows['selectAirEquipment'] }" :basic-data=" basicData"
@freshData="freshData('AirEquipment')" @freshData="freshData('AirEquipment')"
@selectionChange="selectionChange($event,'AirEquipment')" @selectionChange="selectionChange($event,'AirEquipment')"
/> />
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
ref="OutSourceTable" ref="OutSourceTable"
class="list-table" class="list-table"
:lay-config="{ typeName: 'InStorageRequestItem', layKey: 'examine_outSource_table'}" :lay-config="{ typeName: 'InStorageRequestItem', layKey: 'examine_outSource_table'}"
:basic-data=" { selectData,selectionRows:selectionRows['selectOutSource'] }" :basic-data=" basicData"
@freshData="freshData('OutSource')" @freshData="freshData('OutSource')"
@selectionChange="selectionChange($event,'OutSource')" @selectionChange="selectionChange($event,'OutSource')"
/> />
...@@ -58,6 +58,7 @@ export default { ...@@ -58,6 +58,7 @@ export default {
} }
}, },
data() { data() {
const _that = this
return { return {
active: 'Material', active: 'Material',
defaultData: {}, defaultData: {},
...@@ -73,7 +74,8 @@ export default { ...@@ -73,7 +74,8 @@ export default {
'AirEquipment', 'AirEquipment',
'OutSource' 'OutSource'
], ],
selectionRows: {} selectionRows: {},
basicData: { selectData: _that.selectData, selectionRows: [] }
} }
}, },
computed: { computed: {
...@@ -121,7 +123,10 @@ export default { ...@@ -121,7 +123,10 @@ export default {
}) })
}, },
selectionChange(val, tabName) { 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