Commit 5a0d8900 authored by jingnan's avatar jingnan 👀

代码格式修改

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