|
@ -41,6 +41,14 @@ |
|
|
<el-option v-for="item in staff_list" :key="item.staffSid" :label="item.staffName" :value="item.staffSid"/> |
|
|
<el-option v-for="item in staff_list" :key="item.staffSid" :label="item.staffName" :value="item.staffSid"/> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="分公司"> |
|
|
|
|
|
<el-select v-model="listQuery.params.orgSid" class="addinputw" placeholder=""> |
|
|
|
|
|
<el-option v-for="item in userOrg_list" :key="item.sid" :label="item.name" :value="item.sid"/> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="内部编码"> |
|
|
|
|
|
<el-input v-model="listQuery.params.insideCode" placeholder="" clearable/> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div class="btn" style="text-align: center;"> |
|
|
<div class="btn" style="text-align: center;"> |
|
|
<el-button type="primary" icon="el-icon-search" @click="handleFilter" size="small">查询</el-button> |
|
|
<el-button type="primary" icon="el-icon-search" @click="handleFilter" size="small">查询</el-button> |
|
@ -54,8 +62,8 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class=""> |
|
|
<div class=""> |
|
|
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%;"> |
|
|
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%;"> |
|
|
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/> |
|
|
<el-table-column width="60" label="序号" type="index" :index="indexMethod" align="center"/> |
|
|
<el-table-column label="操作" width="180px" align="center"> |
|
|
<el-table-column label="操作" width="80" align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-button type="primary" size="mini" @click="toInfo(scope.row)">查看</el-button> |
|
|
<el-button type="primary" size="mini" @click="toInfo(scope.row)">查看</el-button> |
|
|
</template> |
|
|
</template> |
|
@ -65,7 +73,7 @@ |
|
|
<span>{{ scope.row.createOrgName }}</span> |
|
|
<span>{{ scope.row.createOrgName }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="车架号" align="center" width="200"> |
|
|
<el-table-column label="车架号" align="center" width="120"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span>{{ scope.row.vinNo }}</span> |
|
|
<span>{{ scope.row.vinNo }}</span> |
|
|
</template> |
|
|
</template> |
|
@ -75,7 +83,7 @@ |
|
|
<span class="bluezi" @click="handleLook(scope.row)">{{ scope.row.modelName }}</span> |
|
|
<span class="bluezi" @click="handleLook(scope.row)">{{ scope.row.modelName }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="内部编码" align="center" width="400"> |
|
|
<el-table-column label="内部编码" align="center" width="120"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span>{{ scope.row.insideCode }}</span> |
|
|
<span>{{ scope.row.insideCode }}</span> |
|
|
</template> |
|
|
</template> |
|
@ -173,7 +181,7 @@ import { pagerList } from '@/api/cheliang/cheliangxiaoshou' |
|
|
import Pagination from '@/components/pagination' |
|
|
import Pagination from '@/components/pagination' |
|
|
import pageye from '@/components/pagination/pageye' |
|
|
import pageye from '@/components/pagination/pageye' |
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
import { typeValues, getPathSidByUserSid, selectOrgList } from '@/api/cheliang/dictcommons' |
|
|
import { typeValues, getPathSidByUserSid, selectOrgList, selectOrgByLevel } from '@/api/cheliang/dictcommons' |
|
|
import chelaingxiaoshouInfo from './chelaingxiaoshouInfo' |
|
|
import chelaingxiaoshouInfo from './chelaingxiaoshouInfo' |
|
|
import vehicleconfiguration from '@/views/cheliang/cheliangtaizhang/relation/vehicleconfiguration' |
|
|
import vehicleconfiguration from '@/views/cheliang/cheliangtaizhang/relation/vehicleconfiguration' |
|
|
|
|
|
|
|
@ -205,6 +213,7 @@ export default { |
|
|
tableKey: 0, |
|
|
tableKey: 0, |
|
|
list: [], |
|
|
list: [], |
|
|
org_list: [], |
|
|
org_list: [], |
|
|
|
|
|
userOrg_list: [], |
|
|
staff_list: [], |
|
|
staff_list: [], |
|
|
payType_list: [], |
|
|
payType_list: [], |
|
|
FormLoading: false, |
|
|
FormLoading: false, |
|
@ -220,7 +229,9 @@ export default { |
|
|
createOrgSid: '', |
|
|
createOrgSid: '', |
|
|
orgDeptSid: '', |
|
|
orgDeptSid: '', |
|
|
staffSid: '', |
|
|
staffSid: '', |
|
|
orgSidPath: '' |
|
|
orgSidPath: '', |
|
|
|
|
|
orgSid: '', |
|
|
|
|
|
insideCode: '' |
|
|
}, |
|
|
}, |
|
|
current: 1, |
|
|
current: 1, |
|
|
size: 5, |
|
|
size: 5, |
|
@ -254,6 +265,11 @@ export default { |
|
|
this.org_list = res.data |
|
|
this.org_list = res.data |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
selectOrgByLevel({ orgSidPath: window.sessionStorage.getItem('orgSidPath') }).then((resp) => { |
|
|
|
|
|
if (resp.success) { |
|
|
|
|
|
this.userOrg_list = resp.data |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 搜索条件效果 |
|
|
// 搜索条件效果 |
|
|
clicksearchShow() { |
|
|
clicksearchShow() { |
|
@ -313,7 +329,9 @@ export default { |
|
|
createOrgSid: '', |
|
|
createOrgSid: '', |
|
|
orgDeptSid: '', |
|
|
orgDeptSid: '', |
|
|
staffSid: '', |
|
|
staffSid: '', |
|
|
orgSidPath |
|
|
orgSidPath: '', |
|
|
|
|
|
orgSid: '', |
|
|
|
|
|
insideCode: '' |
|
|
}, |
|
|
}, |
|
|
current: 1, |
|
|
current: 1, |
|
|
size: 5, |
|
|
size: 5, |
|
|