Commit 3807f686 authored by 仇晓婷's avatar 仇晓婷

订单报价

parent 4b8c76f6
This diff is collapsed.
...@@ -145,7 +145,7 @@ import PhotosensitiveDetails from "./components/photosensitiveDetails.vue"; // ...@@ -145,7 +145,7 @@ import PhotosensitiveDetails from "./components/photosensitiveDetails.vue"; //
import MetalQuotationGeneration from "./components/metalQuotationGeneration.vue"; //生成报价单弹框 import MetalQuotationGeneration from "./components/metalQuotationGeneration.vue"; //生成报价单弹框
import PhotosensitiveGeneration from "./components/photosensitiveGeneration.vue"; //生成报价单弹框 import PhotosensitiveGeneration from "./components/photosensitiveGeneration.vue"; //生成报价单弹框
var userId = this.$store.state.userInfo.userId;
export default { export default {
components: { components: {
DrawerSet, DrawerSet,
...@@ -164,6 +164,7 @@ export default { ...@@ -164,6 +164,7 @@ export default {
zPhotosensitive: { zPhotosensitive: {
result: [] result: []
}, },
userId: 0,
model1: "", model1: "",
rows: {}, rows: {},
modalDai: false, //待审核 modalDai: false, //待审核
...@@ -638,8 +639,9 @@ export default { ...@@ -638,8 +639,9 @@ export default {
}, },
//报价状态 //报价状态
statusData(row) { statusData(row) {
this.userId = this.$store.state.userInfo.userId;
if (row.status === 2) { if (row.status === 2) {
if (row.auditUser == userId) { if (row.auditUser == this.userId) {
//待审核 //待审核
this.modalDai = true; this.modalDai = true;
this.rows = {}; this.rows = {};
...@@ -648,7 +650,7 @@ export default { ...@@ -648,7 +650,7 @@ export default {
this.$Message.error("您不是当前数据处理的指定人员"); this.$Message.error("您不是当前数据处理的指定人员");
} }
} else if (row.status === 1) { } else if (row.status === 1) {
if (row.creatorUserId == userId) { if (row.creatorUserId == this.userId) {
//待送审 //待送审
this.modalSong = true; this.modalSong = true;
this.rows = {}; this.rows = {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment