代码优化

This commit is contained in:
BianLzhaoMin 2024-08-22 16:12:44 +08:00
parent 4f79b5d7b0
commit 0ae75af787
3 changed files with 14 additions and 10 deletions

View File

@ -710,6 +710,7 @@ export default {
// this.getList(); // this.getList();
this.initSelectData() this.initSelectData()
this.InitIGetInfo() this.InitIGetInfo()
this.initGetUseTypeTree()
}, },
methods: { methods: {
// claimAndRefund/return/returnApplyAdd // claimAndRefund/return/returnApplyAdd
@ -782,7 +783,10 @@ export default {
// isEdit: true, // isEdit: true,
// }, // },
// }) // })
this.$emit('rejectSubmit', { id: row.id, agreementId: row.agreementId }) this.$emit('rejectSubmit', {
id: row.id,
agreementId: row.agreementId,
})
}, },
// 退 // 退
handleUpdateOrder() { handleUpdateOrder() {
@ -983,11 +987,11 @@ export default {
this.dialogQueryParams.keyWord = '' this.dialogQueryParams.keyWord = ''
this.getDialogList() this.getDialogList()
}, },
async initGetUseTypeTree(id) { async initGetUseTypeTree() {
let params = { // let params = {
agreementId: id, // agreementId: id,
} // }
const res = await getUseTypeTree(params) const res = await getUseTypeTree()
console.log('res-getUseTypeTree', res) console.log('res-getUseTypeTree', res)
this.deptOptions = res.data this.deptOptions = res.data
}, },

View File

@ -66,7 +66,7 @@
" "
/> />
<el-table-column label="入库来源" align="center" prop="putInType" /> <el-table-column label="入库来源" align="center" prop="putInType" />
<el-table-column <!-- <el-table-column
label="工程名称" label="工程名称"
align="center" align="center"
prop="projectName" prop="projectName"
@ -77,7 +77,7 @@
align="center" align="center"
prop="unitName" prop="unitName"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> /> -->
<el-table-column <el-table-column
label="单号" label="单号"
align="center" align="center"
@ -1496,4 +1496,4 @@ export default {
::v-deep.el-form-item__label { ::v-deep.el-form-item__label {
padding: 0 20px !important; padding: 0 20px !important;
} }
</style> </style>

View File

@ -44,7 +44,7 @@ module.exports = {
// target: `http://192.168.2.151:48080`, //超 // target: `http://192.168.2.151:48080`, //超
// target: `http://10.40.92.81:8080`, //韩/ // target: `http://10.40.92.81:8080`, //韩/
target: `http://192.168.2.77:49080`,//旭/ target: `http://192.168.2.82:49080`,//旭/
// target: `http://192.168.2.248:28080`, //帅 // target: `http://192.168.2.248:28080`, //帅
// target: `http://192.168.2.216:49080`, //福 // target: `http://192.168.2.216:49080`, //福