Commit 94d7e325 authored by 黄奎's avatar 黄奎

合同修改

parent 03a10d15
......@@ -19,16 +19,18 @@
height: 40px;
}
.priceinput label{
height:30px !important;
}
.priceinput div{
height:20px !important;
}
.priceinput label {
height: 30px !important;
}
.priceinput div {
height: 20px !important;
}
.studentinput div {
height: 40px !important;
}
.studentinput div{
height:40px !important;
}
</style>
<template>
<q-dialog v-model="persistent" content-class="bg-grey-1" persistent transition-show="scale" transition-hide="scale">
......@@ -45,21 +47,30 @@
<div class="row wrap">
<q-input clearable v-model="objOption.LegalPerson" label="法定代表人" stack-label :dense="false" class="col-12 q-pr-lg q-pb-lg studentinput" />
<q-input clearable v-model="objOption.StudentName" label="学生姓名" stack-label :dense="false" class="col-6 q-pr-lg studentinput" />
<div class="col-6 q-pb-lg" style="color: rgba(0, 0, 0, 0.6); font-size: 12px;line-height: 20px; font-weight: 400; letter-spacing: 0.00937em; text-decoration: inherit; text-transform: inherit; transform-origin: left top;">
<q-input clearable v-model="objOption.LegalPerson" label="法定代表人" stack-label :dense="false"
class="col-12 q-pr-lg q-pb-lg studentinput" />
<q-input clearable v-model="objOption.StudentName" label="学生姓名" stack-label :dense="false"
class="col-6 q-pr-lg studentinput" />
<div class="col-6 q-pb-lg"
style="color: rgba(0, 0, 0, 0.6); font-size: 12px;line-height: 20px; font-weight: 400; letter-spacing: 0.00937em; text-decoration: inherit; text-transform: inherit; transform-origin: left top;">
学生性别:
<q-radio v-model="objOption.StuSex" size="xs" :val="0" label="男" />
<q-radio v-model="objOption.StuSex" size="xs" :val="1" label="女" />
</div>
<q-input clearable v-model="objOption.StuIDCard" label="学生身份证号码" stack-label :dense="false" class="col-6 q-pr-lg studentinput" />
<q-input clearable v-model="objOption.StuIDCard" label="学生身份证号码" stack-label :dense="false"
class="col-6 q-pr-lg studentinput" />
<q-input clearable class="col-6 q-pb-lg studentinput" stack-label v-model="objOption.IDCardAddress" label="住所地(身份证地址)" :dense="false"/>
<q-input clearable class="col-6 q-pr-lg q-pb-lg studentinput" stack-label v-model="objOption.StuAddress" label="联系地址(实际居住地)" :dense="false"/>
<q-input clearable class="col-6 q-pb-lg studentinput" stack-label v-model="objOption.StuTel" label="联系电话" :dense="false" />
<q-input clearable class="col-6 q-pb-lg studentinput" stack-label v-model="objOption.IDCardAddress"
label="住所地(身份证地址)" :dense="false" />
<q-input clearable class="col-6 q-pr-lg q-pb-lg studentinput" stack-label v-model="objOption.StuAddress"
label="联系地址(实际居住地)" :dense="false" />
<q-input clearable class="col-6 q-pb-lg studentinput" stack-label v-model="objOption.StuTel" label="联系电话"
:dense="false" />
<!-- <q-input clearable filled class="col-6 q-pr-lg q-pb-lg" v-model="objOption.StuTel" label="学生电话" /> -->
<q-input clearable class="col-6 q-pr-lg q-pb-lg studentinput" stack-label label="紧急联系人" v-model="objOption.ParentName" :dense="false"/>
<q-input clearable class="col-6 q-pr-lg studentinput" stack-label label="紧急联系电话" v-model="objOption.ParentTel" :dense="false"/>
<q-input clearable class="col-6 q-pr-lg q-pb-lg studentinput" stack-label label="紧急联系人"
v-model="objOption.ParentName" :dense="false" />
<q-input clearable class="col-6 q-pr-lg studentinput" stack-label label="紧急联系电话" v-model="objOption.ParentTel"
:dense="false" />
<q-input filled v-if="false" v-model="objOption.StuBirth" class="col-6 q-pb-lg" mask="date" label="学生生日">
<template v-slot:append>
<q-icon name="event" class="cursor-pointer">
......@@ -75,10 +86,12 @@
<span class="job_Line"></span>培训课程内容
</div>
<div style="width:100%;display:inline-block;">
<q-input clearable class="studentinput" stack-label style="float:left;height:30px;width:100%;" label="培训课程信息" v-model="objOption.CourseName" :dense="false" />
<q-input clearable class="studentinput" stack-label style="float:left;height:30px;width:100%;" label="培训课程信息"
v-model="objOption.CourseName" :dense="false" />
</div>
<div style="width:100%;display:inline-block;margin-top:10px;">
<q-input clearable class="studentinput" stack-label style="float:left;height:30px;width:100%;" label="培训课程内容" v-model="objOption.StartLevel" :dense="false" />
<q-input clearable class="studentinput" stack-label style="float:left;height:30px;width:100%;" label="培训课程内容"
v-model="objOption.StartLevel" :dense="false" />
</div>
<div class="jobInfo_item" style="margin-top:20px;">
......@@ -86,24 +99,35 @@
</div>
<div>
<div style="width:100%;display:inline-block;"><span style="float:left;">人民币(大写):</span>
<q-input class="priceinput" style="min-width:200px;float:left;height:30px;width:auto;padding:0 5px;" v-model="objOption.CNYCaps" disabled :dense="false" />
<q-input class="priceinput" style="min-width:200px;float:left;height:30px;width:auto;padding:0 5px;"
v-model="objOption.CNYCaps" disabled :dense="false" />
<span style="float:left;">圆(小写):</span>
<q-input class="priceinput" style="width:150px;float:left;height:30px;" v-model="objOption.Money" @keyup.native="checkPrice(objOption,'Money')" @input="mathMoney(objOption.Money)" :dense="false" /> 元。</div>
<q-input class="priceinput" style="width:150px;float:left;height:30px;" v-model="objOption.Money"
@keyup.native="checkPrice(objOption,'Money')" @input="mathMoney(objOption.Money)" :dense="false" /> 元。
</div>
<div style="width:100%;display:inline-block;">
<span style="float:left;">课时费:共计</span>
<q-input class="priceinput" style="float:left;width:150px;height:30px;" v-model="objOption.FirstClassHours" @keyup.native="checkPrice(objOption,'FirstClassHours')" :dense="false" />
<q-input class="priceinput" style="float:left;width:150px;height:30px;" v-model="objOption.FirstClassHours"
@keyup.native="checkPrice(objOption,'FirstClassHours')" :dense="false" />
<span style="float:left;"> 元(</span>
<q-input class="priceinput" style="float:left;width:150px;height:30px;" v-model="objOption.ClassHours" @keyup.native="checkPrice(objOption,'ClassHours')" :dense="false" />
<span > 元/节)</span>
<q-input class="priceinput" style="float:left;width:150px;height:30px;" v-model="objOption.ClassHours"
@keyup.native="checkPrice(objOption,'ClassHours')" :dense="false" />
<span> 元/节)</span>
</div>
<div style="width:100%;display:inline-block;">
<span style="float:left;"> 课件费:</span>
<q-input class="priceinput" style="float:left;width:150px;height:30px;" @keyup.native="checkPrice(objOption,'FirstClassFee')" v-model="objOption.FirstClassFee" :dense="false" /> 元。</div>
<q-input class="priceinput" style="float:left;width:150px;height:30px;"
@keyup.native="checkPrice(objOption,'FirstClassFee')" v-model="objOption.FirstClassFee" :dense="false" />
元。</div>
<div style="width:100%;display:inline-block;">
<span style="float:left;"> 教材:</span>
<q-input class="priceinput" style="float:left;width:150px;height:30px;" @keyup.native="checkPrice(objOption,'FirstBookFee')" v-model="objOption.FirstBookFee" :dense="false" /> 元。</div>
<q-input class="priceinput" style="float:left;width:150px;height:30px;"
@keyup.native="checkPrice(objOption,'FirstBookFee')" v-model="objOption.FirstBookFee" :dense="false" /> 元。
</div>
<div style="width:100%;display:inline-block;">
<q-input clearable class="studentinput" stack-label style="float:left;height:30px;width:100%;margin-bottom:30px;" label="教材包括" v-model="objOption.TextbookIncludes" :dense="false" />
<q-input clearable class="studentinput" stack-label
style="float:left;height:30px;width:100%;margin-bottom:30px;" label="教材包括"
v-model="objOption.TextbookIncludes" :dense="false" />
</div>
......@@ -114,11 +138,12 @@
<div class="row wrap">
<div>
<p>乙方通过参加甲方提供的教学服务后,应主动参加相关国际考试。考试内容为:</p>
<p>A 日语国际能力测试(JLPT):初级(N5-N4)、中级(N3-N2)、高级(N1);</p>
<p>B 实用日本语鉴定考试(J.TEST):初级(E-F级)、中高级(A-D级);</p>
<p>C 日本留学生考试(EJU):文科(日语)、综合科目、数学。</p>
<div style="width:100%;display:inline-block;">
<q-input clearable class="studentinput" stack-label style="float:left;height:30px;width:100%;" label="乙方当前选择考试" v-model="objOption.Exam" :dense="false" />
<p>A 日语国际能力测试(JLPT):初级(N5-N4)、中级(N3-N2)、高级(N1);</p>
<p>B 实用日本语鉴定考试(J.TEST):初级(E-F级)、中高级(A-D级);</p>
<p>C 日本留学生考试(EJU):文科(日语)、综合科目、数学。</p>
<div style="width:100%;display:inline-block;">
<q-input clearable class="studentinput" stack-label style="float:left;height:30px;width:100%;"
label="乙方当前选择考试" v-model="objOption.Exam" :dense="false" />
</div>
</div>
<!-- <q-select class="col-6 q-pb-lg " clearable option-value="Id" option-label="Value"
......@@ -207,11 +232,11 @@
ThirdPayDate: '', //第三期-支付日期
Exam: '', //乙方当前选择考试
IsSupplement: 0, // 0无 1 有 是否有补充协议
StuIDCard:"",//学员身份证号码
TextbookIncludes:"",//教材包括
ClassHours:0,//课时单价
LegalPerson:"丁嘉睿",//法人
IDCardAddress:"",//身份证地址
StuIDCard: "", //学员身份证号码
TextbookIncludes: "", //教材包括
ClassHours: 0, //课时单价
LegalPerson: "丁嘉睿", //法人
IDCardAddress: "", //身份证地址
Money: 0
},
totalHours: 0, //培训课时数总计
......@@ -265,7 +290,6 @@
},
//保存合同
saveContract() {
//this.objOption.Money = this.totalMoney;
SetEducationContractInfo(this.objOption).then(res => {
if (res.Code == 1) {
this.$q.notify({
......@@ -309,12 +333,15 @@
this.objOption.CourseName = tempData.CourseName;
this.objOption.CourseConsultant = tempData.CourseConsultant;
this.objOption.CNYCaps = tempData.CNYCaps;
this.objOption.ClassHours=tempData.ClassHours;
this.objOption.TextbookIncludes=tempData.TextbookIncludes;
this.objOption.IDCardAddress=tempData.IDCardAddress;
this.objOption.LegalPerson="丁嘉睿";
this.objOption.StuIDCard=tempData.StuIDCard;
this.objOption.Exam ="A";
this.objOption.ClassHours = tempData.ClassHours;
if (this.objOption.TextbookIncludes == '') {
this.objOption.TextbookIncludes = "当级别教程默认教材";
}
this.objOption.IDCardAddress = tempData.IDCardAddress;
this.objOption.LegalPerson = "丁嘉睿";
this.objOption.StuIDCard = tempData.StuIDCard;
this.objOption.Exam = "A";
}
})
},
......@@ -362,7 +389,7 @@
this.objOption.CourseName = tempData.CourseName;
this.objOption.CourseConsultant = tempData.CourseConsultant;
this.objOption.CNYCaps = tempData.CNYCaps;
this.objOption.Exam =tempData.Id==0?"A": tempData.Exam;
this.objOption.Exam = tempData.Id == 0 ? "A" : tempData.Exam;
this.objOption.IsSupplement = tempData.IsSupplement;
this.objOption.ParentName = tempData.ParentName;
this.objOption.ParentRelation = tempData.ParentRelation;
......@@ -373,11 +400,11 @@
this.objOption.UrgentTel = tempData.UrgentTel;
this.objOption.ParentEmail = tempData.ParentEmail;
this.objOption.UrgentEmail = tempData.UrgentEmail;
this.objOption.ClassHours=tempData.ClassHours;
this.objOption.TextbookIncludes=tempData.TextbookIncludes;
this.objOption.IDCardAddress=tempData.IDCardAddress;
this.objOption.LegalPerson=tempData.Id==0?"丁嘉睿":tempData.LegalPerson;
this.objOption.StuIDCard=tempData.StuIDCard;
this.objOption.ClassHours = tempData.ClassHours;
this.objOption.TextbookIncludes = tempData.TextbookIncludes;
this.objOption.IDCardAddress = tempData.IDCardAddress;
this.objOption.LegalPerson = tempData.Id == 0 ? "丁嘉睿" : tempData.LegalPerson;
this.objOption.StuIDCard = tempData.StuIDCard;
}
})
}
......
......@@ -289,11 +289,9 @@
if (this.OrderMsg.GuestNum && this.OrderMsg.GuestNum > 0) {
guestNum = Number(this.OrderMsg.GuestNum);
}
var preferPrice = 0; //应收
var coursewareFee = 0; //课件费
var textbookFee = 0; //教材费
console.log("his.OrderMsg.OrderCourseList",this.OrderMsg.OrderCourseList);
if (this.OrderMsg.OrderCourseList && this.OrderMsg.OrderCourseList.length > 0) {
this.OrderMsg.OrderCourseList.forEach(item => {
if (this.OrderMsg.Unit_PriceType == 1) {
......
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