Commit e1ab0602 authored by 华国豪's avatar 华国豪 🙄
parents fddc3574 16e06d54
...@@ -820,7 +820,7 @@ export default { ...@@ -820,7 +820,7 @@ export default {
filterRouter(){ filterRouter(){
let that=this let that=this
this.$router.beforeEach((to, from, next) => { this.$router.beforeEach((to, from, next) => {
console.log("to.query.blank && to.query.blank=='y'",to.query) // console.log("to.query.blank && to.query.blank=='y'",to.query,"666")
if(to.path=="/ModifyVisaProduct"){ if(to.path=="/ModifyVisaProduct"){
this.reloadpage(); this.reloadpage();
} }
......
...@@ -531,7 +531,6 @@ export default { ...@@ -531,7 +531,6 @@ export default {
this.Error("至少选择一人!"); this.Error("至少选择一人!");
return; return;
} }
sessionStorage.setItem("saveGuestInfo",JSON.stringify(userInfo)) sessionStorage.setItem("saveGuestInfo",JSON.stringify(userInfo))
// this.$store.commit('saveGuestInfo',userInfo) // this.$store.commit('saveGuestInfo',userInfo)
// console.log("getGuestInfo",this.$store.getters.getGuestInfo) // console.log("getGuestInfo",this.$store.getters.getGuestInfo)
......
...@@ -404,19 +404,19 @@ ...@@ -404,19 +404,19 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="成本价" prop="CostPrice"> <el-form-item label="成本价" prop="CostPrice">
<el-input v-model.number="addMsg.CostPrice" @keyup.native="checkInteger(addMsg,'CostPrice')" placeholder="请输入" maxlength="20"></el-input> <el-input v-model="addMsg.CostPrice" @keyup.native="checkPrice(addMsg,'CostPrice')" placeholder="请输入" maxlength="20"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="同业价" prop="VisaPrice"> <el-form-item label="同业价" prop="VisaPrice">
<el-input v-model.number="addMsg.VisaPrice" @keyup.native="checkInteger(addMsg,'VisaPrice')" placeholder="请输入" maxlength="20"></el-input> <el-input v-model.number="addMsg.VisaPrice" @keyup.native="checkPrice(addMsg,'VisaPrice')" placeholder="请输入" maxlength="20"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="直客价" prop="VisaB2CPrice"> <el-form-item label="直客价" prop="VisaB2CPrice">
<el-input v-model.number="addMsg.VisaB2CPrice" @keyup.native="checkInteger(addMsg,'VisaB2CPrice')" placeholder="请输入" maxlength="20"></el-input> <el-input v-model.number="addMsg.VisaB2CPrice" @keyup.native="checkPrice(addMsg,'VisaB2CPrice')" placeholder="请输入" maxlength="20"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="提成金额" prop="CommissionPrice"> <el-form-item label="提成金额" prop="CommissionPrice">
<el-input v-model="addMsg.CommissionPrice" placeholder="请输入" @keyup.native="checkInteger(addMsg,'CommissionPrice')"></el-input> <el-input v-model="addMsg.CommissionPrice" placeholder="请输入" @keyup.native="checkPrice(addMsg,'CommissionPrice')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="提前预定天数" prop="BookAdvance"> <el-form-item label="提前预定天数" prop="BookAdvance">
...@@ -764,7 +764,7 @@ export default { ...@@ -764,7 +764,7 @@ export default {
VisaType: 1, VisaType: 1,
SendVisaDate: "", SendVisaDate: "",
VisaPrice: "", VisaPrice: "",
PeopleNum: 0, PeopleNum: "0",
CostPrice: "", CostPrice: "",
EntryType:0, EntryType:0,
CommissionPrice: "", CommissionPrice: "",
...@@ -779,8 +779,6 @@ export default { ...@@ -779,8 +779,6 @@ export default {
rules: { rules: {
Name: [{ required: true, message: "请输入产品名称", trigger: "blur" }], Name: [{ required: true, message: "请输入产品名称", trigger: "blur" }],
// ManageDuration:[{ type: 'number', message: '必须为数字值'}],
customerName: [ customerName: [
{ required: true, message: "请输入客户名", trigger: "blur" } { required: true, message: "请输入客户名", trigger: "blur" }
], ],
...@@ -795,14 +793,14 @@ export default { ...@@ -795,14 +793,14 @@ export default {
{ required: true, message: "请输入直客价", trigger: "blur" }, { required: true, message: "请输入直客价", trigger: "blur" },
{ {
pattern: this.$commonUtils.Regex.el_Isdecimal, pattern: this.$commonUtils.Regex.el_Isdecimal,
message: "请输入数字" message: "请输入直客价"
} }
], ],
CostPrice: [ CostPrice: [
{ required: true, message: "请输入成本价", trigger: "blur" }, { required: true, message: "请输入成本价", trigger: "blur" },
{ {
pattern: this.$commonUtils.Regex.el_Isdecimal, pattern: this.$commonUtils.Regex.el_Isdecimal,
message: "请输入数字" message: "请输入成本价"
} }
], ],
VisaType: [ VisaType: [
...@@ -895,7 +893,7 @@ export default { ...@@ -895,7 +893,7 @@ export default {
"dmc_get_visa_GetVisaProductInfo_V1", "dmc_get_visa_GetVisaProductInfo_V1",
{Pid:Pid}, {Pid:Pid},
res => { res => {
// console.log(res); console.log(res);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data=res.data.data; let data=res.data.data;
this.addMsg=res.data.data; this.addMsg=res.data.data;
...@@ -975,7 +973,6 @@ export default { ...@@ -975,7 +973,6 @@ export default {
"YYYY-MM-DD" "YYYY-MM-DD"
); );
// console.log("this.addMsg", this.addMsg); // console.log("this.addMsg", this.addMsg);
this.loading=true;
this.apipost( this.apipost(
"dmc_post_visa_SetVisaProduct_V1", "dmc_post_visa_SetVisaProduct_V1",
this.addMsg, this.addMsg,
......
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
<div class="TB_comtitle TB-Title">团费收入: <div class="TB_comtitle TB-Title">团费收入:
<span v-if="moneyAll.Moneyall>0 || moneyAll.PayMoneyall>0"> <span v-if="moneyAll.Moneyall>0 || moneyAll.PayMoneyall>0">
<span class="span_all">应收:¥{{moneyFormat(moneyAll.Moneyall)}}</span> <span class="span_all">应收:¥{{moneyFormat(moneyAll.Moneyall)}}</span>
<span class="span_all">实收:¥{{moneyFormat(moneyAll.PayMoneyall)}}</span> <span class="span_all">实收:¥{{moneyFormat(moneyAll.PayMoneyall)}}</span>
</span> </span>
...@@ -1573,8 +1573,8 @@ ...@@ -1573,8 +1573,8 @@
// 车资 // 车资
if(that.isExists(item.CostTypeList,'车资')){ if(that.isExists(item.CostTypeList,'车资')){
this.moneyAll.zheziyf+=item.Money; this.moneyAll.cheziyf+=item.Money;
this.moneyAll.zhezisf+=item.PayMoney; this.moneyAll.chezisf+=item.PayMoney;
} }
// 机票款 // 机票款
if(that.isExists(item.CostTypeList,'国际段机票') || item.OrderSource===4 || that.isExists(item.CostTypeList,'机票退税') || that.isExists(item.CostTypeList,'机票罚金') || that.isExists(item.CostTypeList,'机票税金') || that.isExists(item.CostTypeList,'国内联运段机票')){ if(that.isExists(item.CostTypeList,'国际段机票') || item.OrderSource===4 || that.isExists(item.CostTypeList,'机票退税') || that.isExists(item.CostTypeList,'机票罚金') || that.isExists(item.CostTypeList,'机票税金') || that.isExists(item.CostTypeList,'国内联运段机票')){
......
<style lang="less" scoped>
<style lang="less" scoped> @import "../../assets/css/main.less";
@import "../../assets/css/main.less"; @import "../../assets/css/cssReset.css";
@import "../../assets/css/cssReset.css";
</style> </style>
<template> <template>
<div> <div>
<leftNav></leftNav> <leftNav></leftNav>
</div> </div>
</template> </template>
<script> <script>
import leftNav from '../public/leftNav.vue' import leftNav from '../public/leftNav.vue'
export default { export default {
data (){ data() {
return{ return {
}
} },
}, components: {
components:{ leftNav
leftNav },
}, mounted() {
mounted(){ },
methods: {
}, goUrl(path, id) {
methods:{ this.$router.push({
goUrl (path,id) { path: "Details",
this.$router.push({ path: "Details",query:{path,id} }) query: {
}, path,
} id
} }
})
},
}
}
</script> </script>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
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