宁夏报废模块优化
This commit is contained in:
parent
237699319a
commit
7a81252dc1
|
|
@ -52,9 +52,6 @@
|
||||||
return {
|
return {
|
||||||
config,
|
config,
|
||||||
dialogConfig,
|
dialogConfig,
|
||||||
title: '',
|
|
||||||
dialogVisible: false,
|
|
||||||
dialogWidth: '',
|
|
||||||
handleBtn: [
|
handleBtn: [
|
||||||
{ btn_title: '查看', id: 1 },
|
{ btn_title: '查看', id: 1 },
|
||||||
{ btn_title: '编辑退料', id: 2 },
|
{ btn_title: '编辑退料', id: 2 },
|
||||||
|
|
|
||||||
|
|
@ -205,15 +205,12 @@
|
||||||
this.submitScrapParams.deptIds.push(e.id)
|
this.submitScrapParams.deptIds.push(e.id)
|
||||||
})
|
})
|
||||||
const res = await submitScrapApi(this.submitScrapParams)
|
const res = await submitScrapApi(this.submitScrapParams)
|
||||||
console.log(res, '提交报废结果')
|
|
||||||
|
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message.success('已提交成功')
|
this.$message.success('已提交成功')
|
||||||
this.dialogConfig.outerVisible = val
|
this.dialogConfig.outerVisible = val
|
||||||
this.$refs.listingTbRef.getList()
|
this.$refs.listingTbRef.getList()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.submitScrapParams.deptIds =
|
this.submitScrapParams.deptIds =
|
||||||
this.submitScrapParams.taskIdList = []
|
this.submitScrapParams.taskIdList = []
|
||||||
},
|
},
|
||||||
|
|
@ -246,18 +243,3 @@
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
|
||||||
::v-deep .el-page-header__left {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.back-text {
|
|
||||||
margin-bottom: 8px;
|
|
||||||
padding: 0 5px;
|
|
||||||
box-shadow: 1px 1px #ccc;
|
|
||||||
|
|
||||||
span {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue