Commit 5a0d8900 authored by jingnan's avatar jingnan 👀

代码格式修改

parent 13285b20
...@@ -84,37 +84,39 @@ export default { ...@@ -84,37 +84,39 @@ export default {
} }
} }
}, },
computed: {},
watch: {},
created() { created() {
const httpParams = { const httpParams = {
"pageFrom": 1, 'pageFrom': 1,
"pageSize": 9999, 'pageSize': 9999,
"searchItems": { 'searchItems': {
"children": [], 'children': [],
"items": [ 'items': [
{ {
"fieldName": "source.name", 'fieldName': 'source.name',
"operator": "EQ", 'operator': 'EQ',
"value": "工艺员" 'value': '工艺员'
} }
], ],
"operator": "AND" 'operator': 'AND'
}, },
"openProps": [ 'openProps': [
{ {
"name": "source", 'name': 'source',
"pageFrom": 1, 'pageFrom': 1,
"pageSize": 9999 'pageSize': 9999
}, },
{ {
"name": "target", 'name': 'target',
"pageFrom": 1, 'pageFrom': 1,
"pageSize": 9999 'pageSize': 9999
} }
], ],
"sortItem": [ 'sortItem': [
{ {
"fieldName": "modifyTime", 'fieldName': 'modifyTime',
"sortOrder": "desc" 'sortOrder': 'desc'
} }
] ]
} }
...@@ -132,8 +134,6 @@ export default { ...@@ -132,8 +134,6 @@ export default {
console.log(err) console.log(err)
}) })
}, },
computed: {},
watch: {},
mounted() { }, mounted() { },
// 组件方法 // 组件方法
methods: { methods: {
...@@ -155,7 +155,7 @@ export default { ...@@ -155,7 +155,7 @@ export default {
} }
}) })
if (isTkdBack === 0) { if (isTkdBack === 0) {
//退库单退库选人 // 退库单退库选人
this.dialogVisible = false this.dialogVisible = false
let isMatchBack = 0 let isMatchBack = 0
this.selectionRows.forEach(item => { this.selectionRows.forEach(item => {
...@@ -193,15 +193,14 @@ export default { ...@@ -193,15 +193,14 @@ export default {
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() this.$refs.applyTable.$refs.asCom.getData()
}).catch(err => { }).catch(() => {
this.$utils.showMessageWarning('出现异常,提交失败') this.$utils.showMessageWarning('出现异常,提交失败')
}).finally(()=>{ }).finally(() => {
this.dialogVisible = false this.dialogVisible = false
}) })
} else { } else {
this.$utils.showMessageWarning('退库原因为退库单退库的不能与其他退库类型一起提交') this.$utils.showMessageWarning('退库原因为退库单退库的不能与其他退库类型一起提交')
} }
}, },
cancle() { cancle() {
this.dialogVisible = false this.dialogVisible = false
...@@ -215,9 +214,9 @@ export default { ...@@ -215,9 +214,9 @@ 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() this.$refs.applyTable.$refs.asCom.getData()
}).catch(err => { }).catch(() => {
this.$utils.showMessageWarning('出现异常,提交失败') this.$utils.showMessageWarning('出现异常,提交失败')
}).finally(()=>{ }).finally(() => {
this.dialogVisible = false this.dialogVisible = false
this.setPersonVisible = false this.setPersonVisible = false
this.$set(this.form, 'userIds', '') this.$set(this.form, 'userIds', '')
......
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