Commit 52ae88c4 authored by youjie's avatar youjie
parents 7a76265a 0e9004ff
This diff is collapsed.
...@@ -1140,7 +1140,7 @@ ...@@ -1140,7 +1140,7 @@
</template> </template>
5 5
<template <template
v-if="CtObj.ContractTicketAndHotel && (CtObj.ContractTicketAndHotel.ContractHotels ||CtObj.ContractTicketAndHotel.ContractTickets)"> v-if="CtObj.ContractTicketAndHotel && ((CtObj.ContractTicketAndHotel.ContractHotels&&CtObj.ContractTicketAndHotel.ContractHotels.length>0) ||(CtObj.ContractTicketAndHotel.ContractTickets&&CtObj.ContractTicketAndHotel.ContractTickets.length>0))">
<img <img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAflBMVEUAAAAAAACwsLC5ubm5ubm5ubm4uLizs7O1tbWmpqa5ubm5ubm3t7evr6////+5ubnt7e3y8vLq6ur6+vr09PTo6Oj4+Pjv7++8vLxYWFicnJxxcXFgYGDi4uLb29vBwcHExMS7u7uUlJSKiorg4ODT09PJycmjo6OCgoJpaWms464fAAAADnRSTlMACQ/7atLJvWBWCdW/WGJ0ck0AAACVSURBVBjTbc5HFoMwDEVRJ/QUWRiM40IJpO5/g5FNm+QOdI7e6LN/4oSvktiHvEdY4eBTKmCnzlQiqGbG2QruJ8Y4NMGgrWzgdvSlDr6uq+ullB7Xhu5WRlN+XLsXpSY96VGRpSA+rNYvJFvBp7O4lQhQCGHewgt7LhKElF0nCYiUNl/7FlZtnzNSZBGfRVnBgsOOvh9/9xAo+8NxzQAAAABJRU5ErkJggg==" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAflBMVEUAAAAAAACwsLC5ubm5ubm5ubm4uLizs7O1tbWmpqa5ubm5ubm3t7evr6////+5ubnt7e3y8vLq6ur6+vr09PTo6Oj4+Pjv7++8vLxYWFicnJxxcXFgYGDi4uLb29vBwcHExMS7u7uUlJSKiorg4ODT09PJycmjo6OCgoJpaWms464fAAAADnRSTlMACQ/7atLJvWBWCdW/WGJ0ck0AAACVSURBVBjTbc5HFoMwDEVRJ/QUWRiM40IJpO5/g5FNm+QOdI7e6LN/4oSvktiHvEdY4eBTKmCnzlQiqGbG2QruJ8Y4NMGgrWzgdvSlDr6uq+ullB7Xhu5WRlN+XLsXpSY96VGRpSA+rNYvJFvBp7O4lQhQCGHewgt7LhKElF0nCYiUNl/7FlZtnzNSZBGfRVnBgsOOvh9/9xAo+8NxzQAAAABJRU5ErkJggg=="
style="margin-bottom: -4px;width:3rem;" /> style="margin-bottom: -4px;width:3rem;" />
...@@ -1150,9 +1150,7 @@ ...@@ -1150,9 +1150,7 @@
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAdVBMVEUAAAAAAACwsLDNzc3Q0ND///+5ubn///+5ubm8vLzz8/Pt7e3r6+vo6Ojv7+/6+vr4+PjS0tKbm5vk5OTf39/b29vCwsKJiYni4uLa2tqsrKx3d3e2trawsLCpqamkpKSSkpLExMSfn5+Li4uEhIR9fX0mJiaMZFtDAAAAB3RSTlMAEh3+/YUS7eKGqgAAAJ1JREFUGNNtzzcWwjAQRVHANkqjnJxt4v6XiMRBiILXza3+HP7UtQSXSNsl0YGhEru0SQigmiBJMJJghZSScisROWdRzoxKKWy0QuSUhfIxLizcjKNFKJ0fZtos/RGxPqOjXxFC4ClOCwjxEdaP983P8epZkWE3lrF1b6o0AwA4reG9h3AEnHvPUwjy5jb0qNQHnX9vcK3pDrljLV0vwMkLmE4T88cAAAAASUVORK5CYII=" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAdVBMVEUAAAAAAACwsLDNzc3Q0ND///+5ubn///+5ubm8vLzz8/Pt7e3r6+vo6Ojv7+/6+vr4+PjS0tKbm5vk5OTf39/b29vCwsKJiYni4uLa2tqsrKx3d3e2trawsLCpqamkpKSSkpLExMSfn5+Li4uEhIR9fX0mJiaMZFtDAAAAB3RSTlMAEh3+/YUS7eKGqgAAAJ1JREFUGNNtzzcWwjAQRVHANkqjnJxt4v6XiMRBiILXza3+HP7UtQSXSNsl0YGhEru0SQigmiBJMJJghZSScisROWdRzoxKKWy0QuSUhfIxLizcjKNFKJ0fZtos/RGxPqOjXxFC4ClOCwjxEdaP983P8epZkWE3lrF1b6o0AwA4reG9h3AEnHvPUwjy5jb0qNQHnX9vcK3pDrljLV0vwMkLmE4T88cAAAAASUVORK5CYII="
style="margin-bottom: -4px;width:3rem;" /> style="margin-bottom: -4px;width:3rem;" />
</template> </template>
6 <img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAflBMVEUAAAAAAACwsLC5ubm5ubm5ubm4uLizs7O1tbWmpqa5ubm5ubm3t7evr6////+5ubnt7e3y8vLq6ur6+vr09PTo6Oj4+Pjv7++8vLxYWFicnJxxcXFgYGDi4uLb29vBwcHExMS7u7uUlJSKiorg4ODT09PJycmjo6OCgoJpaWms464fAAAADnRSTlMACQ/7atLJvWBWCdW/WGJ0ck0AAACVSURBVBjTbc5HFoMwDEVRJ/QUWRiM40IJpO5/g5FNm+QOdI7e6LN/4oSvktiHvEdY4eBTKmCnzlQiqGbG2QruJ8Y4NMGgrWzgdvSlDr6uq+ullB7Xhu5WRlN+XLsXpSY96VGRpSA+rNYvJFvBp7O4lQhQCGHewgt7LhKElF0nCYiUNl/7FlZtnzNSZBGfRVnBgsOOvh9/9xAo+8NxzQAAAABJRU5ErkJggg=="
style="margin-bottom: -4px;width:3rem;" />等共计
等共计<span>&nbsp;<font>{{getTotalNum(getCount())}}</font></span>&nbsp;项服务。</p> 等共计<span>&nbsp;<font>{{getTotalNum(getCount())}}</font></span>&nbsp;项服务。</p>
</el-col> </el-col>
</el-row> </el-row>
...@@ -1243,7 +1241,7 @@ ...@@ -1243,7 +1241,7 @@
</template> </template>
5 5
<template <template
v-if="CtObj.ContractTicketAndHotel && (CtObj.ContractTicketAndHotel.ContractHotels ||CtObj.ContractTicketAndHotel.ContractTickets)"> v-if="CtObj.ContractTicketAndHotel && ((CtObj.ContractTicketAndHotel.ContractHotels&&CtObj.ContractTicketAndHotel.ContractHotels.length>0) ||(CtObj.ContractTicketAndHotel.ContractTickets&&CtObj.ContractTicketAndHotel.ContractTickets.length>0))">
<img <img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAflBMVEUAAAAAAACwsLC5ubm5ubm5ubm4uLizs7O1tbWmpqa5ubm5ubm3t7evr6////+5ubnt7e3y8vLq6ur6+vr09PTo6Oj4+Pjv7++8vLxYWFicnJxxcXFgYGDi4uLb29vBwcHExMS7u7uUlJSKiorg4ODT09PJycmjo6OCgoJpaWms464fAAAADnRSTlMACQ/7atLJvWBWCdW/WGJ0ck0AAACVSURBVBjTbc5HFoMwDEVRJ/QUWRiM40IJpO5/g5FNm+QOdI7e6LN/4oSvktiHvEdY4eBTKmCnzlQiqGbG2QruJ8Y4NMGgrWzgdvSlDr6uq+ullB7Xhu5WRlN+XLsXpSY96VGRpSA+rNYvJFvBp7O4lQhQCGHewgt7LhKElF0nCYiUNl/7FlZtnzNSZBGfRVnBgsOOvh9/9xAo+8NxzQAAAABJRU5ErkJggg==" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAflBMVEUAAAAAAACwsLC5ubm5ubm5ubm4uLizs7O1tbWmpqa5ubm5ubm3t7evr6////+5ubnt7e3y8vLq6ur6+vr09PTo6Oj4+Pjv7++8vLxYWFicnJxxcXFgYGDi4uLb29vBwcHExMS7u7uUlJSKiorg4ODT09PJycmjo6OCgoJpaWms464fAAAADnRSTlMACQ/7atLJvWBWCdW/WGJ0ck0AAACVSURBVBjTbc5HFoMwDEVRJ/QUWRiM40IJpO5/g5FNm+QOdI7e6LN/4oSvktiHvEdY4eBTKmCnzlQiqGbG2QruJ8Y4NMGgrWzgdvSlDr6uq+ullB7Xhu5WRlN+XLsXpSY96VGRpSA+rNYvJFvBp7O4lQhQCGHewgt7LhKElF0nCYiUNl/7FlZtnzNSZBGfRVnBgsOOvh9/9xAo+8NxzQAAAABJRU5ErkJggg=="
style="margin-bottom: -4px;width:3rem;" /> style="margin-bottom: -4px;width:3rem;" />
...@@ -1253,9 +1251,7 @@ ...@@ -1253,9 +1251,7 @@
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAdVBMVEUAAAAAAACwsLDNzc3Q0ND///+5ubn///+5ubm8vLzz8/Pt7e3r6+vo6Ojv7+/6+vr4+PjS0tKbm5vk5OTf39/b29vCwsKJiYni4uLa2tqsrKx3d3e2trawsLCpqamkpKSSkpLExMSfn5+Li4uEhIR9fX0mJiaMZFtDAAAAB3RSTlMAEh3+/YUS7eKGqgAAAJ1JREFUGNNtzzcWwjAQRVHANkqjnJxt4v6XiMRBiILXza3+HP7UtQSXSNsl0YGhEru0SQigmiBJMJJghZSScisROWdRzoxKKWy0QuSUhfIxLizcjKNFKJ0fZtos/RGxPqOjXxFC4ClOCwjxEdaP983P8epZkWE3lrF1b6o0AwA4reG9h3AEnHvPUwjy5jb0qNQHnX9vcK3pDrljLV0vwMkLmE4T88cAAAAASUVORK5CYII=" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAdVBMVEUAAAAAAACwsLDNzc3Q0ND///+5ubn///+5ubm8vLzz8/Pt7e3r6+vo6Ojv7+/6+vr4+PjS0tKbm5vk5OTf39/b29vCwsKJiYni4uLa2tqsrKx3d3e2trawsLCpqamkpKSSkpLExMSfn5+Li4uEhIR9fX0mJiaMZFtDAAAAB3RSTlMAEh3+/YUS7eKGqgAAAJ1JREFUGNNtzzcWwjAQRVHANkqjnJxt4v6XiMRBiILXza3+HP7UtQSXSNsl0YGhEru0SQigmiBJMJJghZSScisROWdRzoxKKWy0QuSUhfIxLizcjKNFKJ0fZtos/RGxPqOjXxFC4ClOCwjxEdaP983P8epZkWE3lrF1b6o0AwA4reG9h3AEnHvPUwjy5jb0qNQHnX9vcK3pDrljLV0vwMkLmE4T88cAAAAASUVORK5CYII="
style="margin-bottom: -4px;width:3rem;" /> style="margin-bottom: -4px;width:3rem;" />
</template> </template>
6 <img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAflBMVEUAAAAAAACwsLC5ubm5ubm5ubm4uLizs7O1tbWmpqa5ubm5ubm3t7evr6////+5ubnt7e3y8vLq6ur6+vr09PTo6Oj4+Pjv7++8vLxYWFicnJxxcXFgYGDi4uLb29vBwcHExMS7u7uUlJSKiorg4ODT09PJycmjo6OCgoJpaWms464fAAAADnRSTlMACQ/7atLJvWBWCdW/WGJ0ck0AAACVSURBVBjTbc5HFoMwDEVRJ/QUWRiM40IJpO5/g5FNm+QOdI7e6LN/4oSvktiHvEdY4eBTKmCnzlQiqGbG2QruJ8Y4NMGgrWzgdvSlDr6uq+ullB7Xhu5WRlN+XLsXpSY96VGRpSA+rNYvJFvBp7O4lQhQCGHewgt7LhKElF0nCYiUNl/7FlZtnzNSZBGfRVnBgsOOvh9/9xAo+8NxzQAAAABJRU5ErkJggg=="
style="margin-bottom: -4px;width:3rem;" />等共计
等共计<span>&nbsp;<font>{{getTotalNum(getCount())}}</font></span>&nbsp;项服务。</p> 等共计<span>&nbsp;<font>{{getTotalNum(getCount())}}</font></span>&nbsp;项服务。</p>
<p>费用总额(小写)人民币<span>{{CtObj.C_TotalPrice}}</span>&nbsp;&nbsp;(大写)人民币<span> <p>费用总额(小写)人民币<span>{{CtObj.C_TotalPrice}}</span>&nbsp;&nbsp;(大写)人民币<span>
<font>{{number_chinese(CtObj.C_TotalPrice)}}</font> <font>{{number_chinese(CtObj.C_TotalPrice)}}</font>
...@@ -3720,7 +3716,7 @@ ...@@ -3720,7 +3716,7 @@
}, },
methods: { methods: {
getCount() { getCount() {
var serviceCount = 1; var serviceCount = 0;
if (this.CtObj.ContractTicketList != null && this.CtObj.ContractTicketList.length > 0) { if (this.CtObj.ContractTicketList != null && this.CtObj.ContractTicketList.length > 0) {
serviceCount++; serviceCount++;
} }
......
...@@ -822,7 +822,7 @@ ...@@ -822,7 +822,7 @@
</template> </template>
5 5
<template <template
v-if="CtObj.ContractTicketAndHotel && (CtObj.ContractTicketAndHotel.ContractHotels ||CtObj.ContractTicketAndHotel.ContractTickets)"> v-if="CtObj.ContractTicketAndHotel && ((CtObj.ContractTicketAndHotel.ContractHotels&&CtObj.ContractTicketAndHotel.ContractHotels.length>0) ||(CtObj.ContractTicketAndHotel.ContractTickets&&CtObj.ContractTicketAndHotel.ContractTickets.length>0))">
<img <img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAflBMVEUAAAAAAACwsLC5ubm5ubm5ubm4uLizs7O1tbWmpqa5ubm5ubm3t7evr6////+5ubnt7e3y8vLq6ur6+vr09PTo6Oj4+Pjv7++8vLxYWFicnJxxcXFgYGDi4uLb29vBwcHExMS7u7uUlJSKiorg4ODT09PJycmjo6OCgoJpaWms464fAAAADnRSTlMACQ/7atLJvWBWCdW/WGJ0ck0AAACVSURBVBjTbc5HFoMwDEVRJ/QUWRiM40IJpO5/g5FNm+QOdI7e6LN/4oSvktiHvEdY4eBTKmCnzlQiqGbG2QruJ8Y4NMGgrWzgdvSlDr6uq+ullB7Xhu5WRlN+XLsXpSY96VGRpSA+rNYvJFvBp7O4lQhQCGHewgt7LhKElF0nCYiUNl/7FlZtnzNSZBGfRVnBgsOOvh9/9xAo+8NxzQAAAABJRU5ErkJggg==" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAflBMVEUAAAAAAACwsLC5ubm5ubm5ubm4uLizs7O1tbWmpqa5ubm5ubm3t7evr6////+5ubnt7e3y8vLq6ur6+vr09PTo6Oj4+Pjv7++8vLxYWFicnJxxcXFgYGDi4uLb29vBwcHExMS7u7uUlJSKiorg4ODT09PJycmjo6OCgoJpaWms464fAAAADnRSTlMACQ/7atLJvWBWCdW/WGJ0ck0AAACVSURBVBjTbc5HFoMwDEVRJ/QUWRiM40IJpO5/g5FNm+QOdI7e6LN/4oSvktiHvEdY4eBTKmCnzlQiqGbG2QruJ8Y4NMGgrWzgdvSlDr6uq+ullB7Xhu5WRlN+XLsXpSY96VGRpSA+rNYvJFvBp7O4lQhQCGHewgt7LhKElF0nCYiUNl/7FlZtnzNSZBGfRVnBgsOOvh9/9xAo+8NxzQAAAABJRU5ErkJggg=="
style="margin-bottom: -4px;width:17px;heigth:17px" /> style="margin-bottom: -4px;width:17px;heigth:17px" />
...@@ -832,9 +832,6 @@ ...@@ -832,9 +832,6 @@
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAdVBMVEUAAAAAAACwsLDNzc3Q0ND///+5ubn///+5ubm8vLzz8/Pt7e3r6+vo6Ojv7+/6+vr4+PjS0tKbm5vk5OTf39/b29vCwsKJiYni4uLa2tqsrKx3d3e2trawsLCpqamkpKSSkpLExMSfn5+Li4uEhIR9fX0mJiaMZFtDAAAAB3RSTlMAEh3+/YUS7eKGqgAAAJ1JREFUGNNtzzcWwjAQRVHANkqjnJxt4v6XiMRBiILXza3+HP7UtQSXSNsl0YGhEru0SQigmiBJMJJghZSScisROWdRzoxKKWy0QuSUhfIxLizcjKNFKJ0fZtos/RGxPqOjXxFC4ClOCwjxEdaP983P8epZkWE3lrF1b6o0AwA4reG9h3AEnHvPUwjy5jb0qNQHnX9vcK3pDrljLV0vwMkLmE4T88cAAAAASUVORK5CYII=" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAdVBMVEUAAAAAAACwsLDNzc3Q0ND///+5ubn///+5ubm8vLzz8/Pt7e3r6+vo6Ojv7+/6+vr4+PjS0tKbm5vk5OTf39/b29vCwsKJiYni4uLa2tqsrKx3d3e2trawsLCpqamkpKSSkpLExMSfn5+Li4uEhIR9fX0mJiaMZFtDAAAAB3RSTlMAEh3+/YUS7eKGqgAAAJ1JREFUGNNtzzcWwjAQRVHANkqjnJxt4v6XiMRBiILXza3+HP7UtQSXSNsl0YGhEru0SQigmiBJMJJghZSScisROWdRzoxKKWy0QuSUhfIxLizcjKNFKJ0fZtos/RGxPqOjXxFC4ClOCwjxEdaP983P8epZkWE3lrF1b6o0AwA4reG9h3AEnHvPUwjy5jb0qNQHnX9vcK3pDrljLV0vwMkLmE4T88cAAAAASUVORK5CYII="
style="margin-bottom: -4px;width:17px;heigth:17px" /> style="margin-bottom: -4px;width:17px;heigth:17px" />
</template> </template>
6 <img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAMAAAAMs7fIAAAAflBMVEUAAAAAAACwsLC5ubm5ubm5ubm4uLizs7O1tbWmpqa5ubm5ubm3t7evr6////+5ubnt7e3y8vLq6ur6+vr09PTo6Oj4+Pjv7++8vLxYWFicnJxxcXFgYGDi4uLb29vBwcHExMS7u7uUlJSKiorg4ODT09PJycmjo6OCgoJpaWms464fAAAADnRSTlMACQ/7atLJvWBWCdW/WGJ0ck0AAACVSURBVBjTbc5HFoMwDEVRJ/QUWRiM40IJpO5/g5FNm+QOdI7e6LN/4oSvktiHvEdY4eBTKmCnzlQiqGbG2QruJ8Y4NMGgrWzgdvSlDr6uq+ullB7Xhu5WRlN+XLsXpSY96VGRpSA+rNYvJFvBp7O4lQhQCGHewgt7LhKElF0nCYiUNl/7FlZtnzNSZBGfRVnBgsOOvh9/9xAo+8NxzQAAAABJRU5ErkJggg=="
style="margin-bottom: -4px;width:17px;heigth:17px" />等共计
等共计<span>&nbsp;<font>{{getTotalNum(getCount())}}</font></span>&nbsp;项服务。</p> 等共计<span>&nbsp;<font>{{getTotalNum(getCount())}}</font></span>&nbsp;项服务。</p>
<p>费用总额(小写)人民币<span>{{CtObj.C_TotalPrice}}</span>&nbsp;&nbsp;(大写)人民币<span> <p>费用总额(小写)人民币<span>{{CtObj.C_TotalPrice}}</span>&nbsp;&nbsp;(大写)人民币<span>
<font>{{number_chinese(CtObj.C_TotalPrice)}}</font> <font>{{number_chinese(CtObj.C_TotalPrice)}}</font>
...@@ -2186,7 +2183,7 @@ ...@@ -2186,7 +2183,7 @@
}, },
methods: { methods: {
getCount() { getCount() {
var serviceCount = 1; var serviceCount = 0;
if (this.CtObj.ContractTicketList != null && this.CtObj.ContractTicketList.length > 0) { if (this.CtObj.ContractTicketList != null && this.CtObj.ContractTicketList.length > 0) {
serviceCount++; serviceCount++;
} }
......
...@@ -512,7 +512,7 @@ ...@@ -512,7 +512,7 @@
<div class="clearfix TB_PrintDiv"> <div class="clearfix TB_PrintDiv">
<div class="TB_comtitle TB-Title">收入 <div class="TB_comtitle TB-Title">收入
<template v-if="DataList&&DataList.TeamBalance&&DataList.TeamBalance.TCNUM"> <template v-if="DataList&&DataList.TeamBalance&&DataList.TeamBalance.TCNUM">
{{DataList.TeamBalance.TCNUM}} ({{TCID}}) {{DataList.TeamBalance.TCNUM}} ({{TCID}}) {{DataList.TeamBalance.OutBranchName}}
</template> </template>
</div> </div>
<div v-if="IsHaveAuth" style="padding: 5px 0 0 0;"> <div v-if="IsHaveAuth" style="padding: 5px 0 0 0;">
......
...@@ -598,7 +598,6 @@ ...@@ -598,7 +598,6 @@
<span>{{$t('Airticket.Air_StartTime')}}</span> <span>{{$t('Airticket.Air_StartTime')}}</span>
<span class="go_date">{{item.StartDate}}</span> <span class="go_date">{{item.StartDate}}</span>
</p> </p>
<p class="travelnowrap flex" v-if="item.OfferShouPeiFee>0"> <p class="travelnowrap flex" v-if="item.OfferShouPeiFee>0">
<span>手配费</span> <span>手配费</span>
<span class="go_date"> <span class="go_date">
...@@ -777,36 +776,40 @@ ...@@ -777,36 +776,40 @@
<span slot="reference" class="price">{{$t('Operation.Op_priceDetail')}}</span> <span slot="reference" class="price">{{$t('Operation.Op_priceDetail')}}</span>
</el-popover> </el-popover>
</p> </p>
<p style="color:red;margin:20px 0 10px 0;font-size:12px;"> <p style="color:red;margin:10px 0 10px 0;font-size:12px;">
{{$t('op.TodayClicks')}}:{{item.TodayClickCount}} {{$t('op.TodayClicks')}}:{{item.TodayClickCount}}
</p> </p>
<p style="color:red;font-size:12px;"> <p style="color:red;font-size:12px;">
{{$t('op.TotalClicks')}}:{{item.TotalClickCount}} {{$t('op.TotalClicks')}}:{{item.TotalClickCount}}
</p> </p>
<p class="color:red;margin:20px 0 10px 0;font-size:12px;" v-if="item.OfferUrlExtArray&&item.OfferUrlExtArray.length>0"> <p v-if="item.OfferUrlExtArray&&item.OfferUrlExtArray.length>0" style="margin-top:5px;font-size:13px;">
<span>报价单</span> <span>报价单</span>
<span class="go_date"> <span> <template v-for="(subItem,subIndex) in item.OfferUrlExtArray">
<template v-for="(subItem,subIndex) in item.OfferUrlExtArray"> <el-tooltip :key="subIndex" class="item" effect="dark" content="点击下载报价单" placement="top">
<a :key="subIndex" style="margin-left:20px;color:blue;cursor:pointer;" :href="subItem.Url" <a :key="subIndex+10000" style="color:blue;cursor:pointer;text-decoration:underline;"
v-if="subItem.Url" target="_blank" :download="subItem.Name">{{subItem.Name}}</a> :href="subItem.Url" v-if="subItem.Url" target="_blank"
:download="subItem.Name">{{subItem.Name}}</a>
</el-tooltip>
<template v-if="item.OfferUrlExtArray.length>1 && subIndex<item.OfferUrlExtArray.length"> <template v-if="item.OfferUrlExtArray.length>1 && subIndex<item.OfferUrlExtArray.length">
<br :key="subIndex+1000" /> <br :key="subIndex+1000" />
</template> </template>
</template> </template>
</span> </span>
</p> </p>
<p class="color:red;margin:20px 0 10px 0;font-size:12px;" v-else-if="item.PriceOfferUrl&&item.PriceOfferUrl!=''"> <p v-else-if="item.PriceOfferUrl&&item.PriceOfferUrl!=''" style="margin-top:5px;font-size:13px;">
<span>报价单</span> <span>报价单</span>
<span class="go_date"> <span>
<a style="margin-left:20px;color:blue;cursor:pointer;" :href="item.PriceOfferUrl" <el-tooltip class="item" effect="dark" content="点击下载报价单" placement="top">
v-if="item.PriceOfferUrl" target="_blank">下载报价单</a> <a :href="item.PriceOfferUrl" style="color:blue;cursor:pointer;text-decoration:underline;"
v-if="item.PriceOfferUrl" target="_blank">下载报价单</a>
</el-tooltip>
</span> </span>
</p> </p>
<p class="travelnowrap" v-if="item.Config_OfferId&&item.Config_OfferId>0"> <p v-if="item.Config_OfferId&&item.Config_OfferId>0" style="margin-top:5px;font-size:13px;">
<span style="cursor:pointer;text-decoration:underline;color:blue;" <span style="cursor:pointer;text-decoration:underline;color:blue;"
@click="showDialog(item.ID, item.Config_OfferId)">报价详情</span> @click="showDialog(item.ID, item.Config_OfferId)">报价详情</span>
</p> </p>
<p v-if="item.Config_OfferId==0"> <p v-if="item.Config_OfferId==0" style="margin-top:5px;font-size:13px;">
<span style="cursor:pointer;text-decoration:underline;color:red;" <span style="cursor:pointer;text-decoration:underline;color:red;"
@click="NewCopyPriceSheet(item,0)">新增报价单</span> @click="NewCopyPriceSheet(item,0)">新增报价单</span>
<span style="cursor:pointer;text-decoration:underline;color:red;" <span style="cursor:pointer;text-decoration:underline;color:red;"
...@@ -1537,6 +1540,7 @@ ...@@ -1537,6 +1540,7 @@
}, },
}, },
methods: { methods: {
//复制、新增报价单
NewCopyPriceSheet(item, type) { NewCopyPriceSheet(item, type) {
if (type) { if (type) {
this.CopyConfigOffer(item) this.CopyConfigOffer(item)
...@@ -1545,51 +1549,47 @@ ...@@ -1545,51 +1549,47 @@
} }
}, },
//跳转到报价单 //跳转到报价单
gotoOffer(item, type) { gotoOffer(item) {
let name = 'QuotationNewPrice'
let query = { let query = {
offerid: item.Config_OfferId, TCID: item.TCID,
blank: 'y', blank: 'y',
tab: '报价单' tab: '报价单'
} }
if (type) { //新增报价单 this.$router.push({
query.TeamType = item.TeamType; path: 'QuotationNewPrice',
query.TCID = item.TCID; query
query.LineID = item.LineID; });
query.ltID = item.ltID;
query.DayNum = item.DayNum;
query.OutDateTime = item.StartCityTime;
query.OutBranchId = item.OutBranchId;
query.ForbidChange = true;
query.Title = item.Title;
this.$router.push({
path: name,
query
});
} else {
this.$router.push({
path: name,
query
});
}
}, },
// 复制报价单 // 复制报价单
CopyConfigOffer(item) { CopyConfigOffer(item) {
this.queryCommonData.loading = true;
let msg = { let msg = {
ID: item.ID, ID: item.ID,
TCID: item.TCID, TCID: item.TCID,
} }
this.apipost( var that = this;
that.apipost(
"travel_post_CopyConfigOffer", msg, "travel_post_CopyConfigOffer", msg,
res => { res => {
that.queryCommonData.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message) var tipMsg = "复制成功!查看报价单!"
that.getControlList();
this.Confirm(tipMsg, function () {
if (res.data.data && res.data.data > 0) {
let query = {
offerid: res.data.data,
blank: 'y',
tab: '报价单'
}
//跳转到新报价单页面
that.OpenNewPage('/QuotationNewPrice', query)
}
})
} else { } else {
this.Error(res.data.message); that.Error(res.data.message);
} }
}, });
err => {}
);
}, },
//跳转到用款计划 //跳转到用款计划
GoToleaderReimbursement(item) { GoToleaderReimbursement(item) {
......
...@@ -413,7 +413,7 @@ ...@@ -413,7 +413,7 @@
<span class="TC_xiajia" v-if="item.TCState==2">{{$t('visa.v_yxiajia')}}</span> <span class="TC_xiajia" v-if="item.TCState==2">{{$t('visa.v_yxiajia')}}</span>
<span class="TC_xiajia quxiao" v-if="item.TCState==4">{{$t('hotel.hotel_HasBeenCancelled')}}</span> <span class="TC_xiajia quxiao" v-if="item.TCState==4">{{$t('hotel.hotel_HasBeenCancelled')}}</span>
<span class="TC_xiajia daiwanshan" <span class="TC_xiajia daiwanshan"
v-if="item.Config_OfferId>0&&item.Config_OfferStatus&&item.TCState==1"> v-if="item.Config_OfferId>0&&item.Config_OfferStatus&&item.TCState==1">
{{item.Config_OfferStatus}} {{item.Config_OfferStatus}}
</span> </span>
</div> </div>
...@@ -454,29 +454,7 @@ ...@@ -454,29 +454,7 @@
<a style="corsor:pointer;" <a style="corsor:pointer;"
:href="domainManager().ViittoFileUrl+item.WordPath">{{$t('visa.v_salecompany')}}下载WORD行程</a> :href="domainManager().ViittoFileUrl+item.WordPath">{{$t('visa.v_salecompany')}}下载WORD行程</a>
</p> </p>
<p class="travelnowrap flex" v-if="item.OfferUrlExtArray&&item.OfferUrlExtArray.length>0">
<span>报价单</span>
<span class="go_date">
<template v-for="(subItem,subIndex) in item.OfferUrlExtArray">
<a :key="subIndex" style="margin-left:20px;color:blue;cursor:pointer;" :href="subItem.Url"
v-if="subItem.Url" target="_blank" :download="subItem.Name">{{subItem.Name}}</a>
<template v-if="item.OfferUrlExtArray.length>1 && subIndex<item.OfferUrlExtArray.length">
<br :key="subIndex+1000" />
</template>
</template>
</span>
</p>
<p class="travelnowrap flex" v-else-if="item.PriceOfferUrl&&item.PriceOfferUrl!=''">
<span>报价单</span>
<span class="go_date">
<a style="margin-left:20px;color:blue;cursor:pointer;" :href="item.PriceOfferUrl"
v-if="item.PriceOfferUrl" target="_blank">下载报价单</a>
</span>
</p>
<p class="travelnowrap" v-if="item.Config_OfferId">
<span style="cursor:pointer;text-decoration:underline;color:blue;"
@click="showDialog(item.ID, item.Config_OfferId)">报价详情</span>
</p>
</div> </div>
</div> </div>
<div class="el-col" style="width:190px;"> <div class="el-col" style="width:190px;">
...@@ -578,6 +556,39 @@ ...@@ -578,6 +556,39 @@
<span slot="reference" class="price">{{$t('Operation.Op_priceDetail')}}</span> <span slot="reference" class="price">{{$t('Operation.Op_priceDetail')}}</span>
</el-popover> </el-popover>
</p> </p>
<p v-if="item.OfferUrlExtArray&&item.OfferUrlExtArray.length>0" style="margin-top:5px;">
<span>报价单</span>
<span> <template v-for="(subItem,subIndex) in item.OfferUrlExtArray">
<el-tooltip :key="subIndex" class="item" effect="dark" content="点击下载报价单" placement="top">
<a :key="subIndex+10000" style="color:blue;cursor:pointer;text-decoration:underline;"
:href="subItem.Url" v-if="subItem.Url" target="_blank"
:download="subItem.Name">{{subItem.Name}}</a>
</el-tooltip>
<template v-if="item.OfferUrlExtArray.length>1 && subIndex<item.OfferUrlExtArray.length">
<br :key="subIndex+1000" />
</template>
</template>
</span>
</p>
<p v-else-if="item.PriceOfferUrl&&item.PriceOfferUrl!=''" style="margin-top:5px;">
<span>报价单</span>
<span>
<el-tooltip class="item" effect="dark" content="点击下载报价单" placement="top">
<a :href="item.PriceOfferUrl" style="color:blue;cursor:pointer;text-decoration:underline;"
v-if="item.PriceOfferUrl" target="_blank">下载报价单</a>
</el-tooltip>
</span>
</p>
<p v-if="item.Config_OfferId&&item.Config_OfferId>0" style="margin-top:5px;">
<span style="cursor:pointer;text-decoration:underline;color:blue;"
@click="showDialog(item.ID, item.Config_OfferId)">报价详情</span>
</p>
<p v-if="item.Config_OfferId==0" style="margin-top:5px;">
<span style="cursor:pointer;text-decoration:underline;color:red;"
@click="NewCopyPriceSheet(item,0)">新增报价单</span>
<span style="cursor:pointer;text-decoration:underline;color:red;"
@click="NewCopyPriceSheet(item,1)">复制报价单</span>
</p>
</div> </div>
</div> </div>
<div class="el-col" style="width:150px;"> <div class="el-col" style="width:150px;">
...@@ -591,7 +602,6 @@ ...@@ -591,7 +602,6 @@
<p> <p>
<span>{{$t('visa.v_yibaoru')}}</span> <span>{{$t('visa.v_yibaoru')}}</span>
<i> <i>
{{item.OrderGuestNum}} {{item.OrderGuestNum}}
<span class="TCL-redType" v-if="item.OrderLeaderGuestNum>=1">+{{item.OrderLeaderGuestNum}}</span> <span class="TCL-redType" v-if="item.OrderLeaderGuestNum>=1">+{{item.OrderLeaderGuestNum}}</span>
</i> </i>
...@@ -691,14 +701,6 @@ ...@@ -691,14 +701,6 @@
<el-dropdown-item> <el-dropdown-item>
<div @click='GoToleaderReimbursement(item)' style="color:red">地接成本支出 </div> <div @click='GoToleaderReimbursement(item)' style="color:red">地接成本支出 </div>
</el-dropdown-item> </el-dropdown-item>
<template v-if="item.Config_OfferId==0&&item.TCState==1">
<el-dropdown-item>
<div @click="NewCopyPriceSheet(item,0)">新增报价单 </div>
</el-dropdown-item>
<el-dropdown-item>
<div @click="NewCopyPriceSheet(item,1)">复制报价单 </div>
</el-dropdown-item>
</template>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
...@@ -994,61 +996,56 @@ ...@@ -994,61 +996,56 @@
} }
}, },
methods: { methods: {
NewCopyPriceSheet(item,type){ //复制、新增报价单
if(type){ NewCopyPriceSheet(item, type) {
if (type) {
this.CopyConfigOffer(item) this.CopyConfigOffer(item)
}else{ } else {
this.gotoOffer(item,1) this.gotoOffer(item, 1)
} }
}, },
//跳转到报价单 //跳转到报价单
gotoOffer(item,type) { gotoOffer(item) {
let name = 'QuotationNewPrice'
let query = { let query = {
offerid: item.Config_OfferId, TCID: item.TCID,
blank: 'y', blank: 'y',
tab: '报价单' tab: '报价单'
} }
if(type){//新增报价单 this.$router.push({
query.TeamType = 2 path: 'QuotationNewPrice',
query.configld = item.ID query
query.TCID = item.TCID });
query.LineID = item.LineID
query.LineName = item.LineName
query.ltID = item.ltID
query.LtName = item.LtName
query.DayNum = item.DayNum
query.OutDateTime = item.StartCityTime
query.OutBranchId = item.OutBranchId
query.ForbidChange = true
this.$router.push({
path: name,
query
});
}else{
this.$router.push({
path: name,
query
});
}
}, },
// 复制报价单 // 复制报价单
CopyConfigOffer(item){ CopyConfigOffer(item) {
this.queryCommonData.loading = true;
let msg = { let msg = {
ID: item.ID, ID: item.ID,
TCID: item.TCID, TCID: item.TCID,
} }
this.apipost( var that = this;
that.apipost(
"travel_post_CopyConfigOffer", msg, "travel_post_CopyConfigOffer", msg,
res => { res => {
that.queryCommonData.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message) var tipMsg = "复制成功!查看报价单!"
that.getControlList();
this.Confirm(tipMsg, function () {
if (res.data.data && res.data.data > 0) {
let query = {
offerid: res.data.data,
blank: 'y',
tab: '报价单'
}
//跳转到新报价单页面
that.OpenNewPage('/QuotationNewPrice', query)
}
})
} else { } else {
this.Error(res.data.message); that.Error(res.data.message);
} }
}, });
err => {}
);
}, },
//跳转到用款计划 //跳转到用款计划
GoToleaderReimbursement(item) { GoToleaderReimbursement(item) {
...@@ -1534,7 +1531,7 @@ ...@@ -1534,7 +1531,7 @@
}) })
}, },
//开团或修改 //开团或修改
goToOpenTravel(path, configId, tcid,item) { goToOpenTravel(path, configId, tcid, item) {
if (configId > 0) { if (configId > 0) {
this.$store.commit('pageConditionUpdate', this.queryMsg) this.$store.commit('pageConditionUpdate', this.queryMsg)
this.$router.push({ this.$router.push({
...@@ -1555,7 +1552,7 @@ ...@@ -1555,7 +1552,7 @@
} }
}, },
//当团修改 //当团修改
goTonowTeam(path, configId, tcid, TCNUM,item) { goTonowTeam(path, configId, tcid, TCNUM, item) {
if (configId > 0) { if (configId > 0) {
this.$store.commit('pageConditionUpdate', this.queryMsg) this.$store.commit('pageConditionUpdate', this.queryMsg)
this.$router.push({ this.$router.push({
......
...@@ -309,7 +309,12 @@ ...@@ -309,7 +309,12 @@
{{OtherPrice.AirTicketMoeny}} {{OtherPrice.AirTicketMoeny}}
</el-form-item> </el-form-item>
</td> </td>
<td> <td colspan="2">
<el-form-item label="中段机票">
{{OtherPrice.InlandAirTicketMoney}}
</el-form-item>
</td>
<td colspan="2">
<el-form-item label="税金"> <el-form-item label="税金">
{{teamPrice.TaxPrice}} {{teamPrice.TaxPrice}}
</el-form-item> </el-form-item>
...@@ -319,30 +324,35 @@ ...@@ -319,30 +324,35 @@
{{teamPrice.UnionPrice}} {{teamPrice.UnionPrice}}
</el-form-item> </el-form-item>
</td> </td>
<td colspan="5" rowspan="2">
小计(机票+中段机票+税金+联运+领队导游分摊+过夜+签证+保险):
<br />{{getCostTotalMoney()}}
</td>
</tr>
<tr>
<td colspan="2">
<el-form-item label="领队导游分摊">
{{OtherPrice.AirTicketShareMoney}}
</el-form-item>
</td>
<td colspan="2"> <td colspan="2">
<el-form-item label="过夜"> <el-form-item label="过夜">
{{teamPrice.NightPrice}} {{teamPrice.NightPrice}}
</el-form-item> </el-form-item>
</td> </td>
<td> <td colspan="2">
<el-form-item label="签证"> <el-form-item label="签证">
{{teamPrice.VisaPrice}} {{teamPrice.VisaPrice}}
</el-form-item> </el-form-item>
</td> </td>
<td> <td colspan="2">
<el-form-item label="保险"> <el-form-item label="保险">
{{OtherPrice.SafeMoney}} {{OtherPrice.SafeMoney}}
</el-form-item> </el-form-item>
</td> </td>
<td colspan="2"> </tr>
<el-form-item label="领队导游分摊"> <tr>
{{OtherPrice.AirTicketShareMoney}} <td colspan="13"></td>
</el-form-item>
</td>
<td colspan="2">
小计(机票+税金+联运+过夜+签证+保险+领队导游分摊):
<br />{{getCostTotalMoney()}}
</td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
...@@ -410,14 +420,18 @@ ...@@ -410,14 +420,18 @@
地接成本<br />(人民币) 地接成本<br />(人民币)
</td> </td>
<td colspan="2"> <td colspan="2">
成本<br />[地接成本(人民币)+机票+税金+联运+过夜+签证+保险] 成本<br />[地接成本(人民币)+其它成本(人民币)小计]
</td> </td>
<td colspan="2"> <td>
销售价格 同业销售价格
<br />(人民币)
</td>
<td>
直客销售价格
<br />(人民币) <br />(人民币)
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==14"> <template v-if="postConfig.LineId==14||postConfig.LineId==118">
销售价格 销售价格
<br />(日币) <br />(日币)
</template> </template>
...@@ -445,7 +459,7 @@ ...@@ -445,7 +459,7 @@
{{getLocalJpyTotalMoney(subItem.PeopleNumber)}} {{getLocalJpyTotalMoney(subItem.PeopleNumber)}}
</td> </td>
<td colspan="2"> <td colspan="2">
<template v-if="postConfig.LineId==14"> <template v-if="postConfig.LineId==14||postConfig.LineId==118">
{{getLocalTotalMoney(subItem.PeopleNumber)}} {{getLocalTotalMoney(subItem.PeopleNumber)}}
</template> </template>
<template v-else-if="postConfig.LineId==168"> <template v-else-if="postConfig.LineId==168">
...@@ -458,11 +472,14 @@ ...@@ -458,11 +472,14 @@
<td colspan="2"> <td colspan="2">
{{subItem.TotalMoney}} {{subItem.TotalMoney}}
</td> </td>
<td colspan="2"> <td>
{{subItem.SalePrice}} {{subItem.SalePrice}}
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==14"> {{subItem.B2CSalePrice}}
</td>
<td>
<template v-if="postConfig.LineId==14||postConfig.LineId==118">
{{subItem.JPYSalePrice}} {{subItem.JPYSalePrice}}
</template> </template>
</td> </td>
...@@ -483,7 +500,7 @@ ...@@ -483,7 +500,7 @@
v-if="postConfig.ManagerAduitDate&&postConfig.ManagerAduitDate!=''&&postConfig.ManagerAduitName&&postConfig.ManagerAduitName!=''"> v-if="postConfig.ManagerAduitDate&&postConfig.ManagerAduitDate!=''&&postConfig.ManagerAduitName&&postConfig.ManagerAduitName!=''">
<p> {{postConfig.ManagerAduitName}}{{postConfig.ManagerAduitDate}} <p> {{postConfig.ManagerAduitName}}{{postConfig.ManagerAduitDate}}
<template v-if="postConfig.ManagerAduitStatus==1"> <template v-if="postConfig.ManagerAduitStatus==1">
<span style="color:#69D5A;">通过</span> <span style="color:blue;">通过</span>
</template> </template>
<template v-if="postConfig.ManagerAduitStatus==2"> <template v-if="postConfig.ManagerAduitStatus==2">
<span style="color:red;">驳回</span> <span style="color:red;">驳回</span>
...@@ -496,7 +513,7 @@ ...@@ -496,7 +513,7 @@
<p> <p>
{{postConfig.AuditByName}}{{postConfig.AuditDate}} {{postConfig.AuditByName}}{{postConfig.AuditDate}}
<template v-if="postConfig.TravelState==3"> <template v-if="postConfig.TravelState==3">
<span style="color:#69D5A;"> 通过</span> <span style="color:blue;"> 通过</span>
</template> </template>
<template v-if="postConfig.TravelState==4"> <template v-if="postConfig.TravelState==4">
<span style="color:red;"> 驳回</span> <span style="color:red;"> 驳回</span>
...@@ -651,14 +668,15 @@ ...@@ -651,14 +668,15 @@
}, },
//其它成本价格 //其它成本价格
getCostTotalMoney() { getCostTotalMoney() {
//机票+税金+联运+过夜+保险+领队导游分摊 //机票+中段机票+税金+领队导游分摊+联运+过夜+保险
let totalMoney = this.getConvertMoney(this.OtherPrice.AirTicketMoeny) + let totalMoney = this.getConvertMoney(this.OtherPrice.AirTicketMoeny) +
this.getConvertMoney(this.OtherPrice.InlandAirTicketMoney) +
this.getConvertMoney(this.teamPrice.TaxPrice) + this.getConvertMoney(this.teamPrice.TaxPrice) +
this.getConvertMoney(this.teamPrice.UnionPrice) + this.getConvertMoney(this.teamPrice.UnionPrice) +
this.getConvertMoney(this.OtherPrice.AirTicketShareMoney) +
this.getConvertMoney(this.teamPrice.NightPrice) + this.getConvertMoney(this.teamPrice.NightPrice) +
this.getConvertMoney(this.teamPrice.VisaPrice) + this.getConvertMoney(this.teamPrice.VisaPrice) +
this.getConvertMoney(this.OtherPrice.SafeMoney) + this.getConvertMoney(this.OtherPrice.SafeMoney)
this.getConvertMoney(this.OtherPrice.AirTicketShareMoney)
return totalMoney; return totalMoney;
}, },
//获取汇率 //获取汇率
......
...@@ -216,7 +216,12 @@ ...@@ -216,7 +216,12 @@
{{OtherPrice.AirTicketMoeny}} {{OtherPrice.AirTicketMoeny}}
</el-form-item> </el-form-item>
</td> </td>
<td> <td colspan="2">
<el-form-item label="中段机票">
{{OtherPrice.InlandAirTicketMoney}}
</el-form-item>
</td>
<td colspan="2">
<el-form-item label="税金"> <el-form-item label="税金">
{{teamPrice.TaxPrice}} {{teamPrice.TaxPrice}}
</el-form-item> </el-form-item>
...@@ -226,29 +231,35 @@ ...@@ -226,29 +231,35 @@
{{teamPrice.UnionPrice}} {{teamPrice.UnionPrice}}
</el-form-item> </el-form-item>
</td> </td>
<td colspan="5" rowspan="2">
小计(机票+中段机票+税金+联运+领队导游分摊+过夜+签证+保险):
<br />{{getCostTotalMoney()}}
</td>
</tr>
<tr>
<td colspan="2">
<el-form-item label="领队导游分摊">
{{OtherPrice.AirTicketShareMoney}}
</el-form-item>
</td>
<td colspan="2"> <td colspan="2">
<el-form-item label="过夜"> <el-form-item label="过夜">
{{teamPrice.NightPrice}} {{teamPrice.NightPrice}}
</el-form-item> </el-form-item>
</td> </td>
<td> <td colspan="2">
<el-form-item label="签证"> <el-form-item label="签证">
{{teamPrice.VisaPrice}} {{teamPrice.VisaPrice}}
</el-form-item> </el-form-item>
</td> </td>
<td> <td colspan="2">
<el-form-item label="保险"> <el-form-item label="保险">
{{OtherPrice.SafeMoney}} {{OtherPrice.SafeMoney}}
</el-form-item> </el-form-item>
</td> </td>
<td colspan="2"> </tr>
<el-form-item label="领队导游分摊"> <tr>
{{OtherPrice.AirTicketShareMoney}} <td colspan="13"></td>
</el-form-item>
</td>
<td colspan="2">
小计(机票+税金+联运+过夜+签证+保险+领队导游分摊):{{getCostTotalMoney()}}
</td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
...@@ -316,14 +327,18 @@ ...@@ -316,14 +327,18 @@
地接成本<br />(人民币) 地接成本<br />(人民币)
</td> </td>
<td colspan="2"> <td colspan="2">
成本<br />[地接成本(人民币)+机票+税金+联运+过夜+签证+保险] 成本<br />[地接成本(人民币)+其它成本(人民币)小计]
</td> </td>
<td colspan="2"> <td>
销售价格 同业销售价格
<br />(人民币)
</td>
<td>
直客销售价格
<br />(人民币) <br />(人民币)
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==14"> <template v-if="postConfig.LineId==14||postConfig.LineId==118">
销售价格 销售价格
<br />(日币) <br />(日币)
</template> </template>
...@@ -351,7 +366,7 @@ ...@@ -351,7 +366,7 @@
{{getLocalJpyTotalMoney(subItem.PeopleNumber)}} {{getLocalJpyTotalMoney(subItem.PeopleNumber)}}
</td> </td>
<td colspan="2"> <td colspan="2">
<template v-if="postConfig.LineId==14"> <template v-if="postConfig.LineId==14||postConfig.LineId==118">
{{getLocalTotalMoney(subItem.PeopleNumber)}} {{getLocalTotalMoney(subItem.PeopleNumber)}}
</template> </template>
<template v-else-if="postConfig.LineId==168"> <template v-else-if="postConfig.LineId==168">
...@@ -364,11 +379,14 @@ ...@@ -364,11 +379,14 @@
<td colspan="2"> <td colspan="2">
{{subItem.TotalMoney}} {{subItem.TotalMoney}}
</td> </td>
<td colspan="2"> <td>
{{subItem.SalePrice}} {{subItem.SalePrice}}
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==14"> {{subItem.B2CSalePrice}}
</td>
<td>
<template v-if="postConfig.LineId==14||postConfig.LineId==118">
{{subItem.JPYSalePrice}} {{subItem.JPYSalePrice}}
</template> </template>
</td> </td>
...@@ -388,7 +406,7 @@ ...@@ -388,7 +406,7 @@
v-if="postConfig.ManagerAduitDate&&postConfig.ManagerAduitDate!=''&&postConfig.ManagerAduitName&&postConfig.ManagerAduitName!=''"> v-if="postConfig.ManagerAduitDate&&postConfig.ManagerAduitDate!=''&&postConfig.ManagerAduitName&&postConfig.ManagerAduitName!=''">
{{postConfig.ManagerAduitName}}{{postConfig.ManagerAduitDate}} <template {{postConfig.ManagerAduitName}}{{postConfig.ManagerAduitDate}} <template
v-if="postConfig.ManagerAduitStatus==1"> v-if="postConfig.ManagerAduitStatus==1">
<span style="color:#69D5A;"> 通过</span> <span style="color:blue;"> 通过</span>
</template> </template>
<template v-if="postConfig.ManagerAduitStatus==2"> <template v-if="postConfig.ManagerAduitStatus==2">
<span style="color:red;"> 驳回</span> <span style="color:red;"> 驳回</span>
...@@ -398,7 +416,7 @@ ...@@ -398,7 +416,7 @@
<template v-if="postConfig.AuditDate&&postConfig.AuditDate!=''"> <template v-if="postConfig.AuditDate&&postConfig.AuditDate!=''">
<br /> <br />
{{postConfig.AuditByName}}{{postConfig.AuditDate}} <template v-if="postConfig.TravelState==3"> {{postConfig.AuditByName}}{{postConfig.AuditDate}} <template v-if="postConfig.TravelState==3">
<span style="color:#69D5A;"> 通过</span> <span style="color:blue;"> 通过</span>
</template> </template>
<template v-if="postConfig.TravelState==4"> <template v-if="postConfig.TravelState==4">
<span style="color:red;"> 驳回</span> <span style="color:red;"> 驳回</span>
...@@ -500,14 +518,15 @@ ...@@ -500,14 +518,15 @@
}, },
//其它成本价格 //其它成本价格
getCostTotalMoney() { getCostTotalMoney() {
//机票+税金+联运+过夜+保险+领队导游分摊 //机票+中段机票+税金+领队导游分摊+联运+过夜+保险
let totalMoney = this.getConvertMoney(this.OtherPrice.AirTicketMoeny) + let totalMoney = this.getConvertMoney(this.OtherPrice.AirTicketMoeny) +
this.getConvertMoney(this.OtherPrice.InlandAirTicketMoney) +
this.getConvertMoney(this.teamPrice.TaxPrice) + this.getConvertMoney(this.teamPrice.TaxPrice) +
this.getConvertMoney(this.teamPrice.UnionPrice) + this.getConvertMoney(this.teamPrice.UnionPrice) +
this.getConvertMoney(this.OtherPrice.AirTicketShareMoney) +
this.getConvertMoney(this.teamPrice.NightPrice) + this.getConvertMoney(this.teamPrice.NightPrice) +
this.getConvertMoney(this.teamPrice.VisaPrice) + this.getConvertMoney(this.teamPrice.VisaPrice) +
this.getConvertMoney(this.OtherPrice.SafeMoney) + this.getConvertMoney(this.OtherPrice.SafeMoney)
this.getConvertMoney(this.OtherPrice.AirTicketShareMoney)
return totalMoney; return totalMoney;
}, },
//获取汇率 //获取汇率
......
...@@ -303,12 +303,18 @@ ...@@ -303,12 +303,18 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<el-form-item label="机票"> <el-form-item label="机票" label-position="right">
<el-input type="text" v-model='OtherPrice.AirTicketMoeny' class="w100" <el-input type="text" v-model='OtherPrice.AirTicketMoeny' class="w100"
@keyup.native="checkPrice(OtherPrice,'AirTicketMoeny'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'AirTicketMoeny'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td> <td colspan="2">
<el-form-item label="中段机票">
<el-input type="text" v-model='OtherPrice.InlandAirTicketMoney' class="w100"
@keyup.native="checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td colspan="2">
<el-form-item label="税金"> <el-form-item label="税金">
<el-input type="text" v-model='teamPrice.TaxPrice' class="w100" <el-input type="text" v-model='teamPrice.TaxPrice' class="w100"
@keyup.native="checkPrice(teamPrice,'TaxPrice'),getchange()"></el-input> @keyup.native="checkPrice(teamPrice,'TaxPrice'),getchange()"></el-input>
...@@ -320,34 +326,39 @@ ...@@ -320,34 +326,39 @@
@keyup.native="checkPrice(teamPrice,'UnionPrice'),getchange()"></el-input> @keyup.native="checkPrice(teamPrice,'UnionPrice'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="5" rowspan="2">
小计(机票+中段机票+税金+联运+领队导游分摊+过夜+签证+保险):
<br /> {{getCostTotalMoney()}}
</td>
</tr>
<tr>
<td colspan="2">
<el-form-item label="领队导游分摊">
<el-input type='text' class="w100" v-model="OtherPrice.AirTicketShareMoney"
@keyup.native="checkPrice(OtherPrice,'AirTicketShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td colspan="2"> <td colspan="2">
<el-form-item label="过夜"> <el-form-item label="过夜">
<el-input type="text" v-model='teamPrice.NightPrice' class="w100" <el-input type="text" v-model='teamPrice.NightPrice' class="w100"
@keyup.native="checkPrice(teamPrice,'NightPrice'),getchange()"></el-input> @keyup.native="checkPrice(teamPrice,'NightPrice'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td> <td colspan="2">
<el-form-item label="签证"> <el-form-item label="签证">
<el-input type="text" v-model='teamPrice.VisaPrice' class="w100" <el-input type="text" v-model='teamPrice.VisaPrice' class="w100"
@keyup.native="checkPrice(teamPrice,'VisaPrice'),getchange()"></el-input> @keyup.native="checkPrice(teamPrice,'VisaPrice'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="2"> <td colspan="2">
<el-form-item label="领队导游分摊">
<el-input type='text' class="w100" v-model="OtherPrice.AirTicketShareMoney"
@keyup.native="checkPrice(OtherPrice,'AirTicketShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td>
<el-form-item label="保险"> <el-form-item label="保险">
<el-input type='text' class="w60" v-model="OtherPrice.SafeMoney" <el-input type='text' class="w100" v-model="OtherPrice.SafeMoney"
@keyup.native="checkPrice(OtherPrice,'SafeMoney'),getchange()"></el-input> @keyup.native="checkPrice(OtherPrice,'SafeMoney'),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td colspan="2"> </tr>
小计(机票+税金+联运+过夜+签证+保险+领队导游分摊): <tr>
<br /> {{getCostTotalMoney()}} <td colspan="13"></td>
</td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
...@@ -429,14 +440,18 @@ ...@@ -429,14 +440,18 @@
地接成本<br />(人民币) 地接成本<br />(人民币)
</td> </td>
<td colspan="2"> <td colspan="2">
成本<br />[地接成本(人民币)+机票+税金+联运+过夜+签证+保险+领队导游分摊] 成本<br />[地接成本(人民币)+其它成本(人民币)小计]
</td> </td>
<td colspan="2"> <td>
销售价格 同业销售价格
<br />(人民币)
</td>
<td>
直客销售价格
<br />(人民币) <br />(人民币)
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==14"> <template v-if="postConfig.LineId==14||postConfig.LineId==118">
销售价格 销售价格
<br />(日币) <br />(日币)
</template> </template>
...@@ -464,7 +479,7 @@ ...@@ -464,7 +479,7 @@
{{getLocalJpyTotalMoney(subItem.PeopleNumber)}} {{getLocalJpyTotalMoney(subItem.PeopleNumber)}}
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==14"> <template v-if="postConfig.LineId==14||postConfig.LineId==118">
{{getLocalTotalMoney(subItem.PeopleNumber)}} {{getLocalTotalMoney(subItem.PeopleNumber)}}
</template> </template>
<template v-else-if="postConfig.LineId==168"> <template v-else-if="postConfig.LineId==168">
...@@ -479,13 +494,18 @@ ...@@ -479,13 +494,18 @@
<td colspan="2"> <td colspan="2">
{{subItem.TotalMoney}} {{subItem.TotalMoney}}
</td> </td>
<td colspan="2"> <td>
<el-input type='text' class="w70" v-model="subItem.SalePrice" <el-input type='text' class="w70" v-model="subItem.SalePrice"
@keyup.native="checkPrice(subItem,'SalePrice')" maxlength="8"></el-input> @keyup.native="checkPrice(subItem,'SalePrice')" maxlength="8"></el-input>
</td> </td>
<td> <td>
<el-input v-if="postConfig.LineId==14" type='text' class="w70" v-model="subItem.JPYSalePrice" <el-input type='text' class="w70" v-model="subItem.B2CSalePrice"
@keyup.native="checkPrice(subItem,'JPYSalePrice')" maxlength="8"></el-input> @keyup.native="checkPrice(subItem,'B2CSalePrice')" maxlength="8"></el-input>
</td>
<td>
<el-input v-if="postConfig.LineId==14||postConfig.LineId==118" type='text' class="w70"
v-model="subItem.JPYSalePrice" @keyup.native="checkPrice(subItem,'JPYSalePrice')" maxlength="8">
</el-input>
</td> </td>
<td colspan="2"> <td colspan="2">
<el-input type="textarea" v-model="subItem.CostRemark"></el-input> <el-input type="textarea" v-model="subItem.CostRemark"></el-input>
...@@ -708,14 +728,15 @@ ...@@ -708,14 +728,15 @@
}, },
//其它成本价格 //其它成本价格
getCostTotalMoney() { getCostTotalMoney() {
//机票+税金+联运+过夜+保险+领队导游分摊 //机票+中段机票+税金+领队导游分摊+联运+过夜+保险
let totalMoney = this.getConvertMoney(this.OtherPrice.AirTicketMoeny) + let totalMoney = this.getConvertMoney(this.OtherPrice.AirTicketMoeny) +
this.getConvertMoney(this.OtherPrice.InlandAirTicketMoney) +
this.getConvertMoney(this.teamPrice.TaxPrice) + this.getConvertMoney(this.teamPrice.TaxPrice) +
this.getConvertMoney(this.teamPrice.UnionPrice) + this.getConvertMoney(this.teamPrice.UnionPrice) +
this.getConvertMoney(this.OtherPrice.AirTicketShareMoney) +
this.getConvertMoney(this.teamPrice.NightPrice) + this.getConvertMoney(this.teamPrice.NightPrice) +
this.getConvertMoney(this.teamPrice.VisaPrice) + this.getConvertMoney(this.teamPrice.VisaPrice) +
this.getConvertMoney(this.OtherPrice.SafeMoney) + this.getConvertMoney(this.OtherPrice.SafeMoney)
this.getConvertMoney(this.OtherPrice.AirTicketShareMoney)
return totalMoney; return totalMoney;
}, },
//获取币种对应 的人数报价 //获取币种对应 的人数报价
......
...@@ -198,7 +198,6 @@ ...@@ -198,7 +198,6 @@
"travel_get_GetMyTravelInfo_V4", "travel_get_GetMyTravelInfo_V4",
msg, msg,
res => { res => {
console.log("travel_get_GetMyTravelInfo_V4", res.data);
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var tempData = res.data.data; var tempData = res.data.data;
......
...@@ -226,7 +226,11 @@ ...@@ -226,7 +226,11 @@
} }
let msg = { let msg = {
offerId: offerId, offerId: offerId,
TCID: 0,
}; };
if (this.$route.query.TCID && this.$route.query.TCID > 0) {
msg.TCID = this.$route.query.TCID
}
this.loading = true; this.loading = true;
this.apipost( this.apipost(
"travel_get_GetMyTravelInfo_V4", "travel_get_GetMyTravelInfo_V4",
...@@ -275,6 +279,7 @@ ...@@ -275,6 +279,7 @@
if (tempData.OutBranchName && tempData.OutBranchName != '') { if (tempData.OutBranchName && tempData.OutBranchName != '') {
this.postData.OutBranchId = Number(tempData.OutBranchId); this.postData.OutBranchId = Number(tempData.OutBranchId);
} }
this.postData.TeamType=tempData.TeamType;
this.postData.OfferPayType = tempData.OfferPayType; this.postData.OfferPayType = tempData.OfferPayType;
this.postData.SaleOfferPayType = tempData.SaleOfferPayType; this.postData.SaleOfferPayType = tempData.SaleOfferPayType;
this.postData.TravelState = tempData.TravelState; this.postData.TravelState = tempData.TravelState;
...@@ -294,35 +299,15 @@ ...@@ -294,35 +299,15 @@
}, },
}, },
created() { created() {
this.postData.OfferId = this.$route.query.offerid > 0 ? this.$route.query.offerid : 0; if (this.$route.query.offerid && this.$route.query.offerid > 0) {
this.getPostData(); this.postData.OfferId = this.$route.query.offerid;
//从团控列表跳转信息
if (this.$route.query.TeamType && this.$route.query.TeamType >= 0) {
this.postData.TeamType = Number(this.$route.query.TeamType);
} }
//从团控列表跳转信息
if (this.$route.query.TCID && this.$route.query.TCID > 0) { if (this.$route.query.TCID && this.$route.query.TCID > 0) {
this.postData.TCID = this.$route.query.TCID this.postData.TCID = this.$route.query.TCID
} }
if (this.$route.query.LineID && this.$route.query.LineID > 0) { this.getPostData();
this.postData.LineId = Number(this.$route.query.LineID);
}
if (this.$route.query.ltID && this.$route.query.ltID > 0) {
this.postData.LineteamId = Number(this.$route.query.ltID);
}
if (this.$route.query.DayNum && this.$route.query.DayNum > 0) {
this.postData.DayNum = this.$route.query.DayNum;
}
if (this.$route.query.OutDateTime && this.$route.query.OutDateTime != '') {
this.postData.OutDateTime = this.$route.query.OutDateTime;
}
if (this.$route.query.OutBranchId && this.$route.query.OutBranchId != '') {
this.postData.OutBranchId = Number(this.$route.query.OutBranchId);
}
if (this.$route.query.Title && this.$route.query.Title != '') {
this.postData.Title = this.$route.query.Title;
}
//团控列表跳转参数结束 //团控列表跳转参数结束
console.log("this.post", this.postData);
}, },
components: { components: {
DirectNewQuotation: DirectNewQuotation DirectNewQuotation: DirectNewQuotation
......
...@@ -261,13 +261,11 @@ ...@@ -261,13 +261,11 @@
}, },
methods: { methods: {
getPostData() { getPostData() {
let configId = this.ConfigId;
let offerId = 0; let offerId = 0;
if (this.OfferId) { if (this.OfferId) {
offerId = this.OfferId; offerId = this.OfferId;
} }
let msg = { let msg = {
ID: configId,
offerId: offerId offerId: offerId
}; };
this.loading = true; this.loading = true;
......
...@@ -47,12 +47,12 @@ ...@@ -47,12 +47,12 @@
maxlength="-1"></el-input> maxlength="-1"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <!-- <el-col :span="4">
<el-form-item label="财务信息:"> <el-form-item label="财务信息:">
<el-input placeholder="" v-model="msg.FinanceMan" <el-input placeholder="" v-model="msg.FinanceMan"
maxlength="-1"></el-input> maxlength="-1"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col> -->
<el-col :span="4"> <el-col :span="4">
<el-form-item label="分类:"> <el-form-item label="分类:">
<el-select filterable v-model='msg.GroundingType' class=""> <el-select filterable v-model='msg.GroundingType' class="">
...@@ -89,9 +89,9 @@ ...@@ -89,9 +89,9 @@
<el-table-column prop="LinkMan" label="供应商联系人"></el-table-column> <el-table-column prop="LinkMan" label="供应商联系人"></el-table-column>
<el-table-column prop="LinkTel" label="供应商电话"></el-table-column> <el-table-column prop="LinkTel" label="供应商电话"></el-table-column>
<el-table-column prop="LinkDuties" label="供应商职务"></el-table-column> <el-table-column prop="LinkDuties" label="供应商职务"></el-table-column>
<el-table-column prop="FinanceMan" label="财务联系人"></el-table-column> <!-- <el-table-column prop="FinanceMan" label="财务联系人"></el-table-column>
<el-table-column prop="FinanceTel" label="财务电话"></el-table-column> <el-table-column prop="FinanceTel" label="财务电话"></el-table-column>
<el-table-column prop="FinanceDuties" label="财务职务"></el-table-column> <el-table-column prop="FinanceDuties" label="财务职务"></el-table-column> -->
<el-table-column prop="" label="合同"> <el-table-column prop="" label="合同">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="verificationFile(scope.row.ContractUrl,3)" class="img-box"> <div v-if="verificationFile(scope.row.ContractUrl,3)" class="img-box">
...@@ -195,8 +195,9 @@ ...@@ -195,8 +195,9 @@
</el-form-item> </el-form-item>
</div> </div>
<div class="msgbox"> <div class="msgbox">
<el-form-item label="供应商分类" prop="GroundingType"> <el-form-item label="供应商分类" prop="GroundingTypeInfo">
<el-select filterable v-model='form.GroundingType' style="width: 100%;"> <el-select filterable v-model='form.GroundingTypeInfo' multiple
collapse-tags style="width: 100%;">
<el-option v-for="item in sortList" :key="item.ID" :value="item.ID" :label="item.Name"> <el-option v-for="item in sortList" :key="item.ID" :value="item.ID" :label="item.Name">
</el-option> </el-option>
</el-select> </el-select>
...@@ -206,10 +207,16 @@ ...@@ -206,10 +207,16 @@
<el-form-item label="供应商名称" prop="Name"> <el-form-item label="供应商名称" prop="Name">
<el-input v-model="form.Name" clearable></el-input> <el-input v-model="form.Name" clearable></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div class="msgbox"> <div class="msgbox">
<el-form-item label="供应商地址" prop="Address"> <el-form-item label="到期时间" prop="ContractEndTime">
<el-input v-model="form.Address" clearable></el-input> <el-date-picker
v-model="form.ContractEndTime"
type="date"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
placeholder="选择合同到期时间">
</el-date-picker>
</el-form-item> </el-form-item>
</div> </div>
<div class="msgbox"> <div class="msgbox">
...@@ -228,18 +235,8 @@ ...@@ -228,18 +235,8 @@
</el-form-item> </el-form-item>
</div> </div>
<div class="msgbox"> <div class="msgbox">
<el-form-item label="财务联系人" prop="FinanceMan"> <el-form-item label="供应商地址" prop="Address">
<el-input v-model="form.FinanceMan" clearable></el-input> <el-input v-model="form.Address" clearable></el-input>
</el-form-item>
</div>
<div class="msgbox">
<el-form-item label="财务电话" prop="FinanceTel">
<el-input v-model="form.FinanceTel" clearable></el-input>
</el-form-item>
</div>
<div class="msgbox">
<el-form-item label="财务职务" prop="FinanceDuties">
<el-input v-model="form.FinanceDuties" clearable></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div class="msgbox"> <div class="msgbox">
...@@ -271,17 +268,7 @@ ...@@ -271,17 +268,7 @@
</div> </div>
</el-form-item> </el-form-item>
</div> </div>
<div class="msgbox">
<el-form-item label="到期时间" prop="ContractEndTime">
<el-date-picker
v-model="form.ContractEndTime"
type="date"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
placeholder="选择合同到期时间">
</el-date-picker>
</el-form-item>
</div>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="resetForm('form'),showVisible = false">取 消</el-button> <el-button size="small" @click="resetForm('form'),showVisible = false">取 消</el-button>
...@@ -317,8 +304,7 @@ ...@@ -317,8 +304,7 @@
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
Name: '', Name: '',
FinanceMan: '', GroundingType:'',
GroundingType:'0',
LineInfo: '', LineInfo: '',
LineId: '0' LineId: '0'
}, },
...@@ -333,25 +319,18 @@ ...@@ -333,25 +319,18 @@
LinkMan: '', LinkMan: '',
LinkTel: '', LinkTel: '',
LinkDuties: '', LinkDuties: '',
FinanceMan: '',
FinanceTel: '',
FinanceDuties: '',
GroundingType: '', GroundingType: '',
ContractUrl: '', ContractUrl: '',
LineInfo: '', LineInfo: '',
LineId: [], LineId: [],
GroundingTypeInfo:[],
ContractEndTime: '' ContractEndTime: ''
}, },
rules:{ rules:{
Name: [{ required: true, message: '请输入供应商名称', trigger: "blur"}], Name: [{ required: true, message: '请输入供应商名称', trigger: "blur"}],
Address: [{ required: true, message: '请输入供应商地址', trigger: "blur"}],
LinkMan: [{ required: true, message: '请输入供应商联系人', trigger: "blur"}], LinkMan: [{ required: true, message: '请输入供应商联系人', trigger: "blur"}],
LinkTel: [{ required: true, message: '请输入供应商电话', trigger: "blur"}], LinkTel: [{ required: true, message: '请输入供应商电话', trigger: "blur"}],
LinkDuties: [{ required: true, message: '请输入供应商职务', trigger: "blur"}], GroundingTypeInfo: [{ required: true, message: '请选择供应商类型', trigger: "change"}],
FinanceMan: [{ required: true, message: '请输入财务联系人', trigger: "blur"}],
FinanceTel: [{ required: true, message: '请输入财务电话', trigger: "blur"}],
FinanceDuties: [{ required: true, message: '请输入财务职务', trigger: "blur"}],
GroundingType: [{ required: true, message: '请选择供应商类型', trigger: "change"}],
LineId: [{ required: true, message: '请选择路线', trigger: "change"}], LineId: [{ required: true, message: '请选择路线', trigger: "change"}],
ContractUrl: [{ required: true, message: '请上传合同', trigger: "buttom"}], ContractUrl: [{ required: true, message: '请上传合同', trigger: "buttom"}],
ContractEndTime: [{ required: true, message: '请选择合同到期时间', trigger: "change"}], ContractEndTime: [{ required: true, message: '请选择合同到期时间', trigger: "change"}],
...@@ -390,6 +369,7 @@ ...@@ -390,6 +369,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.form = res.data.data this.form = res.data.data
this.form.LineId = res.data.data.LineInfo.split(',').map(x=>{ return Number(x) }) this.form.LineId = res.data.data.LineInfo.split(',').map(x=>{ return Number(x) })
this.form.GroundingTypeInfo = res.data.data.GroundingType.split(',').map(x=>{ return Number(x) })
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
...@@ -415,6 +395,7 @@ ...@@ -415,6 +395,7 @@
// } // }
this.form = JSON.parse(JSON.stringify(row)) this.form = JSON.parse(JSON.stringify(row))
this.$set(this.form, 'LineId', row.LineInfo.split(',').map(x=>{ return Number(x) })) this.$set(this.form, 'LineId', row.LineInfo.split(',').map(x=>{ return Number(x) }))
this.$set(this.form, 'GroundingTypeInfo', row.GroundingType.split(',').map(x=>{ return Number(x) }))
} }
this.showVisible = true this.showVisible = true
}, },
...@@ -483,6 +464,7 @@ ...@@ -483,6 +464,7 @@
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
if (valid) { if (valid) {
this.form.LineInfo = this.form.LineId.join(',') this.form.LineInfo = this.form.LineId.join(',')
this.form.GroundingType = this.form.GroundingTypeInfo.join(',')
this.submitLoading = true this.submitLoading = true
this.apipost( this.apipost(
'travel_get_SetGroundingSupplier', this.form, 'travel_get_SetGroundingSupplier', this.form,
...@@ -511,13 +493,11 @@ ...@@ -511,13 +493,11 @@
LinkMan: '', LinkMan: '',
LinkTel: '', LinkTel: '',
LinkDuties: '', LinkDuties: '',
FinanceMan: '',
FinanceTel: '',
FinanceDuties: '',
GroundingType: '', GroundingType: '',
ContractUrl: '', ContractUrl: '',
LineInfo: '', LineInfo: '',
LineId: [], LineId: [],
GroundingTypeInfo:[],
ContractEndTime: '' ContractEndTime: ''
} }
this.$refs[formName].resetFields(); this.$refs[formName].resetFields();
......
...@@ -398,12 +398,12 @@ ...@@ -398,12 +398,12 @@
<li class="liList" v-for="(dayobject,index) in days" :key="index+1000"> <li class="liList" v-for="(dayobject,index) in days" :key="index+1000">
<span v-if="dayobject.checkState==$calendarUtils.checkState.noChecked" <span v-if="dayobject.checkState==$calendarUtils.checkState.noChecked"
class="other-month">{{dayobject.day.getDate()}}</span> class="other-month">{{dayobject.day.getDate()}}</span>
<!--@click="clickedDay(dayobject)"--> <!---->
<span v-if="dayobject.checkState==$calendarUtils.checkState.checked" <span v-if="dayobject.checkState==$calendarUtils.checkState.checked"
class="checked1" >{{dayobject.day.getDate()}}</span> class="checked1" @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
<!--@click="clickedDay(dayobject)"--> <!---->
<span <span
v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue" >{{dayobject.day.getDate()}}</span> v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue" @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -384,12 +384,12 @@ ...@@ -384,12 +384,12 @@
<li class="liList" v-for="(dayobject,index) in days" :key="index+1000"> <li class="liList" v-for="(dayobject,index) in days" :key="index+1000">
<span v-if="dayobject.checkState==$calendarUtils.checkState.noChecked" <span v-if="dayobject.checkState==$calendarUtils.checkState.noChecked"
class="other-month">{{dayobject.day.getDate()}}</span> class="other-month">{{dayobject.day.getDate()}}</span>
<!--@click="clickedDay(dayobject)"--> <!---->
<span v-if="dayobject.checkState==$calendarUtils.checkState.checked" <span v-if="dayobject.checkState==$calendarUtils.checkState.checked"
class="checked1" >{{dayobject.day.getDate()}}</span> class="checked1" @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
<!--@click="clickedDay(dayobject)"--> <!---->
<span <span
v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue" >{{dayobject.day.getDate()}}</span> v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue" @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
</li> </li>
</ul> </ul>
</div> </div>
......
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