Commit c9883241 authored by 15008242619's avatar 15008242619

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

parent 979de0f9
...@@ -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(err => { }).catch(err => {
this.$utils.showMessageWarning('出现异常,提交失败') this.$utils.showMessageWarning('出现异常,提交失败')
}).finally(()=>{ }).finally(()=>{
...@@ -175,6 +176,7 @@ export default { ...@@ -175,6 +176,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(err => { }).catch(err => {
this.$utils.showMessageWrong('出现异常,提交失败') this.$utils.showMessageWrong('出现异常,提交失败')
}).finally(() => { }).finally(() => {
......
...@@ -44,7 +44,7 @@ export default { ...@@ -44,7 +44,7 @@ export default {
</script> </script>
<style lang='scss'> <style lang='scss'>
.inStorageMatchBackApply{ .inStorageTkdBackCraftsmenExamin{
width: 100%; width: 100%;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -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