|
|
@ -55,6 +55,7 @@ |
|
|
|
<script> |
|
|
|
import Pagination from '@/components/pagination' |
|
|
|
import req from '@/api/kucunguanli/price' |
|
|
|
import { getPathSidByUserSid } from '@/api/cheliang/basevehiclemodel' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "chexingbyconfiguration", |
|
|
@ -105,6 +106,15 @@ export default { |
|
|
|
handleReturn() { |
|
|
|
this.$emit('doback') |
|
|
|
}, |
|
|
|
getPathSid() { |
|
|
|
const userSid = window.sessionStorage.getItem('userSid') |
|
|
|
getPathSidByUserSid({userSid:userSid}).then((res) => { |
|
|
|
if (res.code === '200') { |
|
|
|
this.listQuery.params.useOrgSid = res.data |
|
|
|
this.getList() |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 查询列表信息 |
|
|
|
getList() { |
|
|
|
this.listLoading = true |
|
|
@ -118,7 +128,7 @@ export default { |
|
|
|
}, |
|
|
|
// 查询按钮 |
|
|
|
handleFilter() { |
|
|
|
this.getList() |
|
|
|
this.getPathSid() |
|
|
|
}, |
|
|
|
// 重置按钮 |
|
|
|
handresetting() { |
|
|
@ -128,8 +138,8 @@ export default { |
|
|
|
this.listQuery.params.vehicleAlias = '' |
|
|
|
this.listQuery.params.configName = '' |
|
|
|
this.listQuery.params.vehicleStateValue = '库存' |
|
|
|
this.listQuery.params.useOrgSid = this.userOrgSid |
|
|
|
this.getList() |
|
|
|
this.listQuery.params.useOrgSid = '' |
|
|
|
this.getPathSid() |
|
|
|
}, |
|
|
|
handleSelectionChange(row) { |
|
|
|
this.sids = [] |
|
|
@ -157,7 +167,7 @@ export default { |
|
|
|
} |
|
|
|
this.listQuery.params.useOrgSid = userOrgSid |
|
|
|
this.userOrgSid = userOrgSid |
|
|
|
this.getList() |
|
|
|
this.getPathSid() |
|
|
|
}, |
|
|
|
// 添加修改返回 |
|
|
|
AddUpdateReturn() { |
|
|
|