Commit 49163255 authored by jingnan's avatar jingnan 👀

代码格式修改

parent e174e68b
......@@ -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,22 +155,21 @@ export default {
}
})
if (isTkdBack === 0) {
//退库单退库选人
// 退库单退库选人
this.dialogVisible = false
this.setPersonVisible = true
} else if (isTkdBack === this.selectionRows.length) {
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
......@@ -184,9 +183,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