@@ -139,7 +139,9 @@ @@ -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 @@ - + - + @@ -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 @@
- + @@ -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 @@