Commit 26a435fe authored by 15008242619's avatar 15008242619 Committed by jingnan

领用出库新增紧急领用

parent 07eaad86
...@@ -88,6 +88,15 @@ export default { ...@@ -88,6 +88,15 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
created() { created() {
},
mounted() {
this.$bus.$on('cancelAndRefresh', (data) => {
this.$refs.applyTable && this.$refs.applyTable.$refs.asCom.getData()
})
},
// 组件方法
methods: {
getPersonList() {
const httpParams = { const httpParams = {
'pageFrom': 1, 'pageFrom': 1,
'pageSize': 9999, 'pageSize': 9999,
...@@ -142,13 +151,6 @@ export default { ...@@ -142,13 +151,6 @@ export default {
console.log(err) console.log(err)
}) })
}, },
mounted() {
this.$bus.$on('cancelAndRefresh', (data) => {
this.$refs.applyTable && this.$refs.applyTable.$refs.asCom.getData()
})
},
// 组件方法
methods: {
tableToolHandler(e) { tableToolHandler(e) {
console.log(e.key.btnValue) console.log(e.key.btnValue)
if (e.key.btnValue === 'useApply') { if (e.key.btnValue === 'useApply') {
...@@ -167,6 +169,7 @@ export default { ...@@ -167,6 +169,7 @@ export default {
}) })
if (isUrgentUse === 0) { if (isUrgentUse === 0) {
// 紧急领用选人 // 紧急领用选人
this.getPersonList()
this.dialogVisible = false this.dialogVisible = false
this.setPersonVisible = true this.setPersonVisible = true
} else if (isUrgentUse === this.selectionRows.length) { } else if (isUrgentUse === this.selectionRows.length) {
...@@ -226,6 +229,5 @@ export default { ...@@ -226,6 +229,5 @@ export default {
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
padding:0 4px; padding:0 4px;
} }
</style> </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