Browse Source

供应链---常用配置新增页面的样式的修改

zhanglei
Zhao Qiqi 3 years ago
parent
commit
be397e3929
  1. 2
      anrui-scm/anrui-scm-ui/src/styles/index.scss
  2. 5
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhiAdd.vue
  3. 2
      anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/vehiclechecklist.vue
  4. 21
      anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliAdd.vue
  5. 22
      anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliInfo.vue

2
anrui-scm/anrui-scm-ui/src/styles/index.scss

@ -305,7 +305,7 @@ div:focus {
line-height: 42px; line-height: 42px;
.addinputw { .addinputw {
//padding: 5px 0; //padding: 5px 0;
width: 65%; width: calc(100% - 70px);
margin-left: 80px; margin-left: 80px;
line-height: 42px; line-height: 42px;
} }

5
anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhiAdd.vue

@ -1049,11 +1049,10 @@ export default {
line-height: 40px !important; line-height: 40px !important;
font-weight: 600; font-weight: 600;
} }
.addinputw02{ .formaddcopy02 .el-row /deep/ .el-col {
width: 52% !important; padding:0 8px;
} }
.formaddcopy02 .el-row .el-col /deep/ .el-form-item .addinputw{ .formaddcopy02 .el-row .el-col /deep/ .el-form-item .addinputw{
width: 60%;
margin-left: 65px; margin-left: 65px;
} }
.formaddcopy02 .el-row .el-col /deep/ .el-form-item .addinputwTwo{ .formaddcopy02 .el-row .el-col /deep/ .el-form-item .addinputwTwo{

2
anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/vehiclechecklist.vue

@ -80,7 +80,7 @@ export default {
handleReturn() { handleReturn() {
this.$emit('doback') this.$emit('doback')
}, },
showEdit() { showCheck() {
getVehinspectItemInfo('a595bd5b-1df1-4465-916d-285d98af2039').then((resp) => { getVehinspectItemInfo('a595bd5b-1df1-4465-916d-285d98af2039').then((resp) => {
if (resp.success) { if (resp.success) {
this.tableData = resp.data this.tableData = resp.data

21
anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliAdd.vue

@ -1,5 +1,6 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<div v-show="isCheck">
<div class="tab-header webtop"> <div class="tab-header webtop">
<div>{{ viewTitle }}</div> <div>{{ viewTitle }}</div>
<div> <div>
@ -111,12 +112,14 @@
</el-input> </el-input>
</el-col> </el-col>
</el-row> </el-row>
<!-- <el-row class="last_btn">--> <el-row class="last_btn">
<!-- <el-button type="primary" size="small" @click="handleCreate()">车辆检查表</el-button>--> <el-button type="primary" size="small" @click="handleChecklist()">车辆检查表</el-button>
<!-- </el-row>--> </el-row>
</el-form> </el-form>
</div> </div>
</div> </div>
<vehiclechecklist ref="divchecklist" v-show="!isCheck" @doback="resetState"/>
</div>
</template> </template>
<script> <script>
@ -124,15 +127,18 @@ import { getPathSidByUserSid } from '@/api/cheliang/dictcommons.js'
import { getCarInspectedInfo, saveCarInspectedInfo, submitCarInspectedInfo } from '@/api/supplychain/yancheguanli' import { getCarInspectedInfo, saveCarInspectedInfo, submitCarInspectedInfo } from '@/api/supplychain/yancheguanli'
import { getUseOrgByUserSid } from '@/api/cheliang/basevehicle' import { getUseOrgByUserSid } from '@/api/cheliang/basevehicle'
import Upload from '@/components/uploadFile/uploadImg.vue' import Upload from '@/components/uploadFile/uploadImg.vue'
import vehiclechecklist from '@/views/supplychain/yancheguanli/vehiclechecklist'
export default { export default {
name: 'yancheguanliAdd', name: 'yancheguanliAdd',
components: { components: {
Upload Upload,
vehiclechecklist
}, },
data() { data() {
return { return {
viewTitle: '', viewTitle: '',
isCheck:false,
// --------- // ---------
sid: '', sid: '',
datas: null, datas: null,
@ -248,6 +254,13 @@ export default {
// this.getZuZhi() // this.getZuZhi()
// this.getUseOrg() // this.getUseOrg()
// }, // },
handleChecklist(){
this.isCheck = false
this.$refs['divchecklist'].showCheck()
},
resetState(){
this.isCheck = true
},
// 使 // 使
getUseOrg() { getUseOrg() {
const userSid = window.sessionStorage.getItem('userSid') const userSid = window.sessionStorage.getItem('userSid')

22
anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliInfo.vue

@ -1,6 +1,6 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<div> <div v-show="isCheck">
<div class="tab-header webtop"> <div class="tab-header webtop">
<div>{{ viewTitle }}</div> <div>{{ viewTitle }}</div>
<div> <div>
@ -92,12 +92,16 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row class="last_btn">
<el-button type="primary" size="small" @click="handleChecklist()">车辆检查表</el-button>
</el-row>
</el-form> </el-form>
</div> </div>
</div> </div>
<el-dialog :visible.sync="dialogVisible"> <el-dialog :visible.sync="dialogVisible">
<img width="100%" :src="dialogImageUrl" alt=""> <img width="100%" :src="dialogImageUrl" alt="">
</el-dialog> </el-dialog>
<vehiclechecklist ref="divchecklist" v-show="!isCheck" @doback="resetState" />
<!-- <el-dialog :visible.sync="dialogVisible" width="1000px"--> <!-- <el-dialog :visible.sync="dialogVisible" width="1000px"-->
<!-- :close-on-click-modal="false">--> <!-- :close-on-click-modal="false">-->
<!-- <div class="result-cont">--> <!-- <div class="result-cont">-->
@ -109,16 +113,20 @@
<!-- </div>--> <!-- </div>-->
<!-- </el-dialog>--> <!-- </el-dialog>-->
</div> </div>
</template> </template>
<script> <script>
import { getCarInspected } from '@/api/supplychain/yancheguanli' import { getCarInspected } from '@/api/supplychain/yancheguanli'
import vehiclechecklist from '@/views/supplychain/yancheguanli/vehiclechecklist'
export default { export default {
name: 'yancheguanliInfo', name: 'yancheguanliInfo',
data() { data() {
return { return {
viewTitle: '', viewTitle: '',
isCheck:true,
// --------- // ---------
sid: '', sid: '',
dialogVisible: false, dialogVisible: false,
@ -156,6 +164,13 @@ export default {
} }
}) })
}, },
handleChecklist(){
this.isCheck = false
this.$refs['divchecklist'].showCheck()
},
resetState(){
this.isCheck = true
},
open(val, index) { open(val, index) {
this.dialogVisible = true this.dialogVisible = true
this.dialogUrl = val this.dialogUrl = val
@ -186,4 +201,9 @@ export default {
line-height: 40px !important; line-height: 40px !important;
font-weight: 600; font-weight: 600;
} }
.formadd .last_btn {
float: right;
top: 30px;
}
</style> </style>

Loading…
Cancel
Save