常熟吴彦祖 2 months ago
parent
commit
8507ea01cd
  1. 9
      src/views/modules/automatedWarehouse/palletMergeQuery.vue

9
src/views/modules/automatedWarehouse/palletMergeQuery.vue

@ -292,7 +292,11 @@ export default {
} }
this.submitLoading = true this.submitLoading = true
this.$confirm(`确定进行[合托]操作?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
// - rqrq // - rqrq
submitPalletMerge(this.selectedRows).then(({data}) => { submitPalletMerge(this.selectedRows).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
@ -311,6 +315,9 @@ export default {
}).finally(() => { }).finally(() => {
this.submitLoading = false this.submitLoading = false
}) })
}).catch(() => {
this.submitLoading = false
})
} }
} }
} }

Loading…
Cancel
Save