Browse Source

完善车型调价--选择车型

zhanglei
yunuo970428 3 years ago
parent
commit
2005ec05b6
  1. 26
      anrui-scm/anrui-scm-ui/src/views/kucunguanli/tiaojiaguanli/chexingbyconfiguration.vue
  2. 22
      anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/chexingbyconfiguration.vue

26
anrui-scm/anrui-scm-ui/src/views/kucunguanli/tiaojiaguanli/chexingbyconfiguration.vue

@ -19,6 +19,9 @@
<el-form-item label="常用配置:">
<el-input v-model="listQuery.params.configName" placeholder="" clearable class="filter-item"/>
</el-form-item>
<el-form-item label="内部编码:">
<el-input v-model="listQuery.params.insideCode" placeholder="" clearable class="filter-item"/>
</el-form-item>
</el-form>
<div class="btn" style="text-align: center">
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">查询</el-button>
@ -30,11 +33,21 @@
<el-table :key="tableKey" ref="multipleTable" v-loading="listLoading" :data="list" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column width="50px" type="selection" align="center"/>
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="车型编码" align="center" width="120">
<template slot-scope="scope">
<span>{{ scope.row.vehicleTypeCode }}</span>
</template>
</el-table-column>
<el-table-column label="车型" align="center" width="300">
<template slot-scope="scope">
<span>{{ scope.row.vehicleAlias }}</span>
</template>
</el-table-column>
<el-table-column label="配置编码" align="center" width="120">
<template slot-scope="scope">
<span>{{ scope.row.configCode }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" header-align="center" align="left">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
@ -72,23 +85,22 @@ export default {
isSearchShow: false,
searchxianshitit: '隐藏查询条件',
tableKey: 0,
showbackState: 30,
sids: [],
list: [],
number: '',
listLoading: false,
userOrgSid: '',
listQuery: {
current: 1,
size: 10,
size: 5,
params: {
vehicleAlias: '',
configName: '',
useOrgSid: '',
vehicleStateValue: '库存',
insideCode: '',
sidList: []
},
total: 1
total: 0
}
}
},
@ -105,7 +117,7 @@ export default {
getPathSid() {
const userSid = window.sessionStorage.getItem('userSid')
getPathSidByUserSid({ userSid: userSid }).then((res) => {
if (res.code === '200') {
if (res.success) {
this.listQuery.params.useOrgSid = res.data
this.getList()
}
@ -133,17 +145,19 @@ export default {
},
//
handleFilter() {
this.listQuery.current = 1
this.getList()
},
//
handresetting() {
this.listQuery.current = 1
this.listQuery.size = 10
this.listQuery.size = 5
this.listQuery.total = 0
this.listQuery.params.vehicleAlias = ''
this.listQuery.params.configName = ''
this.listQuery.params.vehicleStateValue = '库存'
this.listQuery.params.useOrgSid = this.userOrgSid
this.listQuery.params.insideCode = ''
this.getPathSid()
},
handleSelectionChange(row) {

22
anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/chexingbyconfiguration.vue

@ -19,6 +19,9 @@
<el-form-item label="常用配置:">
<el-input v-model="listQuery.params.configName" placeholder="" clearable class="filter-item"/>
</el-form-item>
<el-form-item label="内部编码:">
<el-input v-model="listQuery.params.insideCode" placeholder="" clearable class="filter-item"/>
</el-form-item>
</el-form>
<div class="btn" style="text-align: center">
<el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter">查询</el-button>
@ -30,11 +33,21 @@
<el-table :key="tableKey" ref="multipleTable" v-loading="listLoading" :data="list" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column width="50px" type="selection" align="center"/>
<el-table-column width="80px" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="车型编码" align="center" width="120">
<template slot-scope="scope">
<span>{{ scope.row.vehicleTypeCode }}</span>
</template>
</el-table-column>
<el-table-column label="车型" align="center" width="300">
<template slot-scope="scope">
<span>{{ scope.row.vehicleAlias }}</span>
</template>
</el-table-column>
<el-table-column label="配置编码" align="center" width="120">
<template slot-scope="scope">
<span>{{ scope.row.configCode }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" header-align="center" align="left">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
@ -72,20 +85,19 @@ export default {
isSearchShow: false,
searchxianshitit: '隐藏查询条件',
tableKey: 0,
showbackState: 30,
sids: [],
list: [],
number: '',
listLoading: false,
userOrgSid: '',
listQuery: {
current: 1,
size: 10,
size: 5,
params: {
vehicleAlias: '',
configName: '',
useOrgSid: '',
vehicleStateValue: '库存',
insideCode: '',
sidList: []
},
total: 1
@ -133,17 +145,19 @@ export default {
},
//
handleFilter() {
this.listQuery.current = 1
this.getList()
},
//
handresetting() {
this.listQuery.current = 1
this.listQuery.size = 10
this.listQuery.size = 5
this.listQuery.total = 0
this.listQuery.params.vehicleAlias = ''
this.listQuery.params.configName = ''
this.listQuery.params.vehicleStateValue = '库存'
this.listQuery.params.useOrgSid = this.userOrgSid
this.listQuery.params.insideCode = ''
this.getList()
},
handleSelectionChange(row) {

Loading…
Cancel
Save