Commit 96c73d8b authored by 15008242619's avatar 15008242619 Committed by jingnan

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

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