Commit 31a1730e authored by 15008242619's avatar 15008242619 Committed by jingnan

领用出库新增紧急领用

parent 5c58dbb1
......@@ -45,15 +45,15 @@
import { post } from '@/utils/http'
export default {
name: 'OutStorageUseApply',
components: {},
props: {
name: 'OutStorageUseApply',
components: {},
props: {
selectData: {
type: Object,
default: () => {}
}
},
data() {
},
data() {
return {
dialogVisible: false,
setPersonVisible: false,
......@@ -84,10 +84,19 @@ data() {
]
}
}
},
computed: {},
watch: {},
created() {
},
computed: {},
watch: {},
created() {
},
mounted() {
this.$bus.$on('cancelAndRefresh', (data) => {
this.$refs.applyTable && this.$refs.applyTable.$refs.asCom.getData()
})
},
// 组件方法
methods: {
getPersonList(){
const httpParams = {
'pageFrom': 1,
'pageSize': 9999,
......@@ -141,14 +150,7 @@ created() {
}).catch((err) => {
console.log(err)
})
},
mounted() {
this.$bus.$on('cancelAndRefresh', (data) => {
this.$refs.applyTable && this.$refs.applyTable.$refs.asCom.getData()
})
},
// 组件方法
methods: {
},
tableToolHandler(e) {
console.log(e.key.btnValue)
if (e.key.btnValue === 'useApply') {
......@@ -167,6 +169,7 @@ methods: {
})
if (isUrgentUse === 0) {
// 紧急领用选人
this.getPersonList()
this.dialogVisible = false
this.setPersonVisible = true
} else if (isUrgentUse === this.selectionRows.length) {
......@@ -216,7 +219,7 @@ methods: {
selectionChange(val) {
this.selectionRows = val
}
}
}
}
</script>
......@@ -226,6 +229,5 @@ methods: {
height: 100%;
box-sizing: border-box;
padding:0 4px;
}
</style>
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