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(() => {
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<dee-dialog <dee-dialog
title="发起退库申请" title="发起退库申请"
:dialog-visible="dialogVisible" :dialog-visible="dialogVisible"
> >
<div style="margin-bottom: 20px;font-size: 14px;font-weight: bolder;">确认提交吗?</div> <div style="margin-bottom: 20px;font-size: 14px;font-weight: bolder;">确认提交吗?</div>
<div style="text-align: center;"> <div style="text-align: center;">
<el-button type="primary" @click="confirm">确 定</el-button> <el-button type="primary" @click="confirm">确 定</el-button>
...@@ -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