From 035fcb159f04a8b03c67d94ec9a3da36eaf6d316 Mon Sep 17 00:00:00 2001
From: Zhao Qiqi <1287235164@qq.com>
Date: Tue, 26 Jul 2022 14:08:46 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E5=8F=B0=E8=B4=A6=E3=80=81?=
=?UTF-8?q?=E5=93=81=E7=89=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/pinpai/pinpaiguanli/pinpaiAdd.vue | 4 +-
.../pinpai/pinpaiguanli/pinpaiguanli.vue | 56 +++++++++----------
.../cheliangtaizhang/cheliangtaizhang.vue | 12 ++--
.../cheliangtaizhang/cheliangtaizhangInfo.vue | 7 ++-
.../relation/vehicleconfiguration.vue | 7 +--
5 files changed, 41 insertions(+), 45 deletions(-)
diff --git a/anrui-base/anrui-base-ui/src/views/pinpai/pinpaiguanli/pinpaiAdd.vue b/anrui-base/anrui-base-ui/src/views/pinpai/pinpaiguanli/pinpaiAdd.vue
index 925674dcc3..e81be1ac21 100644
--- a/anrui-base/anrui-base-ui/src/views/pinpai/pinpaiguanli/pinpaiAdd.vue
+++ b/anrui-base/anrui-base-ui/src/views/pinpai/pinpaiguanli/pinpaiAdd.vue
@@ -3,8 +3,8 @@
diff --git a/anrui-base/anrui-base-ui/src/views/pinpai/pinpaiguanli/pinpaiguanli.vue b/anrui-base/anrui-base-ui/src/views/pinpai/pinpaiguanli/pinpaiguanli.vue
index 99be4d4561..8152124bc2 100644
--- a/anrui-base/anrui-base-ui/src/views/pinpai/pinpaiguanli/pinpaiguanli.vue
+++ b/anrui-base/anrui-base-ui/src/views/pinpai/pinpaiguanli/pinpaiguanli.vue
@@ -52,7 +52,12 @@
-
+
+
+
+ 编辑
+
+
{{ scope.row.brandName }}
@@ -168,13 +173,6 @@ export default {
btnKey: 'toAdd',
btnLabel: '新增'
},
- {
- type: 'primary',
- size: 'small',
- icon: 'edit',
- btnKey: 'toEdit',
- btnLabel: '编辑'
- },
{
type: 'danger',
size: 'small',
@@ -298,9 +296,6 @@ export default {
case 'toAdd':
this.toAdd()
break
- case 'toEdit':
- this.toEdit()
- break
case 'doDel':
this.doDel()
break
@@ -378,7 +373,7 @@ export default {
// console.log('wpwpwpw',this.daochu_user)
},
// 打开修改
- toEdit() {
+ handleEdit(row) {
// this.resetTemp()
// const tempData = Object.assign({}, row) // copy obj
// this.FormLoading = true
@@ -389,27 +384,26 @@ export default {
// this.temp = response.data
// this.$router.push({ path: '/pinpai/pinpaiAdd/1' })
- if (this.sids.length === 1) {
- this.dialogStatus = 'update'
+ // if (this.sids.length === 1) {
this.viewState = 3
- this.$refs['divadd'].showEdit(this.sids[0])
+ this.$refs['divadd'].showEdit(row.sid)
// this.$router.push({ path: `/pinpai/pinpaiAdd/${this.sids[0]}` })
- } else if (this.sids.length > 1) {
- this.$notify({
- title: '提示',
- message: '不能选中多个商家修改!!',
- type: 'info',
- duration: 2000,
- })
- } else {
- this.$notify({
- title: '提示',
- message: '没有选择品牌!!',
- type: 'error',
- duration: 2000,
- })
- return
- }
+ // } else if (this.sids.length > 1) {
+ // this.$notify({
+ // title: '提示',
+ // message: '不能选中多个商家修改!!',
+ // type: 'info',
+ // duration: 2000,
+ // })
+ // } else {
+ // this.$notify({
+ // title: '提示',
+ // message: '没有选择品牌!!',
+ // type: 'error',
+ // duration: 2000,
+ // })
+ // return
+ // }
// this.dialogFormVisible = true
// this.$nextTick(() => {
// this.$refs['dataForm'].clearValidate()
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue
index 300fa507a1..ebbd4945a9 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue
@@ -27,8 +27,8 @@
- 查询
- 重置
+ 查询
+ 重置
@@ -48,7 +48,7 @@
-
+
{{ scope.row.modelName }}
@@ -65,6 +65,7 @@
+
@@ -78,7 +79,6 @@
-
@@ -89,7 +89,7 @@
-
+
@@ -294,7 +294,7 @@ export default {
}
},
setDater() {
- typeValues({ type: 'vehicleLedgerState' }).then((res) => {
+ typeValues({ type: 'vehicleState' }).then((res) => {
if (res.code === '200') {
this.vehicleState_list = res.data
}
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangInfo.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangInfo.vue
index c25db68305..410a92df12 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangInfo.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangInfo.vue
@@ -17,7 +17,7 @@
常用配置:
-
+
{{ temp.configName }}
@@ -259,8 +259,11 @@ export default {
margin-bottom: 0;
}
/deep/ .el-form-item__content {
- line-height: 37px;
+ /*line-height: 37px;*/
position: relative;
font-size: 14px;
}
+.configName_sty /deep/ .el-form-item__content{
+ line-height: 27px;
+}
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/vehicleconfiguration.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/vehicleconfiguration.vue
index 81b4061eb8..cb73e33ad3 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/vehicleconfiguration.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/vehicleconfiguration.vue
@@ -1,15 +1,12 @@
-
- 车型配置标准页面
-
{{ formobj.vehicleAlias }}
@@ -199,10 +196,12 @@ export default {
configSid: '',
userSid: window.sessionStorage.getItem('userSid')
}
+ this.formobj = {}
this.$emit('doback')
},
// 查看
showInfo(row) {
+ console.log('从车辆台账带来的数据',row)
this.FormLoading = true
this.sid_list.modelSid = row.modelSid
this.sid_list.configSid = row.modelConfigSid