Commit f73896fb authored by zhengke's avatar zhengke

修改报价单显示

parent 6e428441
...@@ -508,6 +508,10 @@ ...@@ -508,6 +508,10 @@
<!--续课申请--> <!--续课申请-->
<continueclass-form v-if="isShowContinueClass" :save-obj="orderObj" @close="closeContinueClassForm" <continueclass-form v-if="isShowContinueClass" :save-obj="orderObj" @close="closeContinueClassForm"
@success="refreshClassOrder"></continueclass-form> @success="refreshClassOrder"></continueclass-form>
<!-- 查看报价单 -->
<viewquotation-form v-if="isShowviewQuo" :rId="rId" @close="closeQuota" @success="refreshView">
</viewquotation-form>
</div> </div>
</template> </template>
...@@ -520,6 +524,8 @@ ...@@ -520,6 +524,8 @@
import myOrderForm from '../../components/sale/myOrder-form' import myOrderForm from '../../components/sale/myOrder-form'
import classinfoForm from '../../components/course/classinfo-form'; import classinfoForm from '../../components/course/classinfo-form';
import continueclassForm from '../sale/continueclass-form' //续课申请 import continueclassForm from '../sale/continueclass-form' //续课申请
import viewquotationForm from '../sale/viewquotation-form'
import { import {
cancelClassOrder, //取消订单 cancelClassOrder, //取消订单
} from '../../api/sale/sale' } from '../../api/sale/sale'
...@@ -536,7 +542,8 @@ ...@@ -536,7 +542,8 @@
classinfoForm, classinfoForm,
backclassForm, backclassForm,
moneyForm, moneyForm,
continueclassForm continueclassForm,
viewquotationForm
}, },
props: { props: {
//正常订单 //正常订单
...@@ -574,6 +581,8 @@ ...@@ -574,6 +581,8 @@
moneyObj: {}, moneyObj: {},
CommonType: -1, //用于判断是修改提成还是额外奖励 CommonType: -1, //用于判断是修改提成还是额外奖励
EmployeeList: [], //员工列表 EmployeeList: [], //员工列表
isShowviewQuo:false,
rId:0
} }
}, },
created() { created() {
...@@ -581,14 +590,22 @@ ...@@ -581,14 +590,22 @@
}, },
mounted() {}, mounted() {},
methods: { methods: {
closeQuota(){
this.isShowviewQuo=false;
},
refreshView(){
},
//跳转 //跳转
goQuotation(Id) { goQuotation(Id) {
this.$router.push({ this.rId=Id;
path: "/sale/quotation", this.isShowviewQuo=true;
query: { // this.$router.push({
Id: Id // path: "/sale/quotation",
} // query: {
}); // Id: Id
// }
// });
}, },
getTkshow(data) { getTkshow(data) {
let Tkshow = false; let Tkshow = false;
...@@ -765,13 +782,26 @@ ...@@ -765,13 +782,26 @@
}, },
chanceType(obj, type) { chanceType(obj, type) {
let TCIDARR = [] let TCIDARR = []
TCIDARR.push(obj.ClassId) TCIDARR.push(obj.ClassId);
let orderObj = { var orderObj={}
OrderID: obj.OrderId, if(obj.OfferId>0){
OrderSource: 17, orderObj = {
Obj: {}, OrderID: obj.OrderId,
SourceID: 0, OrderSource: 17,
TCIDList: TCIDARR Obj: {},
SourceID: 0,
TCIDList: TCIDARR,
OtherType:29,
ReFinanceId:obj.OfferId
}
}else{
orderObj = {
OrderID: obj.OrderId,
OrderSource: 17,
Obj: {},
SourceID: 0,
TCIDList: TCIDARR
}
} }
this.$router.push({ this.$router.push({
path: '/financial/financalDocument/ChoiceAddFinancialDocuments', path: '/financial/financalDocument/ChoiceAddFinancialDocuments',
......
This diff is collapsed.
...@@ -125,7 +125,8 @@ ...@@ -125,7 +125,8 @@
if(this.$route.query.Handmsg){ if(this.$route.query.Handmsg){
this.$router.push({ this.$router.push({
path: '/financial/financalDocument/addReceivablesDocuments', path: '/financial/financalDocument/addReceivablesDocuments',
query:{"Handmsg":this.Handmsg,"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'} query:{"Handmsg":this.Handmsg,"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,
'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}
}); });
} }
// 财务收据 // 财务收据
...@@ -133,13 +134,15 @@ ...@@ -133,13 +134,15 @@
let Handmsg=this.$route.query.czmsg; let Handmsg=this.$route.query.czmsg;
this.$router.push({ this.$router.push({
path: '/financial/financalDocument/addReceivablesDocuments', path: '/financial/financalDocument/addReceivablesDocuments',
query:{"Handmsg":Handmsg,"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'} query:{"Handmsg":Handmsg,"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,
'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}
}); });
} }
else{ else{
this.$router.push({ this.$router.push({
path: '/financial/financalDocument/addReceivablesDocuments', path: '/financial/financalDocument/addReceivablesDocuments',
query:{"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'} query:{"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,
'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}
}); });
} }
}else if(this.active==2){ }else if(this.active==2){
...@@ -148,12 +151,14 @@ ...@@ -148,12 +151,14 @@
if(this.$route.query.czmsg){ if(this.$route.query.czmsg){
this.$router.push({ this.$router.push({
path: '/financial/financalDocument/' + path, path: '/financial/financalDocument/' + path,
query:{"czmsg":this.czmsg,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'} query:{"czmsg":this.czmsg,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,
'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}
}); });
}else{ }else{
this.$router.push({ this.$router.push({
path: '/financial/financalDocument/' + path, path: '/financial/financalDocument/' + path,
query:{"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'} query:{"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,
'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}
}); });
} }
}else if(this.active==4){ }else if(this.active==4){
......
...@@ -396,7 +396,7 @@ ...@@ -396,7 +396,7 @@
<div class="_explain"> <div class="_explain">
<p>附加说明: <span class="fr" v-if="GetDetail.ComplainID > 0" @click="goComplain('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"> <p>附加说明: <span class="fr" v-if="GetDetail.ComplainID > 0" @click="goComplain('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)">
<span style="color:#000">投诉单号:</span> <span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span> <span style="color:#000">投诉单号:</span> <span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span>
<span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==15" @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商采购单:{{GetDetail.ReFinanceId}}</span> <span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==15" @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商采购单:{{GetDetail.ReFinanceId}}</span>
<span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==16" @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商出库单:{{GetDetail.ReFinanceId}}</span> <span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==16" @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商出库单:{{GetDetail.ReFinanceId}}</span>
<span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==17" @click="lookbreakage(GetDetail.ReFinanceId)"> 报损/报溢单:{{GetDetail.ReFinanceId}}</span> <span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==17" @click="lookbreakage(GetDetail.ReFinanceId)"> 报损/报溢单:{{GetDetail.ReFinanceId}}</span>
...@@ -412,6 +412,9 @@ ...@@ -412,6 +412,9 @@
<span v-if="GetDetail.OtherType==18&&GetDetail.ReFinanceId>0" style="cursor: pointer;float: right;color: #000;font-size: 12px;"> <span v-if="GetDetail.OtherType==18&&GetDetail.ReFinanceId>0" style="cursor: pointer;float: right;color: #000;font-size: 12px;">
<span @click="goOrderDetails(GetDetail.ReFinanceId)">账单:{{GetDetail.ReFinanceId}}</span> <span @click="goOrderDetails(GetDetail.ReFinanceId)">账单:{{GetDetail.ReFinanceId}}</span>
</span> </span>
<span v-if="GetDetail.OtherType==29&&GetDetail.ReFinanceId>0" style="float: right;color: #000;font-size: 12px;">报价单:
<span style="color:blue;cursor:pointer;text-decoration:underline;" @click="showViewOrder">{{GetDetail.ReFinanceId}}</span>
</span>
</p> </p>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-if="GetDetail.TCIDAndTCNUMList.length>0"> <table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-if="GetDetail.TCIDAndTCNUMList.length>0">
<tr v-for="(o,ox) in GetDetail.TCIDAndTCNUMList" class="_fujiashuoming_tr"> <tr v-for="(o,ox) in GetDetail.TCIDAndTCNUMList" class="_fujiashuoming_tr">
...@@ -841,6 +844,8 @@ ...@@ -841,6 +844,8 @@
<a id='groupTourOrder_DownLoad' target="_blank" style="display:none">1不要删除</a> <a id='groupTourOrder_DownLoad' target="_blank" style="display:none">1不要删除</a>
<classinfo-form v-if="isShowClassInfo" :seting-obj="classObjOption" @close="closeClass" @success="refreshClass"> <classinfo-form v-if="isShowClassInfo" :seting-obj="classObjOption" @close="closeClass" @success="refreshClass">
</classinfo-form> </classinfo-form>
<viewquotationForm v-if="isShowviewQuo" :rId="rId" @close="closeQuota">
</viewquotationForm>
</div> </div>
</template> </template>
<script> <script>
...@@ -865,6 +870,7 @@ ...@@ -865,6 +870,7 @@
import {UploadSelfFile} from '../../../api/common/common' import {UploadSelfFile} from '../../../api/common/common'
import {getClassNameList} from '../../../api/finance/index' import {getClassNameList} from '../../../api/finance/index'
import classinfoForm from '../../../components/course/classinfo-form'; import classinfoForm from '../../../components/course/classinfo-form';
import viewquotationForm from '../../../components/sale/viewquotation-form';
export default { export default {
data(){ data(){
...@@ -945,6 +951,8 @@ ...@@ -945,6 +951,8 @@
huijiShow:true, huijiShow:true,
classObjOption: null, classObjOption: null,
isShowClassInfo: false, //是否显示课程信息 isShowClassInfo: false, //是否显示课程信息
isShowviewQuo:false, //是否显示预览报价单
rId:0
} }
}, },
components:{ components:{
...@@ -966,6 +974,7 @@ ...@@ -966,6 +974,7 @@
"czBillModule":czBillModule, "czBillModule":czBillModule,
'classinfo-form':classinfoForm, 'classinfo-form':classinfoForm,
'viewquotationForm':viewquotationForm
}, },
created(){ created(){
this.ID = this.$route.query.id; this.ID = this.$route.query.id;
...@@ -978,6 +987,10 @@ ...@@ -978,6 +987,10 @@
// } // }
}, },
methods:{ methods:{
//查看报价单
showViewOrder(){
this.isShowviewQuo=true;
},
GetAuth() { GetAuth() {
var actionCode = this.$AuthCode.TeamShouZhi; var actionCode = this.$AuthCode.TeamShouZhi;
// this.CheckUserAuth(actionCode, res => { // this.CheckUserAuth(actionCode, res => {
...@@ -1473,6 +1486,7 @@ ...@@ -1473,6 +1486,7 @@
let newTime = this.$commonUtils.formatMsgTime2(begTime,enTime); let newTime = this.$commonUtils.formatMsgTime2(begTime,enTime);
this.endDate = newTime.replace("前",""); this.endDate = newTime.replace("前","");
} }
this.rId = data.ReFinanceId;
this.FinancialFlowTemplate_post_GetProcessList(data.FrID,data.TemplateType) this.FinancialFlowTemplate_post_GetProcessList(data.FrID,data.TemplateType)
if(data.VorcherInos.length>0){ if(data.VorcherInos.length>0){
data.VorcherInos.forEach(x=>{ data.VorcherInos.forEach(x=>{
...@@ -1601,6 +1615,10 @@ ...@@ -1601,6 +1615,10 @@
closeClass() { closeClass() {
this.isShowClassInfo = false this.isShowClassInfo = false
}, },
//关闭预览弹窗
closeQuota(){
this.isShowviewQuo = false;
},
//刷新 //刷新
refreshClass() { refreshClass() {
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
合计金额 合计金额
</div> </div>
<div style="font-family:Poppins,Helvetica,sans-serif;font-size:26px;" class="text-weight-bold"> <div style="font-family:Poppins,Helvetica,sans-serif;font-size:26px;" class="text-weight-bold">
{{model.TotalPrice.toFixed(2)}} <span v-if="model.TotalPrice">{{model.TotalPrice.toFixed(2)}}</span>
</div> </div>
<div class="remark-font" <div class="remark-font"
style="padding-bottom: 3rem;margin-bottom: 4rem;border-bottom:1px solid #ebedf3;"> style="padding-bottom: 3rem;margin-bottom: 4rem;border-bottom:1px solid #ebedf3;">
......
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