Commit c9883241 authored by 15008242619's avatar 15008242619

退库单退库优化(暂不部署正式)

parent 979de0f9
......@@ -154,6 +154,7 @@ export default {
} else if (isTkdBack === this.selectionRows.length) {
post('/InventoryRequest/purchaseApply/submit?applyIds=' + this.selectionRows.map(item => Number(item.id))).then(res => {
this.$utils.showMessageSuccess('提交成功')
this.$refs.applyTable.$refs.asCom.getData()
}).catch(err => {
this.$utils.showMessageWarning('出现异常,提交失败')
}).finally(()=>{
......@@ -175,6 +176,7 @@ export default {
}
post('/InStorageRequestItem/creator/apply?userIds=' + this.form.userIds, ids).then(res => {
this.$utils.showMessageSuccess('提交成功')
this.$refs.applyTable.$refs.asCom.getData()
}).catch(err => {
this.$utils.showMessageWrong('出现异常,提交失败')
}).finally(() => {
......
......@@ -44,7 +44,7 @@ export default {
</script>
<style lang='scss'>
.inStorageMatchBackApply{
.inStorageTkdBackCraftsmenExamin{
width: 100%;
height: 100%;
box-sizing: border-box;
......
......@@ -85,7 +85,7 @@ export default {
}
},
created() {
let httpParams = {
const httpParams = {
"pageFrom": 1,
"pageSize": 9999,
"searchItems": {
......@@ -161,6 +161,7 @@ export default {
} else if (isTkdBack === this.selectionRows.length) {
post('/DxWorkflowTask/apply/pass', this.selectionRows.map(item => item.processTaskId)).then(res => {
this.$utils.showMessageSuccess('提交成功')
this.$refs.applyTable.$refs.asCom.getData()
}).catch(err => {
this.$utils.showMessageWarning('出现异常,提交失败')
}).finally(()=>{
......@@ -182,6 +183,7 @@ export default {
}
post('/InStorageRequestItem/creator/applyByItems?userIds=' + this.form.userIds, ids).then(res => {
this.$utils.showMessageSuccess('提交成功')
this.$refs.applyTable.$refs.asCom.getData()
}).catch(err => {
this.$utils.showMessageWarning('出现异常,提交失败')
}).finally(()=>{
......
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