Commit 4f9293ea authored by youjie's avatar youjie

no message

parent 94eaddce
...@@ -623,9 +623,9 @@ ...@@ -623,9 +623,9 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item :label="$t('salesModule.SingleFM')"> <el-form-item :label="$t('salesModule.SingleFM')">
<el-radio v-model="addMsg.OneSex" label="1">{{ $t("pub.man") }} <el-radio v-model="addMsg.OneSex" :label="Number(1)">{{ $t("pub.man") }}
</el-radio> </el-radio>
<el-radio v-model="addMsg.OneSex" label="2">{{ $t("pub.woman") }} <el-radio v-model="addMsg.OneSex" :label="Number(2)">{{ $t("pub.woman") }}
</el-radio> </el-radio>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -1502,7 +1502,6 @@ ...@@ -1502,7 +1502,6 @@
ID: s.supplierId, ID: s.supplierId,
Name: s.supplierName, Name: s.supplierName,
}) })
console.log(this.deepFirstLetterToLower(newVal.guestList),'=====')
setTimeout(() => { setTimeout(() => {
let obj = JSON.parse(JSON.stringify(this.addMsg)) let obj = JSON.parse(JSON.stringify(this.addMsg))
...@@ -1511,6 +1510,7 @@ ...@@ -1511,6 +1510,7 @@
OrderId: newVal.orderId,// 订单号 OrderId: newVal.orderId,// 订单号
Meet: newVal.meet,// 成本 Meet: newVal.meet,// 成本
Remarks: newVal.remarks,// 订单备注 Remarks: newVal.remarks,// 订单备注
UnionRemark: newVal.unionRemark,
Mobile: newVal.mobile,// 联系手机号 Mobile: newVal.mobile,// 联系手机号
DisplaySupplierId: s.supplierId, DisplaySupplierId: s.supplierId,
SupplierId: s.supplierId,// 供应商id SupplierId: s.supplierId,// 供应商id
...@@ -1522,8 +1522,10 @@ ...@@ -1522,8 +1522,10 @@
CompanyPhone: s.companyPhone,// 电话 CompanyPhone: s.companyPhone,// 电话
OpeningBank: s.openingBank,// 开户行 OpeningBank: s.openingBank,// 开户行
BankNo: s.bankNo,// 开户账号 BankNo: s.bankNo,// 开户账号
AppointOPList: newVal.appointOPList,// op 格式:([1,2,3]) AppointOPList: newVal.appointOPList.map(item => {
GuestList: this.deepFirstLetterToLower(newVal.guestList),// 旅客名单 return item.opId
}),// op 格式:([1,2,3])
GuestList: [],// 旅客名单
FinalPriceTips: newVal.finalPriceTips,// 尾款提醒设置 FinalPriceTips: newVal.finalPriceTips,// 尾款提醒设置
...@@ -1547,13 +1549,26 @@ ...@@ -1547,13 +1549,26 @@
TripleRoomNum: newVal.tripleRoomNum, TripleRoomNum: newVal.tripleRoomNum,
VisaNum: newVal.visaNum, VisaNum: newVal.visaNum,
SafeNum: newVal.safeNum, SafeNum: newVal.safeNum,
OneSexNum: newVal.oneSexNum, OneSex: newVal.oneSex,
PredictRoomNum: newVal.predictRoomNum, PredictRoomNum: newVal.predictRoomNum,
YSeatNum: newVal.ySeatNum, YSeatNum: newVal.ySeatNum,
ESeatNum: newVal.eSeatNum, ESeatNum: newVal.eSeatNum,
FSeatNum: newVal.fSeatNum, FSeatNum: newVal.fSeatNum,
WordPath: newVal.wordPath,//附件 WordPath: newVal.wordPath,//附件
}; };
newVal.guestList.forEach(item => {
this.addMsg.GuestList.push({
Birthday: item.birthday,// 生日
Name: item.userName,// 名称
IdCard: item.idCard,// 身份证号
PassportNo: item.passportNo,// 护照号
PassportIssued: item.passportIssued,// 护照签发日期
PassportExpiry: item.passportExpiry,// 护照有效期
Tel: item.tel,// 联系电话
})
})
console.log(newVal,'=======')
},1000) },1000)
} }
} }
......
...@@ -453,6 +453,10 @@ ...@@ -453,6 +453,10 @@
<span v-if="item.photoNum > 0">({{ $t("salesModule.NoPhoto") }} {{ item.photoNum <span v-if="item.photoNum > 0">({{ $t("salesModule.NoPhoto") }} {{ item.photoNum
}}{{ $t("salesModule.Fen") }})</span> }}{{ $t("salesModule.Fen") }})</span>
</span> </span>
<span class="RL-remarkTitle" v-if="item.appointOPList.length > 0">OP:</span>
<span class="RL-redType RL-remarkCon" v-if="item.appointOPList.length > 0">
<span v-for="childItem in item.appointOPList" style="color: blue;margin-right: 5px">{{ childItem.opName }}</span>
</span>
<p v-if="item.cancelGuestList.length > 0"> <p v-if="item.cancelGuestList.length > 0">
<span class="">{{ $t("salesModule.CancelOrder") }}:</span> <span class="">{{ $t("salesModule.CancelOrder") }}:</span>
<span class="RL-redType RL-remarkCon"> <span class="RL-redType RL-remarkCon">
...@@ -725,8 +729,6 @@ export default { ...@@ -725,8 +729,6 @@ export default {
data() { data() {
return { return {
dataList: [], dataList: [],
showType: 1,
selectedSpotData: null,
} }
}, },
......
...@@ -3108,6 +3108,7 @@ ...@@ -3108,6 +3108,7 @@
}, },
methods: { methods: {
addOrders() { addOrders() {
this.selectedSpotData = null
this.$refs.addOrders.openDrawer(); this.$refs.addOrders.openDrawer();
}, },
handleSaveSuccess() { handleSaveSuccess() {
......
...@@ -427,8 +427,9 @@ ...@@ -427,8 +427,9 @@
<div class="flexOne changInfo" :class="{ 'drawer-mode': isDrawerMode }"> <div class="flexOne changInfo" :class="{ 'drawer-mode': isDrawerMode }">
<!-- 正常内容 --> <!-- 正常内容 -->
<div class="resource-content clearfix"> <div class="resource-content clearfix">
<!-- :disabled="addMsg.OrderId>0&&(activeTab=='basic'||activeTab=='contact')" -->
<el-form :model="addMsg" :rules="rules" class="h-full" ref="addMsg" label-width="120px" <el-form :model="addMsg" :rules="rules" class="h-full" ref="addMsg" label-width="120px"
:disabled="addMsg.OrderId>0&&(activeTab=='basic'||activeTab=='contact')"> >
<div class="hotel-form-container h-full"> <div class="hotel-form-container h-full">
<el-tabs v-model="activeTab" type="border-card" class="hotel-tabs"> <el-tabs v-model="activeTab" type="border-card" class="hotel-tabs">
<el-tab-pane label="基础资料" name="basic"> <el-tab-pane label="基础资料" name="basic">
...@@ -682,7 +683,8 @@ ...@@ -682,7 +683,8 @@
</el-dialog> </el-dialog>
<div class="btn-list"> <div class="btn-list">
<div class="btn-actions"> <div class="btn-actions">
<button v-if="!addMsg.OrderId" class="save-Btn" @click="submitForm('addMsg')" :disabled="isSaving"> <!-- v-if="!addMsg.OrderId" -->
<button class="save-Btn" @click="submitForm('addMsg')" :disabled="isSaving">
<i v-if="isSaving" class="el-icon-loading" style="margin-right: 4px;"></i> <i v-if="isSaving" class="el-icon-loading" style="margin-right: 4px;"></i>
{{ isSaving ? '' : $t('pub.saveBtn') }} {{ isSaving ? '' : $t('pub.saveBtn') }}
</button> </button>
......
...@@ -49,13 +49,13 @@ ...@@ -49,13 +49,13 @@
</el-row> </el-row>
<template v-if="postMsg.TeamType!=2"> <template v-if="postMsg.TeamType!=2">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="2"> <el-col :span="2" v-if="userInfo.SimpleEasy!=1">
<el-form-item :label="$t('salesModule.IsLianYn')"> <el-form-item :label="$t('salesModule.IsLianYn')">
<el-checkbox v-model="postMsg.IsIntermodal" :true-label="1" :false-label="0"> <el-checkbox v-model="postMsg.IsIntermodal" :true-label="1" :false-label="0">
</el-checkbox> </el-checkbox>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="22"> <el-col :span="userInfo.SimpleEasy!=1?22:24">
<el-form-item :label="$t('objFill.liangyunbeizhu')"> <el-form-item :label="$t('objFill.liangyunbeizhu')">
<el-input v-model="postMsg.UnionRemark" type="textarea" maxlength="500"> <el-input v-model="postMsg.UnionRemark" type="textarea" maxlength="500">
</el-input> </el-input>
...@@ -67,8 +67,10 @@ ...@@ -67,8 +67,10 @@
</div> </div>
</template> </template>
<script> <script>
import { userMixin } from "../common/mixins/userMixin.js";
export default { export default {
props: ["remarksMsg"], props: ["remarksMsg"],
mixins: [userMixin],
data() { data() {
return { return {
RemarksRules: { RemarksRules: {
......
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