|
@@ -161,15 +161,19 @@
|
|
</div>
|
|
</div>
|
|
<div class="mymain-container">
|
|
<div class="mymain-container">
|
|
<el-table :data="dataList" border style="width: 100%">
|
|
<el-table :data="dataList" border style="width: 100%">
|
|
- <el-table-column fixed="left" label="操作" min-width="150" align="center">
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ fixed="left"
|
|
|
|
+ label="操作"
|
|
|
|
+ min-width="150"
|
|
|
|
+ align="center"
|
|
|
|
+ >
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
type="text"
|
|
type="text"
|
|
size="small"
|
|
size="small"
|
|
- v-if=" scope.row.examineStatus == 'SAVE'"
|
|
|
|
|
|
+ v-if="scope.row.examineStatus == 'SAVE'"
|
|
@click="(isShow = 5), (id = scope.row.id)"
|
|
@click="(isShow = 5), (id = scope.row.id)"
|
|
>编辑</el-button
|
|
>编辑</el-button
|
|
-
|
|
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
type="text"
|
|
type="text"
|
|
@@ -390,19 +394,15 @@ export default {
|
|
computed: mapState({
|
|
computed: mapState({
|
|
comCode: (state) => state.sales.code,
|
|
comCode: (state) => state.sales.code,
|
|
}),
|
|
}),
|
|
- watch: {},
|
|
|
|
- created() {},
|
|
|
|
methods: {
|
|
methods: {
|
|
hanlenewInfo() {
|
|
hanlenewInfo() {
|
|
console.log();
|
|
console.log();
|
|
- getId().then(res=>{
|
|
|
|
- this.$store.commit("sales/setId",res.data);
|
|
|
|
- this.isShow = 2;
|
|
|
|
- })
|
|
|
|
-
|
|
|
|
|
|
+ getId().then((res) => {
|
|
|
|
+ this.$store.commit("sales/setId", res.data);
|
|
|
|
+ this.isShow = 2;
|
|
|
|
+ });
|
|
},
|
|
},
|
|
getList() {
|
|
getList() {
|
|
-
|
|
|
|
this.listLoading = true;
|
|
this.listLoading = true;
|
|
const params = {
|
|
const params = {
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
@@ -421,7 +421,6 @@ export default {
|
|
status: this.screenForm.status,
|
|
status: this.screenForm.status,
|
|
title: this.screenForm.title,
|
|
title: this.screenForm.title,
|
|
};
|
|
};
|
|
- console.log(params, 123);
|
|
|
|
getList(params).then((res) => {
|
|
getList(params).then((res) => {
|
|
this.dataList = res.data.records;
|
|
this.dataList = res.data.records;
|
|
console.log(this.dataList);
|
|
console.log(this.dataList);
|
|
@@ -484,12 +483,6 @@ export default {
|
|
this.$successMsg("已提交");
|
|
this.$successMsg("已提交");
|
|
this.getList();
|
|
this.getList();
|
|
});
|
|
});
|
|
-
|
|
|
|
- // if (e.examineStatus == "SAVE") {
|
|
|
|
-
|
|
|
|
- // } else {
|
|
|
|
- // this.$errorMsg("未满足条件");
|
|
|
|
- // }
|
|
|
|
},
|
|
},
|
|
hanleExamine(e) {
|
|
hanleExamine(e) {
|
|
if (e.examineStatus == "WAIT") {
|
|
if (e.examineStatus == "WAIT") {
|