Commit c9bfeaad authored by zhengke's avatar zhengke

修改

parent e95a4d59
......@@ -127,6 +127,11 @@
style="display:none" />
</div>
</div>
<div class="row wrap">
<div class="col-12 q-pr-lg q-pb-lg">
<q-input v-model="objOption.ContractInfo" filled type="textarea" placeholder="合同补充协议" />
</div>
</div>
<div class="text-caption q-my-md q-px-xs text-grey-6">课程介绍</div>
<ext-editor :defaultMsg="objOption.CourseIntro" classStr="col-12" @getEditValue="getEditValue"></ext-editor>
<div class="row wrap">
......@@ -218,6 +223,7 @@
B2BIcon: '', //图标
B2BBackground: '', //背景
CourseEmphasis: [], //课程重点 多选 英文逗号分隔
ContractInfo:'' //合同补充协议
},
CourseEmphasis: [], //数据临时存放
optionTitle: "",
......@@ -446,6 +452,7 @@
this.objOption.CourseSubject = res.Data.CourseSubject;
this.objOption.B2BIcon = res.Data.B2BIcon;
this.objOption.B2BBackground = res.Data.B2BBackground;
this.objOption.ContractInfo = res.Data.ContractInfo;
this.CourseEmphasis = []
setTimeout(() => { //Todo 暂时不知道什么原因 偶尔会出现2个 所以加了一个延迟
if (res.Data.CourseEmphasis && res.Data.CourseEmphasis != '') {
......@@ -498,6 +505,7 @@
this.objOption.Saleplat = "";
this.objOption.IsKCourse = 0;
this.objOption.CourseRate = "";
this.objOption.ContractInfo = '';
this.getCategorytree();
}
},
......
......@@ -79,6 +79,10 @@
GenerateOrder
} from '../api/sale/contract'
import QRCode from 'qrcodejs2'
import {
Encrypt,
Decrypt
} from '../utils/encrypt'
export default {
data() {
......@@ -94,8 +98,9 @@
},
mounted() {
if (this.$route.query.contractId) {
this.msg.contractId = this.$route.query.contractId;
if (this.$route.query.a) {
let ContractId = Decrypt(decodeURIComponent(this.$route.query.a));
this.msg.ContractId = ContractId;
this.getList();
}
if(this.$route.query.Money){
......@@ -127,7 +132,9 @@
this.$router.push({
path: 'contractConfirm',
query: {
ContractId: this.msg.contractId
query: {
a: encodeURIComponent(Encrypt(this.msg.ContractId.toString())),
}
}
});
}
......
......@@ -297,7 +297,7 @@
this.$router.push({
path: '/contractPay',
query: {
contractId: this.msg.ContractId,
a: encodeURIComponent(Encrypt(this.msg.ContractId.toString())),
Money: this.Money
}
});
......
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