Commit c6480f8f authored by youjie's avatar youjie

no message

parent 94d9f39c
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
> >
</el-date-picker> </el-date-picker>
</br> </br>
<span style="color: red;font-size: 12px;">*结束日期请设置为月20日左右, 防止销售月底报名次月无法提成帐未平。</span> <!-- <span style="color: red;font-size: 12px;">*结束日期请设置为月20日左右, 防止销售月底报名次月无法提成帐未平。</span> -->
</el-form-item> </el-form-item>
<el-form-item label="热门签证" prop="HotVisa"> <el-form-item label="热门签证" prop="HotVisa">
<el-select v-model="addMsg.HotVisa"> <el-select v-model="addMsg.HotVisa">
...@@ -1002,11 +1002,11 @@ getCompanyList() { ...@@ -1002,11 +1002,11 @@ getCompanyList() {
this.addMsg.SendVisaDate = moment(this.PriceDates[1]).format( this.addMsg.SendVisaDate = moment(this.PriceDates[1]).format(
"YYYY-MM-DD" "YYYY-MM-DD"
); );
let SendVisaDate = moment(new Date(this.addMsg.SendVisaDate)).format("YYYY-MM")+'-25' // let SendVisaDate = moment(new Date(this.addMsg.SendVisaDate)).format("YYYY-MM")+'-25'
if(this.addMsg.SendVisaDate>=SendVisaDate){ // if(this.addMsg.SendVisaDate>=SendVisaDate){
this.Error(`价格有效结束日期请选择${SendVisaDate}之前日期!`); // this.Error(`价格有效结束日期请选择${SendVisaDate}之前日期!`);
return; // return;
} // }
}, },
SaveVisaProduct(formName) { SaveVisaProduct(formName) {
this.$refs[formName].validate(valid => { this.$refs[formName].validate(valid => {
...@@ -1036,11 +1036,11 @@ getCompanyList() { ...@@ -1036,11 +1036,11 @@ getCompanyList() {
this.addMsg.SendVisaDate = moment(this.PriceDates[1]).format( this.addMsg.SendVisaDate = moment(this.PriceDates[1]).format(
"YYYY-MM-DD" "YYYY-MM-DD"
); );
let SendVisaDate = moment(new Date(this.addMsg.SendVisaDate)).format("YYYY-MM")+'-25' // let SendVisaDate = moment(new Date(this.addMsg.SendVisaDate)).format("YYYY-MM")+'-25'
if(this.addMsg.SendVisaDate>=SendVisaDate){ // if(this.addMsg.SendVisaDate>=SendVisaDate){
this.Error(`价格有效结束日期请选择${SendVisaDate}之前日期!`); // this.Error(`价格有效结束日期请选择${SendVisaDate}之前日期!`);
return; // return;
} // }
this.apipost( this.apipost(
"dmc_post_visa_SetVisaProduct_V1", "dmc_post_visa_SetVisaProduct_V1",
this.addMsg, this.addMsg,
......
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