Browse Source

完善车型管理、车型配置管理及关联配置页面

master
yunuo970428 3 years ago
parent
commit
cc03e2366c
  1. 18
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue
  2. 18
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/changyongpeizhi.vue
  3. 23
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhi.vue

18
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue

@ -69,6 +69,11 @@
<el-form-item label="规格型号">
<el-input v-model="listQuery.params.specifications" maxlength="125" placeholder="请输入规格型号" class="addinputw" clearable/>
</el-form-item>
<el-form-item label="所属分公司">
<el-select v-model="listQuery.params.orgSid" class="addinputw" clearable filterable placeholder="">
<el-option v-for="item in org_list" :key="item.sid" :label="item.name" :value="item.sid"/>
</el-select>
</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>
@ -193,6 +198,7 @@ import chexinglook from './chexinglook'
import chexingpeizhi from './relation/chexingguanlianchangyong'
import chexinggonggaoxingao from './relation/chexinggonggaoxingao'
import upload from '../../../components/uploadFile/upload_chexing'
import { getListOrg } from '@/api/cheliang/dictcommons'
export default {
name: 'chexing',
@ -268,6 +274,7 @@ export default {
tableKey: 0,
list: [],
srcList: [],
org_list: [],
carBrand_list: [], //
vehicleFunction_list: [], //
productLine_list: [], //
@ -295,7 +302,8 @@ export default {
emissionStandard: '',
engineType: '',
marketSegments: '',
specifications: ''
specifications: '',
orgSid: ''
},
current: 1,
size: 5,
@ -376,6 +384,11 @@ export default {
})
},
init() {
getListOrg().then((resp) => {
if (resp.success) {
this.org_list = resp.data
}
})
// -
pullDown({
type: 'vehicleFunction'
@ -521,7 +534,8 @@ export default {
emissionStandard: '',
engineType: '',
marketSegments: '',
specifications: ''
specifications: '',
orgSid: ''
},
current: 1,
size: 5,

18
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/changyongpeizhi.vue

@ -114,6 +114,11 @@
<el-form-item label="常用配置名称">
<el-input v-model="listQuery.params.configName" maxlength="125" placeholder="请输入常用配置名称" class="addinputw" clearable/>
</el-form-item>
<el-form-item label="所属分公司">
<el-select v-model="listQuery.params.orgSid" class="addinputw" clearable placeholder="">
<el-option v-for="item in org_list" :key="item.sid" :label="item.name" :value="item.sid"/>
</el-select>
</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>
@ -264,6 +269,7 @@ import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import changyongpeizhiAdd from '../../chexingpeizhi/changyongpeizhiAdd'
import ChangyongpeizhiInfo from '@/views/cheliang/chexingpeizhi/changyongpeizhiInfo'
import { getListOrg } from '@/api/cheliang/dictcommons'
export default {
name: 'changyongpeizhiguanlian',
@ -307,7 +313,8 @@ export default {
tireCoverKey: '',
tireSizeKey: '',
useOrgSid: '',
wheelbaseKey: ''
wheelbaseKey: '',
orgSid: ''
},
current: 1,
size: 10,
@ -320,6 +327,7 @@ export default {
configurationItemsSids: [],
sids: [],
chesid: '',
org_list: [],
carColor_list: [], //
slowMachine_list: [], //
rearViewMirror_list: [], //
@ -353,6 +361,11 @@ export default {
}
},
getType() {
getListOrg().then((res) => {
if (res.success) {
this.org_list = res.data
}
})
// -
pullDown({
type: 'bodyColor'
@ -622,7 +635,8 @@ export default {
tireCoverKey: '',
tireSizeKey: '',
useOrgSid: '',
wheelbaseKey: ''
wheelbaseKey: '',
orgSid: ''
},
current: 1,
size: 10,

23
anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhi.vue

@ -106,6 +106,11 @@
<el-form-item label="常用配置名称">
<el-input v-model="listQuery.params.configName" maxlength="125" placeholder="请输入常用配置名称" class="addinputw" clearable/>
</el-form-item>
<el-form-item label="所属分公司">
<el-select v-model="listQuery.params.orgSid" class="addinputw" clearable placeholder="">
<el-option v-for="item in org_list" :key="item.sid" :label="item.name" :value="item.sid"/>
</el-select>
</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>
@ -269,6 +274,7 @@ import ButtonBar from '@/components/ButtonBar'
import changyongpeizhiAdd from './changyongpeizhiAdd'
import changyongpeizhiInfo from './changyongpeizhiInfo'
import changyongpeizhiRel from './ohter/changyongpeizhiRel'
import { getListOrg } from '@/api/cheliang/dictcommons'
export default {
name: 'chexingpeizhi',
@ -388,22 +394,16 @@ export default {
suspensionKey: '',
tireCoverKey: '',
tireSizeKey: '',
wheelbaseKey: ''
wheelbaseKey: '',
orgSid: ''
},
current: 1,
total: 0,
size: 5
},
selectDate: undefined,
temp: {}, //
templook: {}, //
textMap: {
update: '编辑',
create: '创建'
},
org_list: [],
sids: [],
names: '', // [ {{names}} ]
chesid: '',
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
@ -476,6 +476,11 @@ export default {
}
},
getType() {
getListOrg().then((resp) => {
if (resp.success) {
this.org_list = resp.data
}
})
// -
pullDown({
type: 'bodyColor'

Loading…
Cancel
Save