Browse Source

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

zhanglei
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-form-item label="规格型号">
<el-input v-model="listQuery.params.specifications" maxlength="125" placeholder="请输入规格型号" class="addinputw" clearable/> <el-input v-model="listQuery.params.specifications" maxlength="125" placeholder="请输入规格型号" class="addinputw" clearable/>
</el-form-item> </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> </el-form>
<div class="btn" style="text-align: center;"> <div class="btn" style="text-align: center;">
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">查询</el-button> <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 chexingpeizhi from './relation/chexingguanlianchangyong'
import chexinggonggaoxingao from './relation/chexinggonggaoxingao' import chexinggonggaoxingao from './relation/chexinggonggaoxingao'
import upload from '../../../components/uploadFile/upload_chexing' import upload from '../../../components/uploadFile/upload_chexing'
import { getListOrg } from '@/api/cheliang/dictcommons'
export default { export default {
name: 'chexing', name: 'chexing',
@ -268,6 +274,7 @@ export default {
tableKey: 0, tableKey: 0,
list: [], list: [],
srcList: [], srcList: [],
org_list: [],
carBrand_list: [], // carBrand_list: [], //
vehicleFunction_list: [], // vehicleFunction_list: [], //
productLine_list: [], // productLine_list: [], //
@ -295,7 +302,8 @@ export default {
emissionStandard: '', emissionStandard: '',
engineType: '', engineType: '',
marketSegments: '', marketSegments: '',
specifications: '' specifications: '',
orgSid: ''
}, },
current: 1, current: 1,
size: 5, size: 5,
@ -376,6 +384,11 @@ export default {
}) })
}, },
init() { init() {
getListOrg().then((resp) => {
if (resp.success) {
this.org_list = resp.data
}
})
// - // -
pullDown({ pullDown({
type: 'vehicleFunction' type: 'vehicleFunction'
@ -521,7 +534,8 @@ export default {
emissionStandard: '', emissionStandard: '',
engineType: '', engineType: '',
marketSegments: '', marketSegments: '',
specifications: '' specifications: '',
orgSid: ''
}, },
current: 1, current: 1,
size: 5, size: 5,

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

@ -114,6 +114,11 @@
<el-form-item label="常用配置名称"> <el-form-item label="常用配置名称">
<el-input v-model="listQuery.params.configName" maxlength="125" placeholder="请输入常用配置名称" class="addinputw" clearable/> <el-input v-model="listQuery.params.configName" maxlength="125" placeholder="请输入常用配置名称" class="addinputw" clearable/>
</el-form-item> </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> </el-form>
<div class="btn" style="text-align: center;"> <div class="btn" style="text-align: center;">
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">查询</el-button> <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 pageye from '@/components/pagination/pageye'
import changyongpeizhiAdd from '../../chexingpeizhi/changyongpeizhiAdd' import changyongpeizhiAdd from '../../chexingpeizhi/changyongpeizhiAdd'
import ChangyongpeizhiInfo from '@/views/cheliang/chexingpeizhi/changyongpeizhiInfo' import ChangyongpeizhiInfo from '@/views/cheliang/chexingpeizhi/changyongpeizhiInfo'
import { getListOrg } from '@/api/cheliang/dictcommons'
export default { export default {
name: 'changyongpeizhiguanlian', name: 'changyongpeizhiguanlian',
@ -307,7 +313,8 @@ export default {
tireCoverKey: '', tireCoverKey: '',
tireSizeKey: '', tireSizeKey: '',
useOrgSid: '', useOrgSid: '',
wheelbaseKey: '' wheelbaseKey: '',
orgSid: ''
}, },
current: 1, current: 1,
size: 10, size: 10,
@ -320,6 +327,7 @@ export default {
configurationItemsSids: [], configurationItemsSids: [],
sids: [], sids: [],
chesid: '', chesid: '',
org_list: [],
carColor_list: [], // carColor_list: [], //
slowMachine_list: [], // slowMachine_list: [], //
rearViewMirror_list: [], // rearViewMirror_list: [], //
@ -353,6 +361,11 @@ export default {
} }
}, },
getType() { getType() {
getListOrg().then((res) => {
if (res.success) {
this.org_list = res.data
}
})
// - // -
pullDown({ pullDown({
type: 'bodyColor' type: 'bodyColor'
@ -622,7 +635,8 @@ export default {
tireCoverKey: '', tireCoverKey: '',
tireSizeKey: '', tireSizeKey: '',
useOrgSid: '', useOrgSid: '',
wheelbaseKey: '' wheelbaseKey: '',
orgSid: ''
}, },
current: 1, current: 1,
size: 10, size: 10,

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

@ -106,6 +106,11 @@
<el-form-item label="常用配置名称"> <el-form-item label="常用配置名称">
<el-input v-model="listQuery.params.configName" maxlength="125" placeholder="请输入常用配置名称" class="addinputw" clearable/> <el-input v-model="listQuery.params.configName" maxlength="125" placeholder="请输入常用配置名称" class="addinputw" clearable/>
</el-form-item> </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> </el-form>
<div class="btn" style="text-align: center;"> <div class="btn" style="text-align: center;">
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">查询</el-button> <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 changyongpeizhiAdd from './changyongpeizhiAdd'
import changyongpeizhiInfo from './changyongpeizhiInfo' import changyongpeizhiInfo from './changyongpeizhiInfo'
import changyongpeizhiRel from './ohter/changyongpeizhiRel' import changyongpeizhiRel from './ohter/changyongpeizhiRel'
import { getListOrg } from '@/api/cheliang/dictcommons'
export default { export default {
name: 'chexingpeizhi', name: 'chexingpeizhi',
@ -388,22 +394,16 @@ export default {
suspensionKey: '', suspensionKey: '',
tireCoverKey: '', tireCoverKey: '',
tireSizeKey: '', tireSizeKey: '',
wheelbaseKey: '' wheelbaseKey: '',
orgSid: ''
}, },
current: 1, current: 1,
total: 0, total: 0,
size: 5 size: 5
}, },
selectDate: undefined, org_list: [],
temp: {}, //
templook: {}, //
textMap: {
update: '编辑',
create: '创建'
},
sids: [], sids: [],
names: '', // [ {{names}} ] names: '', // [ {{names}} ]
chesid: '',
dialogFormVisible: false, // dialogFormVisible: false, //
dialogFormShowVisible: false, // dialogFormShowVisible: false, //
dialogStatus: '', // dialogStatus: '', //
@ -476,6 +476,11 @@ export default {
} }
}, },
getType() { getType() {
getListOrg().then((resp) => {
if (resp.success) {
this.org_list = resp.data
}
})
// - // -
pullDown({ pullDown({
type: 'bodyColor' type: 'bodyColor'

Loading…
Cancel
Save