清单编辑
This commit is contained in:
@@ -211,26 +211,19 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrqgj"
|
prop="xcxssrq"
|
||||||
sortable
|
sortable
|
||||||
align="center"
|
align="center"
|
||||||
width="150"
|
width="150"
|
||||||
label="新车型实施日期">
|
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>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="zccssrqgj"
|
prop="zccssrq"
|
||||||
sortable
|
sortable
|
||||||
align="center"
|
align="center"
|
||||||
width="150"
|
width="150"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.zccssrqgj }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
@@ -341,14 +334,14 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="zccssrqgj"
|
prop="zccssrq"
|
||||||
sortable
|
sortable
|
||||||
width="210px"
|
width="210px"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrqgj"
|
prop="xcxssrq"
|
||||||
sortable
|
sortable
|
||||||
align="center"
|
align="center"
|
||||||
width="210px"
|
width="210px"
|
||||||
@@ -464,17 +457,17 @@
|
|||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="在产车实施日期" prop="zccssrqgj">
|
<el-form-item label="在产车实施日期" prop="zccssrq">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model.trim="editRowData.zccssrqgj"
|
v-model.trim="editRowData.zccssrq"
|
||||||
type="dates"
|
type="dates"
|
||||||
value-format="yyyy-MM-dd"
|
value-format="yyyy-MM-dd"
|
||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="新车型实施日期" prop="xcxssrqgj">
|
<el-form-item label="新车型实施日期" prop="xcxssrq">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model.trim="editRowData.xcxssrqgj"
|
v-model.trim="editRowData.xcxssrq"
|
||||||
type="dates"
|
type="dates"
|
||||||
value-format="yyyy-MM-dd"
|
value-format="yyyy-MM-dd"
|
||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
@@ -575,8 +568,8 @@ export default {
|
|||||||
typeApplicable: '',
|
typeApplicable: '',
|
||||||
nylx: '',
|
nylx: '',
|
||||||
ssrq: '',
|
ssrq: '',
|
||||||
zccssrqgj: '',
|
zccssrq: '',
|
||||||
xcxssrqgj: '',
|
xcxssrq: '',
|
||||||
zrbm: '',
|
zrbm: '',
|
||||||
sycpx: '',
|
sycpx: '',
|
||||||
cycvppsbm: '',
|
cycvppsbm: '',
|
||||||
@@ -1251,11 +1244,11 @@ export default {
|
|||||||
if (this.editRowData.ssrq !== null) {
|
if (this.editRowData.ssrq !== null) {
|
||||||
this.editRowData.ssrq = this.editRowData.ssrq.split(',')
|
this.editRowData.ssrq = this.editRowData.ssrq.split(',')
|
||||||
}
|
}
|
||||||
if (this.editRowData.zccssrqgj !== null) {
|
if (this.editRowData.zccssrq !== null) {
|
||||||
this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.split(',')
|
this.editRowData.zccssrq = this.editRowData.zccssrq.split(',')
|
||||||
}
|
}
|
||||||
if (this.editRowData.xcxssrqgj !== null) {
|
if (this.editRowData.xcxssrq !== null) {
|
||||||
this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.split(',')
|
this.editRowData.xcxssrq = this.editRowData.xcxssrq.split(',')
|
||||||
}
|
}
|
||||||
this.drawerEdit = true
|
this.drawerEdit = true
|
||||||
},
|
},
|
||||||
@@ -1263,8 +1256,8 @@ export default {
|
|||||||
cancelInfo() {
|
cancelInfo() {
|
||||||
let Item = JSON.parse(localStorage.getItem('obj'))
|
let Item = JSON.parse(localStorage.getItem('obj'))
|
||||||
this.editRowData.ssrq = Item.ssrq
|
this.editRowData.ssrq = Item.ssrq
|
||||||
this.editRowData.xcxssrqgj = Item.xcxssrqgj
|
this.editRowData.xcxssrq = Item.xcxssrq
|
||||||
this.editRowData.zccssrqgj = Item.zccssrqgj
|
this.editRowData.zccssrq = Item.zccssrq
|
||||||
this.drawerEdit = false
|
this.drawerEdit = false
|
||||||
},
|
},
|
||||||
// 抽屉提交按钮
|
// 抽屉提交按钮
|
||||||
@@ -1272,11 +1265,11 @@ export default {
|
|||||||
if (this.editRowData.ssrq !== null) {
|
if (this.editRowData.ssrq !== null) {
|
||||||
this.editRowData.ssrq = this.editRowData.ssrq.join(',')
|
this.editRowData.ssrq = this.editRowData.ssrq.join(',')
|
||||||
}
|
}
|
||||||
if (this.editRowData.xcxssrqgj !== null){
|
if (this.editRowData.xcxssrq !== null){
|
||||||
this.editRowData.xcxssrqgj = this.editRowData.xcxssrqgj.join(',')
|
this.editRowData.xcxssrq = this.editRowData.xcxssrq.join(',')
|
||||||
}
|
}
|
||||||
if (this.editRowData.zccssrqgj !== null){
|
if (this.editRowData.zccssrq !== null){
|
||||||
this.editRowData.zccssrqgj = this.editRowData.zccssrqgj.join(',')
|
this.editRowData.zccssrq = this.editRowData.zccssrq.join(',')
|
||||||
}
|
}
|
||||||
this.drawerEdit = false
|
this.drawerEdit = false
|
||||||
},
|
},
|
||||||
@@ -1351,15 +1344,15 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].ssrq)
|
rowlist1.push(this.sarAccessInfoList[i].ssrq)
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].xcxssrqgj === null || this.sarAccessInfoList[i].xcxssrqgj === undefined) {
|
if (this.sarAccessInfoList[i].xcxssrq === null || this.sarAccessInfoList[i].xcxssrq === undefined) {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrq = '-')
|
||||||
} else {
|
} else {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj)
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrq)
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].zccssrqgj === null || this.sarAccessInfoList[i].zccssrqgj === undefined) {
|
if (this.sarAccessInfoList[i].zccssrq === null || this.sarAccessInfoList[i].zccssrq === undefined) {
|
||||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '-')
|
rowlist2.push(this.sarAccessInfoList[i].zccssrq = '-')
|
||||||
} else {
|
} else {
|
||||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj)
|
rowlist2.push(this.sarAccessInfoList[i].zccssrq)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(rowlist1)
|
console.log(rowlist1)
|
||||||
|
|||||||
@@ -369,7 +369,7 @@
|
|||||||
width="210px"
|
width="210px"
|
||||||
label="卡车VPPS中文名称">
|
label="卡车VPPS中文名称">
|
||||||
</el-table-column>-->
|
</el-table-column>-->
|
||||||
<el-table-column width="240" align="center" fixed="right" label="操作">
|
<el-table-column width="160" align="center" fixed="right" label="操作">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
@@ -383,12 +383,12 @@
|
|||||||
size="small" @click="moveDown(scope.$index, scope.row)"
|
size="small" @click="moveDown(scope.$index, scope.row)"
|
||||||
v-if="!disabledFlag"
|
v-if="!disabledFlag"
|
||||||
>下移</el-button>
|
>下移</el-button>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="editTghisRow(scope.row)"
|
<!-- @click="editTghisRow(scope.row)"-->
|
||||||
class="common-button-default"
|
<!-- class="common-button-default"-->
|
||||||
type="warning"
|
<!-- type="warning"-->
|
||||||
>编辑</el-button>
|
<!-- >编辑</el-button>-->
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|||||||
+8
-8
@@ -399,7 +399,7 @@
|
|||||||
align="center"
|
align="center"
|
||||||
label="适用产品线">
|
label="适用产品线">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column width="240" align="center" fixed="right" label="操作">
|
<el-table-column width="160" align="center" fixed="right" label="操作">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
@@ -415,13 +415,13 @@
|
|||||||
v-if="!disabledFlag"
|
v-if="!disabledFlag"
|
||||||
>下移
|
>下移
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="editTghisRow(scope.row)"
|
<!-- @click="editTghisRow(scope.row)"-->
|
||||||
class="common-button-default"
|
<!-- class="common-button-default"-->
|
||||||
type="warning"
|
<!-- type="warning"-->
|
||||||
>编辑
|
<!-- >编辑-->
|
||||||
</el-button>
|
<!-- </el-button>-->
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|||||||
Reference in New Issue
Block a user