清单编辑日期问题
This commit is contained in:
@@ -1287,35 +1287,66 @@ export default {
|
||||
this.fileInfoList = []
|
||||
}
|
||||
this.ListModel = false;
|
||||
|
||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById",
|
||||
{ id: this.selectedList[0].id, page: this.page, Size: this.pageSize }, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data === null) {
|
||||
this.dataList = [];
|
||||
}
|
||||
this.dataList = res.data.records;
|
||||
this.dataList.forEach(item => {
|
||||
if(item.xcxssrqgj === 'undefined' ||item.xcxssrqgj === '-' || item.xcxssrqgj === 'null'){
|
||||
item.xcxssrqgj = ''
|
||||
}else{
|
||||
this.$set(item, "XCXSSRQ", item.xcxssrqgj)
|
||||
}
|
||||
if(item.zccssrqgj === 'undefined' || item.zccssrqgj === '-'|| item.zccssrqgj === 'null'){
|
||||
item.zccssrqgj = ''
|
||||
}else{
|
||||
this.$set(item, "ZCCSSRQ", item.zccssrqgj)
|
||||
}
|
||||
})
|
||||
this.listForm.dataList = this.dataList;
|
||||
let formId = [];
|
||||
this.dataList.map(item => {
|
||||
formId.push(item.id);
|
||||
//如果是国家地区清单传入types字段对日期进行区分
|
||||
if(this.listType === 'country'){
|
||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById",
|
||||
{ id: this.selectedList[0].id, types: '1', page: this.page, Size: this.pageSize }, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data === null) {
|
||||
this.dataList = [];
|
||||
}
|
||||
this.dataList = res.data.records;
|
||||
this.dataList.forEach(item => {
|
||||
if(item.xcxssrqgj === 'undefined' ||item.xcxssrqgj === '-' || item.xcxssrqgj === 'null'){
|
||||
item.xcxssrqgj = ''
|
||||
}else{
|
||||
this.$set(item, "XCXSSRQ", item.xcxssrqgj)
|
||||
}
|
||||
if(item.zccssrqgj === 'undefined' || item.zccssrqgj === '-'|| item.zccssrqgj === 'null'){
|
||||
item.zccssrqgj = ''
|
||||
}else{
|
||||
this.$set(item, "ZCCSSRQ", item.zccssrqgj)
|
||||
}
|
||||
})
|
||||
this.listForm.dataList = this.dataList;
|
||||
let formId = [];
|
||||
this.dataList.map(item => {
|
||||
formId.push(item.id);
|
||||
});
|
||||
this.listForm.inforlist = formId.join(",");
|
||||
}, e => {
|
||||
});
|
||||
this.listForm.inforlist = formId.join(",");
|
||||
}, e => {
|
||||
});
|
||||
}else{
|
||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById",
|
||||
{ id: this.selectedList[0].id, page: this.page, Size: this.pageSize }, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data === null) {
|
||||
this.dataList = [];
|
||||
}
|
||||
this.dataList = res.data.records;
|
||||
this.dataList.forEach(item => {
|
||||
if(item.xcxssrqgj === 'undefined' ||item.xcxssrqgj === '-' || item.xcxssrqgj === 'null'){
|
||||
item.xcxssrqgj = ''
|
||||
}else{
|
||||
this.$set(item, "XCXSSRQ", item.xcxssrqgj)
|
||||
}
|
||||
if(item.zccssrqgj === 'undefined' || item.zccssrqgj === '-'|| item.zccssrqgj === 'null'){
|
||||
item.zccssrqgj = ''
|
||||
}else{
|
||||
this.$set(item, "ZCCSSRQ", item.zccssrqgj)
|
||||
}
|
||||
})
|
||||
this.listForm.dataList = this.dataList;
|
||||
let formId = [];
|
||||
this.dataList.map(item => {
|
||||
formId.push(item.id);
|
||||
});
|
||||
this.listForm.inforlist = formId.join(",");
|
||||
}, e => {
|
||||
});
|
||||
}
|
||||
this.$refs.detailedSelection.clearSelection()
|
||||
} else {
|
||||
this.$message.warning("请选择一条数据进行带入");
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
||||
<div class="file-box" v-if="fileList.length > 0">
|
||||
<p v-for="item in fileList"
|
||||
:key="item.id"> {{ item.name }}
|
||||
:key="item.id" @click="clickButtonToUpload2(item.id)"> {{ item.name }}
|
||||
<i
|
||||
title="下载"
|
||||
@click="downloadFile(item.id)"
|
||||
@@ -372,6 +372,10 @@ export default {
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
clickButtonToUpload2(file) {
|
||||
const attId = file
|
||||
this.$preview(attId)
|
||||
},
|
||||
/**
|
||||
* @Description: 点击下载
|
||||
*/
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
||||
<div class="file-box" v-if="fileList.length > 0">
|
||||
<p v-for="item in fileList"
|
||||
:key="item.id"> {{ item.name }}
|
||||
:key="item.id" @click="clickButtonToUpload2(item.id)"> {{ item.name }}
|
||||
<i
|
||||
title="下载"
|
||||
@click="downloadFile(item.id)"
|
||||
@@ -441,6 +441,11 @@ export default {
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
//点击预览
|
||||
clickButtonToUpload2(file) {
|
||||
const attId = file
|
||||
this.$preview(attId)
|
||||
},
|
||||
/**
|
||||
* @Description: 点击下载
|
||||
*/
|
||||
|
||||
@@ -40,7 +40,8 @@
|
||||
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
||||
<div class="file-box" v-if="fileList.length > 0">
|
||||
<p v-for="item in fileList"
|
||||
:key="item.id"> {{ item.name }}
|
||||
:key="item.id" @click="clickButtonToUpload2(item.id)">
|
||||
{{ item.name }}
|
||||
<i
|
||||
title="下载"
|
||||
@click="downloadFile(item.id)"
|
||||
@@ -382,6 +383,11 @@ export default {
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
//点击预览
|
||||
clickButtonToUpload2(file) {
|
||||
const attId = file
|
||||
this.$preview(attId)
|
||||
},
|
||||
/**
|
||||
* @Description: 点击下载
|
||||
*/
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.lawsName}}</span>
|
||||
<span @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName|| scope.row.standEnName || scope.row.lawsName}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -334,14 +334,14 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
prop="zccssrq"
|
||||
prop="zccssrqgj"
|
||||
sortable
|
||||
width="210px"
|
||||
align="center"
|
||||
label="在产车实施日期">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="xcxssrq"
|
||||
prop="xcxssrqgj"
|
||||
sortable
|
||||
align="center"
|
||||
width="210px"
|
||||
@@ -457,17 +457,17 @@
|
||||
placeholder="选择日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期" prop="zccssrq">
|
||||
<el-form-item label="在产车实施日期" prop="zccssrqgj">
|
||||
<el-date-picker
|
||||
v-model.trim="editRowData.zccssrq"
|
||||
v-model.trim="editRowData.zccssrqgj"
|
||||
type="dates"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期" prop="xcxssrq">
|
||||
<el-form-item label="新车型实施日期" prop="xcxssrqgj">
|
||||
<el-date-picker
|
||||
v-model.trim="editRowData.xcxssrq"
|
||||
v-model.trim="editRowData.xcxssrqgj"
|
||||
type="dates"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择日期">
|
||||
@@ -503,31 +503,30 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import CustomInputForStandards from '@/components/CustomFormComponents/InputForStandards'
|
||||
import CustomInputForStandardsForeign from '@/components/CustomFormComponents/InputForStandardsForForeign'
|
||||
import CustomInput from '@/components/CustomFormComponents/Input'
|
||||
import CustomTextarea from '@/components/CustomFormComponents/Textarea'
|
||||
import CustomSearchSelect from '@/components/CustomFormComponents/SearchSelect'
|
||||
import CustomSelect from '@/components/CustomFormComponents/Select'
|
||||
import CustomDatePick from '@/components/CustomFormComponents/DatePicker'
|
||||
import CustomFile from '@/components/CustomFormComponents/File'
|
||||
import CustomInputNum from '@/components/CustomFormComponents/InputNum'
|
||||
import CustomDatePickGroup from '@/components/CustomFormComponents/DatePickerGroup'
|
||||
import CustomSelectArray from '@/components/CustomFormComponents/SelectArray'
|
||||
import TreePopover from '@/components/CustomFormComponents/TreePopover'
|
||||
import CustomOrg from '@/components/CustomFormComponents/OrgTree'
|
||||
import CustomEopDatePick from '@/components/CustomFormComponents/DatePickerWithText'
|
||||
import CustomDatePickWithText, {formatText} from '@/components/CustomFormComponents/DatePickerGroupWithText'
|
||||
import CustomSVPPS from '@/components/CustomFormComponents/SVPPS'
|
||||
import CustomInputForPolicy from '@/components/CustomFormComponents/InputForPolicy'
|
||||
import CustomRoleTree from '@/components/CustomFormComponents/roleTree'
|
||||
import stand from "../../../config/pages/attributeCustom/components/stand";
|
||||
import {mapGetters} from 'vuex'
|
||||
import {dicTypeData, StandardsInfoPage} from '@/api/unqualProcess'
|
||||
import {interfaceUrl} from "@/sysConfig";
|
||||
import CustomInputForStandards from "@/components/CustomFormComponents/InputForStandards";
|
||||
import CustomInputForStandardsForeign from "@/components/CustomFormComponents/InputForStandardsForForeign";
|
||||
import CustomInput from "@/components/CustomFormComponents/Input";
|
||||
import CustomTextarea from "@/components/CustomFormComponents/Textarea";
|
||||
import CustomSearchSelect from "@/components/CustomFormComponents/SearchSelect";
|
||||
import CustomSelect from "@/components/CustomFormComponents/Select";
|
||||
import CustomDatePick from "@/components/CustomFormComponents/DatePicker";
|
||||
import CustomFile from "@/components/CustomFormComponents/File";
|
||||
import CustomInputNum from "@/components/CustomFormComponents/InputNum";
|
||||
import CustomDatePickGroup from "@/components/CustomFormComponents/DatePickerGroup";
|
||||
import CustomSelectArray from "@/components/CustomFormComponents/SelectArray";
|
||||
import TreePopover from "@/components/CustomFormComponents/TreePopover";
|
||||
import CustomOrg from "@/components/CustomFormComponents/OrgTree";
|
||||
import CustomEopDatePick from "@/components/CustomFormComponents/DatePickerWithText";
|
||||
import CustomDatePickWithText, { formatText } from "@/components/CustomFormComponents/DatePickerGroupWithText";
|
||||
import CustomSVPPS from "@/components/CustomFormComponents/SVPPS";
|
||||
import CustomInputForPolicy from "@/components/CustomFormComponents/InputForPolicy";
|
||||
import CustomRoleTree from "@/components/CustomFormComponents/roleTree";
|
||||
import { mapGetters } from "vuex";
|
||||
import { dicTypeData, StandardsInfoPage } from "@/api/unqualProcess";
|
||||
import { interfaceUrl } from "@/sysConfig";
|
||||
|
||||
export default {
|
||||
name: 'ListOfStandardsAndRegulationsDetails',
|
||||
name: "ListOfStandardsAndRegulationsDetails",
|
||||
components: {
|
||||
CustomFile,
|
||||
CustomInput,
|
||||
@@ -1170,19 +1169,19 @@ export default {
|
||||
//为空转换
|
||||
for (let i = 0; i < this.selectedAccInfoSearchList.length; i++) {
|
||||
//适用车型为空
|
||||
if (this.selectedAccInfoSearchList[i].typeApplicable === '[]'){
|
||||
if (this.selectedAccInfoSearchList[i].typeApplicable === "[]"){
|
||||
this.selectedAccInfoSearchList[i].typeApplicable = null
|
||||
}
|
||||
//能源类型为空
|
||||
if (this.selectedAccInfoSearchList[i].nylx === '[]'){
|
||||
if (this.selectedAccInfoSearchList[i].nylx === "[]"){
|
||||
this.selectedAccInfoSearchList[i].nylx = null
|
||||
}
|
||||
//责任部门为空
|
||||
if (this.selectedAccInfoSearchList[i].zrbm === '[]'){
|
||||
if (this.selectedAccInfoSearchList[i].zrbm === "[]"){
|
||||
this.selectedAccInfoSearchList[i].zrbm = null
|
||||
}
|
||||
//试用产品线为空
|
||||
if (this.selectedAccInfoSearchList[i].sycpx === '[]'){
|
||||
if (this.selectedAccInfoSearchList[i].sycpx === "[]"){
|
||||
this.selectedAccInfoSearchList[i].sycpx = null
|
||||
}
|
||||
}
|
||||
@@ -1200,6 +1199,38 @@ export default {
|
||||
this.$message.warning('请勿添加重复数据')
|
||||
} else {
|
||||
this.sarAccessInfoList.push(item)
|
||||
this.sarAccessInfoList.forEach(item => {
|
||||
this.$set(item, 'xcxssrqgj', item.xcxssrq)
|
||||
this.$set(item, 'zccssrqgj', item.zccssrq)
|
||||
if(item.attrInfoCaseMap !== undefined){
|
||||
this.$set(item, 'typeApplicable', item.attrInfoCaseMap.cllx)
|
||||
this.$set(item, 'nylx', item.attrInfoCaseMap.nylx)
|
||||
}
|
||||
// 能源类型转换
|
||||
if (item.nylx !== null) {
|
||||
let k = (item.nylx || "").split(",");
|
||||
for (let i in this.applyArcticOptions) {
|
||||
for (let m = 0; m < k.length; m++) {
|
||||
if (this.applyArcticOptions[i].value === k[m]) {
|
||||
k[m] = this.applyArcticOptions[i].label;
|
||||
}
|
||||
item.nylx = k.join(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
// 适用车型转换
|
||||
if (item.typeApplicable !== null) {
|
||||
let k = (item.typeApplicable || "").split(",");
|
||||
for (let i in this.energyKindOptions) {
|
||||
for (let m = 0; m < k.length; m++) {
|
||||
if (this.energyKindOptions[i].value === k[m]) {
|
||||
k[m] = this.energyKindOptions[i].label;
|
||||
}
|
||||
item.typeApplicable = k.join(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
// this.$refs.accessTypeSelect.clearSelection()
|
||||
this.$refs.entryTable.clearSelection()
|
||||
this.$refs.searchTable.clearSelection()
|
||||
@@ -1236,40 +1267,48 @@ export default {
|
||||
},
|
||||
// 编辑按钮
|
||||
editTghisRow(row) {
|
||||
console.log(row);
|
||||
// 用来储存取消时原来的数据,防止取消时修改
|
||||
localStorage.setItem('obj', JSON.stringify(row))
|
||||
localStorage.setItem("obj", JSON.stringify(row));
|
||||
|
||||
this.rowList = row
|
||||
this.editRowData = this.rowList
|
||||
if (this.editRowData.ssrq !== null) {
|
||||
this.editRowData.ssrq = this.editRowData.ssrq.split(',')
|
||||
this.rowList = row;
|
||||
this.editRowData = this.rowList;
|
||||
if (this.editRowData.ssrq === "-") {
|
||||
this.editRowData.ssrq = "";
|
||||
} else if (this.editRowData.ssrq !== null && this.editRowData.ssrq !== "-" && this.editRowData.ssrq !== "") {
|
||||
this.editRowData.ssrq = this.editRowData.ssrq.split(",");
|
||||
}
|
||||
if (this.editRowData.zccssrq !== null) {
|
||||
this.editRowData.zccssrq = this.editRowData.zccssrq.split(',')
|
||||
if (this.editRowData.zccssrqgj === "-") {
|
||||
this.editRowData.zccssrqgj = "";
|
||||
} else if (this.editRowData.zccssrqgj !== null && this.editRowData.zccssrqgj !== "-" && this.editRowData.zccssrqgj !== "") {
|
||||
this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.split(",");
|
||||
}
|
||||
if (this.editRowData.xcxssrq !== null) {
|
||||
this.editRowData.xcxssrq = this.editRowData.xcxssrq.split(',')
|
||||
if (this.editRowData.xcxssrqgj === "-") {
|
||||
this.editRowData.xcxssrqgj = "";
|
||||
} else if (this.editRowData.xcxssrqgj !== null && this.editRowData.xcxssrqgj !== "-" && this.editRowData.xcxssrqgj !== " ") {
|
||||
this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.split(",");
|
||||
}
|
||||
this.drawerEdit = true
|
||||
this.drawerEdit = true;
|
||||
},
|
||||
// 抽屉取消按钮
|
||||
cancelInfo() {
|
||||
let Item = JSON.parse(localStorage.getItem('obj'))
|
||||
this.editRowData.ssrq = Item.ssrq
|
||||
this.editRowData.xcxssrq = Item.xcxssrq
|
||||
this.editRowData.zccssrq = Item.zccssrq
|
||||
this.editRowData.xcxssrqgj = Item.xcxssrqgj
|
||||
this.editRowData.zccssrqgj = Item.zccssrqgj
|
||||
this.drawerEdit = false
|
||||
},
|
||||
// 抽屉提交按钮
|
||||
saveInfo() {
|
||||
if (this.editRowData.ssrq !== null) {
|
||||
console.log(this.editRowData);
|
||||
if (this.editRowData.ssrq !== '') {
|
||||
this.editRowData.ssrq = this.editRowData.ssrq.join(',')
|
||||
}
|
||||
if (this.editRowData.xcxssrq !== null){
|
||||
this.editRowData.xcxssrq = this.editRowData.xcxssrq.join(',')
|
||||
if (this.editRowData.xcxssrqgj !== ''){
|
||||
this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.join(',')
|
||||
}
|
||||
if (this.editRowData.zccssrq !== null){
|
||||
this.editRowData.zccssrq = this.editRowData.zccssrq.join(',')
|
||||
if (this.editRowData.zccssrqgj !== ''){
|
||||
this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.join(',')
|
||||
}
|
||||
this.drawerEdit = false
|
||||
},
|
||||
@@ -1344,15 +1383,15 @@ export default {
|
||||
} else {
|
||||
rowlist1.push(this.sarAccessInfoList[i].ssrq)
|
||||
}
|
||||
if (this.sarAccessInfoList[i].xcxssrq === null || this.sarAccessInfoList[i].xcxssrq === undefined) {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrq = '-')
|
||||
if (this.sarAccessInfoList[i].xcxssrqgj === null || this.sarAccessInfoList[i].xcxssrqgj === undefined) {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||
} else {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrq)
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj)
|
||||
}
|
||||
if (this.sarAccessInfoList[i].zccssrq === null || this.sarAccessInfoList[i].zccssrq === undefined) {
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrq = '-')
|
||||
if (this.sarAccessInfoList[i].zccssrqgj === null || this.sarAccessInfoList[i].zccssrqgj === undefined) {
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '-')
|
||||
} else {
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrq)
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj)
|
||||
}
|
||||
}
|
||||
console.log(rowlist1)
|
||||
@@ -2024,6 +2063,7 @@ export default {
|
||||
getData() {
|
||||
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {
|
||||
id: this.zqaId,
|
||||
types: '1',
|
||||
page: this.page,
|
||||
Size: this.Size
|
||||
}, {
|
||||
@@ -2032,12 +2072,23 @@ export default {
|
||||
if (res.ok) {
|
||||
this.sarAccessInfoList = res.data.records
|
||||
this.sarAccessInfoList.map(item => {
|
||||
if (item.nylx === "[]") {
|
||||
item.nylx = "";
|
||||
}
|
||||
if (item.zrbm === "[]") {
|
||||
item.zrbm = "";
|
||||
}
|
||||
if (item.sycpx === "[]") {
|
||||
item.sycpx = "";
|
||||
}
|
||||
if (item.typeApplicable === "[]") {
|
||||
item.typeApplicable = "";
|
||||
}
|
||||
if (item.standYear === null) {
|
||||
item.standNumber = item.standSortShow + ' ' + item.standNumber
|
||||
item.standNumber = item.standSortShow + " " + item.standNumber;
|
||||
} else {
|
||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||
item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear;
|
||||
}
|
||||
console.log(item.standNumber)
|
||||
})
|
||||
}
|
||||
})
|
||||
@@ -2076,10 +2127,12 @@ export default {
|
||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||
_this: this
|
||||
}, res => {
|
||||
console.log('能源类型',res.data.NYLXCLASS);
|
||||
console.log('适用车型',res.data.ENERGYTYPES);
|
||||
this.allSelectOptions = res.data || {}
|
||||
this.regionOptions = res.data.REGION // 基础信息 区域list
|
||||
this.applyArcticOptions = res.data.PRODUCTTYPE // 基础车型 适用车型list
|
||||
this.energyKindOptions = res.data.ENERGYTYPES // 能源种类list
|
||||
this.applyArcticOptions = res.data.NYLXCLASS // 能源类型
|
||||
this.energyKindOptions = res.data.ENERGYTYPES // 适用车型
|
||||
this.CycxOptions = res.data.CLLX
|
||||
this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list
|
||||
this.applyOptions = res.data.COUNTRY //适用区域list
|
||||
|
||||
+26
-36
@@ -184,29 +184,19 @@
|
||||
align="center"
|
||||
sortable
|
||||
label="发布日期">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="xcxssrqgj"
|
||||
prop="xcxssrq"
|
||||
sortable
|
||||
align="center"
|
||||
label="新车型实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.xcxssrqgj">{{ scope.row.xcxssrqgj }}</span>
|
||||
<span v-else-if="scope.row.putTime">{{ scope.row.putTime }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
prop="zccssrqgj"
|
||||
prop="zccssrq"
|
||||
align="center"
|
||||
sortable
|
||||
label="在产车实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.zccssrqgj }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
@@ -314,14 +304,14 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
prop="zccssrqgj"
|
||||
prop="zccssrq"
|
||||
sortable
|
||||
width="210px"
|
||||
align="center"
|
||||
label="在产车实施日期">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="xcxssrqgj"
|
||||
prop="xcxssrq"
|
||||
sortable
|
||||
align="center"
|
||||
width="210px"
|
||||
@@ -457,17 +447,17 @@
|
||||
placeholder="选择日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期" prop="zccssrqgj">
|
||||
<el-form-item label="在产车实施日期" prop="zccssrq">
|
||||
<el-date-picker
|
||||
v-model.trim="editRowData.zccssrqgj"
|
||||
v-model.trim="editRowData.zccssrq"
|
||||
type="dates"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期" prop="xcxssrqgj">
|
||||
<el-form-item label="新车型实施日期" prop="xcxssrq">
|
||||
<el-date-picker
|
||||
v-model.trim="editRowData.xcxssrqgj"
|
||||
v-model.trim="editRowData.xcxssrq"
|
||||
type="dates"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择日期">
|
||||
@@ -576,8 +566,8 @@ export default {
|
||||
typeApplicable: '',
|
||||
nylx: '',
|
||||
ssrq: '',
|
||||
zccssrqgj: '',
|
||||
xcxssrqgj: '',
|
||||
zccssrq: '',
|
||||
xcxssrq: '',
|
||||
zrbm: '',
|
||||
sycpx: '',
|
||||
cycvppsbm: '',
|
||||
@@ -1237,11 +1227,11 @@ export default {
|
||||
if (this.editRowData.ssrq !== null) {
|
||||
this.editRowData.ssrq = this.editRowData.ssrq.split(',')
|
||||
}
|
||||
if (this.editRowData.zccssrqgj !== null) {
|
||||
this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.split(',')
|
||||
if (this.editRowData.zccssrq !== null) {
|
||||
this.editRowData.zccssrq = this.editRowData.zccssrq.split(',')
|
||||
}
|
||||
if (this.editRowData.xcxssrqgj !== null) {
|
||||
this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.split(',')
|
||||
if (this.editRowData.xcxssrq !== null) {
|
||||
this.editRowData.xcxssrq = this.editRowData.xcxssrq.split(',')
|
||||
}
|
||||
this.drawerEdit = true
|
||||
},
|
||||
@@ -1249,8 +1239,8 @@ export default {
|
||||
cancelInfo() {
|
||||
let Item = JSON.parse(localStorage.getItem('obj'))
|
||||
this.editRowData.ssrq = Item.ssrq
|
||||
this.editRowData.xcxssrqgj = Item.xcxssrqgj
|
||||
this.editRowData.zccssrqgj = Item.zccssrqgj
|
||||
this.editRowData.xcxssrq = Item.xcxssrq
|
||||
this.editRowData.zccssrq = Item.zccssrq
|
||||
this.drawerEdit = false
|
||||
},
|
||||
// 抽屉提交按钮
|
||||
@@ -1258,11 +1248,11 @@ export default {
|
||||
if (this.editRowData.ssrq !== null) {
|
||||
this.editRowData.ssrq = this.editRowData.ssrq.join(',')
|
||||
}
|
||||
if (this.editRowData.xcxssrqgj !== null){
|
||||
this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.join(',')
|
||||
if (this.editRowData.xcxssrq !== null){
|
||||
this.editRowData.xcxssrq = this.editRowData.xcxssrq.join(',')
|
||||
}
|
||||
if (this.editRowData.zccssrqgj !== null){
|
||||
this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.join(',')
|
||||
if (this.editRowData.zccssrq !== null){
|
||||
this.editRowData.zccssrq = this.editRowData.zccssrq.join(',')
|
||||
}
|
||||
this.drawerEdit = false
|
||||
},
|
||||
@@ -1336,15 +1326,15 @@ export default {
|
||||
} else {
|
||||
rowlist1.push(this.sarAccessInfoList[i].ssrq.toString())
|
||||
}
|
||||
if (this.sarAccessInfoList[i].xcxssrqgj === null || this.sarAccessInfoList[i].xcxssrqgj === undefined) {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||
if (this.sarAccessInfoList[i].xcxssrq === null || this.sarAccessInfoList[i].xcxssrq === undefined) {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrq = '-')
|
||||
} else {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrq.toString())
|
||||
}
|
||||
if (this.sarAccessInfoList[i].zccssrqgj === null || this.sarAccessInfoList[i].zccssrqgj === undefined) {
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '-')
|
||||
if (this.sarAccessInfoList[i].zccssrq === null || this.sarAccessInfoList[i].zccssrq === undefined) {
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrq = '-')
|
||||
} else {
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrq.toString())
|
||||
}
|
||||
}
|
||||
rowlist = rowlist.join(',')
|
||||
|
||||
+26
-36
@@ -241,29 +241,19 @@
|
||||
sortable
|
||||
align="center"
|
||||
label="发布日期">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="xcxssrqgj"
|
||||
prop="xcxssrq"
|
||||
sortable
|
||||
align="center"
|
||||
label="新车型实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.xcxssrqgj">{{ scope.row.xcxssrqgj }}</span>
|
||||
<span v-else-if="scope.row.putTime">{{ scope.row.putTime }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
prop="zccssrqgj"
|
||||
prop="zccssrq"
|
||||
sortable
|
||||
align="center"
|
||||
label="在产车实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.zccssrqgj }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
@@ -372,14 +362,14 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
prop="zccssrqgj"
|
||||
prop="zccssrq"
|
||||
sortable
|
||||
width="210px"
|
||||
align="center"
|
||||
label="在产车实施日期">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="xcxssrqgj"
|
||||
prop="xcxssrq"
|
||||
sortable
|
||||
align="center"
|
||||
width="210px"
|
||||
@@ -494,17 +484,17 @@
|
||||
placeholder="选择日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="在产车实施日期" prop="zccssrqgj">
|
||||
<el-form-item label="在产车实施日期" prop="zccssrq">
|
||||
<el-date-picker
|
||||
v-model.trim="editRowData.zccssrqgj"
|
||||
v-model.trim="editRowData.zccssrq"
|
||||
type="dates"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="新车型实施日期" prop="xcxssrqgj">
|
||||
<el-form-item label="新车型实施日期" prop="xcxssrq">
|
||||
<el-date-picker
|
||||
v-model.trim="editRowData.xcxssrqgj"
|
||||
v-model.trim="editRowData.xcxssrq"
|
||||
type="dates"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="选择日期">
|
||||
@@ -631,8 +621,8 @@ export default {
|
||||
syrz: '',
|
||||
nylx: '',
|
||||
ssrq: '',
|
||||
zccssrqgj: '',
|
||||
xcxssrqgj: '',
|
||||
zccssrq: '',
|
||||
xcxssrq: '',
|
||||
zrbm: '',
|
||||
sycpx: '',
|
||||
cycvppsbm: '',
|
||||
@@ -1207,11 +1197,11 @@ export default {
|
||||
if (this.editRowData.ssrq !== null) {
|
||||
this.editRowData.ssrq = this.editRowData.ssrq.split(',')
|
||||
}
|
||||
if (this.editRowData.zccssrqgj !== null) {
|
||||
this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.split(',')
|
||||
if (this.editRowData.zccssrq !== null) {
|
||||
this.editRowData.zccssrq = this.editRowData.zccssrq.split(',')
|
||||
}
|
||||
if (this.editRowData.xcxssrqgj !== null) {
|
||||
this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.split(',')
|
||||
if (this.editRowData.xcxssrq !== null) {
|
||||
this.editRowData.xcxssrq = this.editRowData.xcxssrq.split(',')
|
||||
}
|
||||
this.drawerEdit = true
|
||||
},
|
||||
@@ -1219,8 +1209,8 @@ export default {
|
||||
cancelInfo() {
|
||||
let Item = JSON.parse(localStorage.getItem('obj'))
|
||||
this.editRowData.ssrq = Item.ssrq
|
||||
this.editRowData.xcxssrqgj = Item.xcxssrqgj
|
||||
this.editRowData.zccssrqgj = Item.zccssrqgj
|
||||
this.editRowData.xcxssrq = Item.xcxssrq
|
||||
this.editRowData.zccssrq = Item.zccssrq
|
||||
this.drawerEdit = false
|
||||
},
|
||||
// 抽屉提交按钮
|
||||
@@ -1228,11 +1218,11 @@ export default {
|
||||
if (this.editRowData.ssrq !== null) {
|
||||
this.editRowData.ssrq = this.editRowData.ssrq.join(',')
|
||||
}
|
||||
if (this.editRowData.xcxssrqgj !== null){
|
||||
this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.join(',')
|
||||
if (this.editRowData.xcxssrq !== null){
|
||||
this.editRowData.xcxssrq = this.editRowData.xcxssrq.join(',')
|
||||
}
|
||||
if (this.editRowData.zccssrqgj !== null){
|
||||
this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.join(',')
|
||||
if (this.editRowData.zccssrq !== null){
|
||||
this.editRowData.zccssrq = this.editRowData.zccssrq.join(',')
|
||||
}
|
||||
this.drawerEdit = false
|
||||
},
|
||||
@@ -1307,15 +1297,15 @@ export default {
|
||||
} else {
|
||||
rowlist1.push(this.sarAccessInfoList[i].ssrq.toString())
|
||||
}
|
||||
if (this.sarAccessInfoList[i].xcxssrqgj === null || this.sarAccessInfoList[i].xcxssrqgj === undefined) {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||
if (this.sarAccessInfoList[i].xcxssrq === null || this.sarAccessInfoList[i].xcxssrq === undefined) {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrq = '-')
|
||||
} else {
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrq.toString())
|
||||
}
|
||||
if (this.sarAccessInfoList[i].zccssrqgj === null || this.sarAccessInfoList[i].zccssrqgj === undefined) {
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '-')
|
||||
if (this.sarAccessInfoList[i].zccssrq === null || this.sarAccessInfoList[i].zccssrq === undefined) {
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrq = '-')
|
||||
} else {
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
||||
rowlist2.push(this.sarAccessInfoList[i].zccssrq.toString())
|
||||
}
|
||||
}
|
||||
rowlist = rowlist.join(',')
|
||||
|
||||
Reference in New Issue
Block a user