From b228d8891011a909aa5a44a2bdb35e430e774fb4 Mon Sep 17 00:00:00 2001
From: Zhao Qiqi <1287235164@qq.com>
Date: Tue, 31 May 2022 18:05:55 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E5=9E=8B=E7=AE=A1=E7=90=86=E3=80=81?=
=?UTF-8?q?=E5=B8=B8=E7=94=A8=E9=85=8D=E7=BD=AE=E3=80=81=E5=90=88=E6=A0=BC?=
=?UTF-8?q?=E8=AF=81=E5=8F=B0=E8=B4=A6=E3=80=81=E9=94=80=E5=94=AE=E6=94=BF?=
=?UTF-8?q?=E7=AD=96=E6=B5=8B=E8=AF=95=E6=96=87=E6=A1=A3=E9=97=AE=E9=A2=98?=
=?UTF-8?q?=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../xiaoshouzhengce/xiaoshouzhengce.vue | 60 +-
.../xiaoshouzhengce/xiaoshouzhengceAdd.vue | 4 +-
.../src/router/modules/codemenu.js | 4 +-
.../scmotherinbound/scmotherinboundAdd.vue | 1 +
.../anruiscm/scmwarehouse/scmwarehouse.vue | 30 +-
.../scmwarehouse/scmwarehouseInfo.vue | 150 ++--
.../cheliangtaizhang/cheliangtaizhangAdd.vue | 1 +
.../chexingpeizhi/changyongpeizhi.vue | 83 +--
.../ohter/changyongpeizhiInfo.vue | 28 +-
.../ohter/changyongpeizhiRel.vue | 14 +-
.../hegezhengtaizhang/hegezhengInfo.vue | 57 +-
.../hegezhengtaizhang/hegezhengtaizhang.vue | 663 ++++++++++--------
.../hegezhengtaizhangAdd.vue | 247 ++++---
13 files changed, 747 insertions(+), 595 deletions(-)
diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengce.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengce.vue
index c70d2daec6..571e3ba782 100644
--- a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengce.vue
+++ b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengce.vue
@@ -4,9 +4,9 @@
@@ -33,18 +33,20 @@
-
+
-
+
-
- 查询
- 重置
-
+
+ 查询
+ 重置
+
@@ -120,6 +122,7 @@
+
@@ -129,6 +132,8 @@ import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import xiaoshouzhengceAdd from './xiaoshouzhengceAdd'
import xiaoshouzhengceInfo from './xiaoshouzhengceInfo'
+import TagsView from '@/layout/components/TagsView/index'
+
export default {
name: "xiaoshouzhengce",
@@ -136,7 +141,8 @@ export default {
Pagination,
pageye,
xiaoshouzhengceAdd,
- xiaoshouzhengceInfo
+ xiaoshouzhengceInfo,
+ TagsView
},
data() {
return {
@@ -178,6 +184,14 @@ export default {
nodeState: ''
}
},
+ computed: {
+ visitedViews() {
+ return this.$store.state.tagsView.visitedViews
+ },
+ routes() {
+ return this.$store.state.permission.routes
+ }
+ },
created() {
// 初始化变量
this.init()
@@ -365,6 +379,13 @@ export default {
})
return
}
+ },
+ handleReturn() {
+ console.log('1122334455')
+ const choosetItem = this.visitedViews.filter((item) => item.fullPath == this.$route.path)
+ if (choosetItem) {
+ this.$refs['tags'].closeSelectedTag(choosetItem[0])
+ }
}
// 提交
// handleSubmit(row) {
@@ -445,4 +466,25 @@ export default {
.el-form-item__content label {
padding: 0 5px;
}
+
+.searchbtn {
+ border: #2cab69 1px solid;
+ color: #2cab69;
+}
+
+.btn {
+ padding: 15px 0 15px 0;
+ border: 1px solid #e0e3eb;
+ background: white;
+}
+
+.tab-header {
+ background-color: #edf1f7;
+ padding: 8px 20px;
+ margin-bottom: 0 !important;
+}
+
+.tab-header /deep/ .el-form-item {
+ margin-bottom: 10px;
+}
diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengceAdd.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengceAdd.vue
index 5980841526..ee96eaa5f1 100644
--- a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengceAdd.vue
+++ b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshouzhengce/xiaoshouzhengceAdd.vue
@@ -125,7 +125,7 @@ export default {
discountType: '', // 优惠类型(赠送套餐 等,数据字典)
discountTypeKey: '', // 优惠类型key
effectiveDate: '', // 有效期
- isEmploy: '', // 1 是 0 否有效
+ isEmploy: '1', // 1 是 0 否有效
orderSid: '', // 销售订单单据sid
salesPolicy: '', // 政策类别
salesPolicyKey: '', // 政策类别key
@@ -383,7 +383,7 @@ export default {
discountType: '', // 优惠类型(赠送套餐 等,数据字典)
discountTypeKey: '', // 优惠类型key
effectiveDate: '', // 有效期
- isEmploy: '', // 1 是 0 否有效
+ isEmploy: '1', // 1 是 0 否有效
orderSid: '', // 销售订单单据sid
salesPolicy: '', // 政策类别
salesPolicyKey: '', // 政策类别key
diff --git a/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js b/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js
index 1ff18d13f1..99908f74af 100644
--- a/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js
+++ b/anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js
@@ -191,13 +191,13 @@ const codemenu = [
children: [{
path: '/guache/guacheguanli',
component: () => import('@/views/guache/guacheguanli/guacheguanli.vue'),
- name: 'ShangZhuangGuanLi',
+ name: 'GuaCheJianSuoGuanLi',
meta: { title: '挂车管理' }
},
{
path: '/guache/guachejiansuo',
component: () => import('@/views/guache/guachejiansuo/guachejiansuoguanli.vue'),
- name: 'GuaCheJianSuoGuanLi',
+ name: 'guachejiansuoguanli',
meta: { title: '挂车管理' }
}
]
diff --git a/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmotherinbound/scmotherinboundAdd.vue b/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmotherinbound/scmotherinboundAdd.vue
index 5e6181f0d5..eb83e220cb 100644
--- a/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmotherinbound/scmotherinboundAdd.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmotherinbound/scmotherinboundAdd.vue
@@ -788,6 +788,7 @@ export default {
this.formobj.scmOtherInboundDto = obj
this.stockOrgName_list = data.stockOrgSid // 库存组织sid
this.invenGroupName_list = data.invenGroupSid // 库存组sid
+ console.log('库存组织',this.stockOrgName_list)
// 明细表
this.formobj.scmOtherInboundDetailDto = data.scmOtherInboundDetailVoList
}).catch(e => {
diff --git a/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmwarehouse/scmwarehouse.vue b/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmwarehouse/scmwarehouse.vue
index 91284c9f62..72ee92b819 100644
--- a/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmwarehouse/scmwarehouse.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmwarehouse/scmwarehouse.vue
@@ -9,7 +9,7 @@
@@ -139,7 +139,9 @@
- {{ scope.row.isRelationState === 1 ? '已关联' : '未关联' }}
+ {{
+ scope.row.isRelationState === 1 ? '已关联' : '未关联'
+ }}
@@ -590,34 +592,9 @@ export default {
}
})
},
- handleOpen() {
- if (this.sids.length === 1) {
- if (this.sids[0].relationState === 1) {
- this.viewState = 5
- this.$refs['relation'].init(this.sids[0].sid)
- } else {
- this.$notify({
- title: '提示',
- message: '该常用配置未关联车型!',
- type: 'info',
- duration: 2000
- })
- }
- } else if (this.sids.length > 1) {
- this.$notify({
- title: '提示',
- message: '不能选中多个常用配置!!',
- type: 'info',
- duration: 2000
- })
- } else {
- this.$notify({
- title: '提示',
- message: '请选择常用配置!',
- type: 'error',
- duration: 2000
- })
- }
+ handleOpen(row) {
+ this.viewState = 5
+ this.$refs['relation'].init(row.sid)
},
// 返回
handleReturn() {
@@ -731,39 +708,45 @@ export default {
// 根据本行ID删除数据
handleDelete() {
console.log('删除', this.sids)
+ const _this = this
const bb = []
this.sids.forEach((e) => {
bb.push(e.sid)
})
console.log(bb, 666666)
if (this.sids.length > 0) {
- deleteBySids(bb).then((response) => {
- if (response.code === '200') {
- this.$notify({
- title: '提示',
- message: '删除成功',
- type: 'success',
- duration: 2000
+ const tip = '请确认是否删除所选 ' + this.multipleSelection.length + ' 条记录?'
+ this.$confirm(tip, '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ })
+ .then(() => {
+ const loading = this.$loading({
+ lock: true,
+ text: 'Loading',
+ spinner: 'el-icon-loading',
+ background: 'rgba(0, 0, 0, 0.7)'
})
- this.getList()
- } else {
- this.$notify({
- title: '失败',
- message: response.msg,
- type: 'error'
+ deleteBySids(bb).then(resp => {
+ loading.close()
+ _this.$message({ type: 'success', message: resp.msg, showClose: true })
+ _this.getList()
})
- }
- })
+ .catch(e => {
+ loading.close()
+ })
+ })
+ .catch(() => {
+ })
} else {
- this.$notify({
- title: '提示',
+ this.$message({
+ showClose: true,
message: '没有选择车型配置!!',
- type: 'error',
- duration: 2000
+ type: 'warning'
})
return
}
-
},
// 导出
handleDaoChu() {
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiInfo.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiInfo.vue
index 204251e4a6..0a5b1f0906 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiInfo.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiInfo.vue
@@ -135,20 +135,20 @@
-
-
- 内部编码
-
-
-
- {{ temp.insideCode }}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiRel.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiRel.vue
index ab66a6c4d5..8989b9da68 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiRel.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/ohter/changyongpeizhiRel.vue
@@ -25,7 +25,7 @@
-
+
@@ -90,14 +90,14 @@
-
+
{{ scope.row.brandName }}
-
+
- {{ scope.row.modelName }}
+ {{ scope.row.vehicleAlias }}
@@ -153,7 +153,7 @@ export default {
// list ------
carBrand_list: [], // 品牌
vehicleFunction_list: [], // 功能 vehicleFunction
- series_list: [], // 系列 series
+ productLine_list: [], // 系列 productLine
driveForm_list: [], // 驱动 driver
power_list: [], // 马力 horsepower
vehicleVersion_list: [], // 版本 vehicleVersion
@@ -228,10 +228,10 @@ export default {
})
// 下拉框-系列
pullDown({
- type: 'series'
+ type: 'productLine'
}).then((res) => {
if (res.code === '200') {
- this.series_list = res.data
+ this.productLine_list = res.data
console.log('下拉框请求系列', res.data)
}
})
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengInfo.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengInfo.vue
index 40d58cfaaf..7b56dabac3 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengInfo.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengInfo.vue
@@ -10,36 +10,37 @@
合格证台账详情信息
- 合格证流水号:
- {{ temp.certificationSerialNum }}
合格证编号:
- {{ temp.certificationNo }}
-
-
+ {{ temp.certificationNo }}
发证日期:
- {{ temp.certificateDate }}
- 合格证情况:
- {{ temp.certificateSituationValue }}
+ {{ temp.certificateDate }}
+ 合格证状态:
+ {{ temp.certificateStateValue }}
到证日期:
- {{ temp.toCardDate }}
- 领取日期:
- {{ temp.receiveDate }}
+ {{ temp.toCardDate }}
+ 领取日期:
+ {{ temp.receiveDate }}
领取人:
- {{ temp.receiver }}
-
-
+ {{ temp.receiver }}
+
+
+ 合格证情况:
+ {{ temp.certificateSituationValue }}
+
+
备注:
- {{ temp.remarks }}
+ {{ temp.remarks }}
合格证照片:
-
+
合格证详细信息
@@ -98,27 +99,27 @@
CGS印章:
- {{ temp.cgsseal }}
- 车辆型号:
- {{ temp.carModel }}
+ {{ temp.cgsseal }}
+ 功率:
+ {{ temp.power }}
- 车架号:
- {{ temp.vinNo }}
+ 轮胎数:
+ {{ temp.tyreNum }}
总质量:
- {{ temp.totalWeight }}
+ {{ temp.totalWeight }}
- 轮胎数:
- {{ temp.tyreNum }}
车辆品牌:
- {{ temp.carBrand }}
+ {{ temp.carBrand }}
+ 车辆型号:
+ {{ temp.carModel }}
- 功率:
- {{ temp.power }}
+ 车架号:
+ {{ temp.vinNo }}
底盘型号:
- {{ temp.chassisModel }}
+ {{ temp.chassisModel }}
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhang.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhang.vue
index c1da7496bc..71462eae59 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhang.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhang.vue
@@ -1,36 +1,41 @@
-
-
+
@@ -53,9 +58,9 @@
{{ scope.row.certificateDate }}
-
+
- {{ scope.row.certificateSituationValue }}
+ {{ scope.row.certificateStateValue }}
@@ -116,101 +121,131 @@
@@ -493,4 +565,19 @@
.searchli {
padding: 5px 100px;
}
+
+ .btn {
+ padding: 15px 0 15px 0;
+ border: 1px solid #e0e3eb;
+ }
+
+ .tab-header {
+ background-color: #edf1f7;
+ padding: 8px 20px;
+ margin-bottom: 0 !important;
+ }
+
+ .tab-header /deep/ .el-form-item {
+ margin-bottom: 10px;
+ }
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhangAdd.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhangAdd.vue
index d7c47a90dd..ca03106cd0 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhangAdd.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhangAdd.vue
@@ -13,21 +13,12 @@
合格证台账信息
-
-
- 合格证流水号:
-
-
-
合格证编号:
-
-
发证日期:
@@ -36,17 +27,18 @@
+
+
-
- 合格证情况:
-
+ 合格证状态:
+
-
-
+
到证日期:
@@ -55,6 +47,8 @@
+
+
领取日期:
@@ -63,14 +57,24 @@
-
-
领取人:
+
+
+
+
+ 合格证情况:
+
+
+
+
+
@@ -304,100 +308,84 @@