Browse Source

合格证台账新增、详情增加移交状态字段;业务管理修改车型配置标准页面的样式。

master
Zhao Qiqi 3 years ago
parent
commit
b0b40272ce
  1. 4
      anrui-buscenter/anrui-buscenter-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue
  2. 4
      anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengInfo.vue
  3. 30
      anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhangAdd.vue

4
anrui-buscenter/anrui-buscenter-ui/src/components/VehicleConfigurationSub/vehicleconfiguration.vue

@ -268,7 +268,7 @@ export default {
/* 标题头部的样式 */ /* 标题头部的样式 */
.headtitle { .headtitle {
padding: 9px; padding: 9px;
font-weight: bold; /*font-weight: bold;*/
font-size: 20px; font-size: 20px;
background-color: #0294d7; background-color: #0294d7;
text-align: left; text-align: left;
@ -328,7 +328,7 @@ export default {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
right: 70px; right: 70px;
color: #d00000; /*color: #d00000;*/
} }
/* 内容部分的展开与收起按钮 */ /* 内容部分的展开与收起按钮 */

4
anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengInfo.vue

@ -35,8 +35,10 @@
<el-col :span="12" v-show="temp.certificateStateValue == '虚拟'"/> <el-col :span="12" v-show="temp.certificateStateValue == '虚拟'"/>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="4" class="trightb">移交状态</el-col>
<el-col :span="8" class="tleft"> {{ temp.transferStateValue }}</el-col>
<el-col :span="4" class="trightb">备注</el-col> <el-col :span="4" class="trightb">备注</el-col>
<el-col :span="20"> {{ temp.remarks }}</el-col> <el-col :span="8"> {{ temp.remarks }}</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="4" class="trightb">合格证照片</el-col> <el-col :span="4" class="trightb">合格证照片</el-col>

30
anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhangAdd.vue

@ -85,11 +85,21 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="12">
<el-form-item prop="remarks">
<span slot="label">移交状态</span>
<el-select v-model="temp.transferStateKey" class="addinputw" clearable
placeholder="请选择移交状态" @change="transferStateChange">
<el-option v-for="item in transferState_list" :key="item.dictKey" :label="item.dictValue"
:value="item.dictKey"/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item prop="remarks"> <el-form-item prop="remarks">
<span slot="label">备注</span> <span slot="label">备注</span>
<el-input v-model="temp.remarks" type="textarea" :rows="3" maxlength="125" placeholder="" <el-input v-model="temp.remarks" type="textarea" :rows="3" maxlength="125" placeholder=""
class="addinputwda" clearable/> class="addinputw" clearable/>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -356,6 +366,7 @@ export default {
templook: {}, // templook: {}, //
Situation: [], Situation: [],
qingkuang_list: [], qingkuang_list: [],
transferState_list:[],
stateId: 0, stateId: 0,
dialogFormVisible: false, // dialogFormVisible: false, //
dialogFormShowVisible: false, // dialogFormShowVisible: false, //
@ -613,6 +624,14 @@ export default {
this.temp.certificateSituationValue = bb.name this.temp.certificateSituationValue = bb.name
console.log('value值', this.temp.certificateSituationValue) console.log('value值', this.temp.certificateSituationValue)
}, },
//
transferStateChange(val) {
if (val) {
const choosetItem = this.transferState_list.filter((item) => item.dictKey == val)
this.temp.transferStateValue = choosetItem[0].dictValue
console.log('name:', this.temp.transferStateValue, 'key:', this.temp.transferStateKey)
}
},
setDate() { setDate() {
// //
typeValues({ type: 'certificateState' }).then((res) => { typeValues({ type: 'certificateState' }).then((res) => {
@ -628,6 +647,13 @@ export default {
this.qingkuang_list = res.data this.qingkuang_list = res.data
} }
}) })
//
typeValues({ type: 'transferState' }).then((res) => {
console.log(res)
if (res.code === '200') {
this.transferState_list = res.data
}
})
}, },
// ------------------------------------------------------ // ------------------------------------------------------
fileChangeIt(files,imgFiles){ fileChangeIt(files,imgFiles){

Loading…
Cancel
Save