Commit f3992fd7 authored by youjie's avatar youjie

no message

parent 2cf143bf
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
this.loading = true this.loading = true
let url let url
// 销售 OP // 销售 OP
if(this.pagesTitle){ if(this.pagesTitle=='销售'){
url = "dict_post_GetMySaleCustomerOrderPageList" url = "dict_post_GetMySaleCustomerOrderPageList"
}else{ }else{
url = "dict_post_GetAdminCustomerOrderPageList" url = "dict_post_GetAdminCustomerOrderPageList"
......
...@@ -349,8 +349,8 @@ ...@@ -349,8 +349,8 @@
<span class="mr"> <span class="mr">
{{ item.SaleName }} {{ item.SaleName }}
</span> </span>
<span class="mr" v-if="!pagesTitle&&item.CustomerName">创建人:</span> <span class="mr" v-if="item.CustomerName">创建人:</span>
<span class="mr" v-if="!pagesTitle&&item.CustomerName" <span class="mr" v-if="item.CustomerName"
>{{ item.CustomerName }} ({{ item.CustomerContact }}/{{ >{{ item.CustomerName }} ({{ item.CustomerContact }}/{{
item.CustomerTel item.CustomerTel
}})</span }})</span
...@@ -681,18 +681,22 @@ ...@@ -681,18 +681,22 @@
<div class="row-c justify-sb borderD pb5"> <div class="row-c justify-sb borderD pb5">
<span class="fz12 c9e">订单总金额</span> <span class="fz12 c9e">订单总金额</span>
<div class="ml"> <div class="ml">
<span class="fz12 ml">¥</span> <span class="fz12 ml">
<!-- ¥ -->
</span>
<span class="fz15 fbold">{{ item.Money.toFixed(2) }}</span> <span class="fz15 fbold">{{ item.Money.toFixed(2) }}</span>
<span class="fz15">{{ item.CurrencyName }}</span> <span class="fz15">{{ item.CurrencyName }}</span>
</div> </div>
</div> </div>
<div <div
class="row-c justify-sb borderD py5" class="row-c justify-sb borderD py5"
v-if="(item.CustomerPayType == 1 || item.CustomerPayType == 3)&&!pagesTitle" v-if="(item.CustomerPayType == 1 || item.CustomerPayType == 3)&&pagesTitle!='销售'"
> >
<span class="fz12 c9e">到店自付</span> <span class="fz12 c9e">到店自付</span>
<div class="ml"> <div class="ml">
<span class="fz10 ml">¥</span> <span class="fz10 ml">
<!-- ¥ -->
</span>
<span class="fz14">{{ item.SelfPayMoney.toFixed(2) }}</span> <span class="fz14">{{ item.SelfPayMoney.toFixed(2) }}</span>
<span class="fz14">{{ item.CurrencyName }}</span> <span class="fz14">{{ item.CurrencyName }}</span>
</div> </div>
...@@ -703,7 +707,9 @@ ...@@ -703,7 +707,9 @@
> >
<span class="fz12 c9e">出发前付款</span> <span class="fz12 c9e">出发前付款</span>
<div class="ml"> <div class="ml">
<span class="fz10 ml">¥</span> <span class="fz10 ml">
<!-- ¥ -->
</span>
<span class="fz14">{{ item.BeforeMoney.toFixed(2) }}</span> <span class="fz14">{{ item.BeforeMoney.toFixed(2) }}</span>
<span class="fz14">{{ item.CurrencyName }}</span> <span class="fz14">{{ item.CurrencyName }}</span>
</div> </div>
...@@ -1007,6 +1013,8 @@ export default { ...@@ -1007,6 +1013,8 @@ export default {
name: path, name: path,
query: { query: {
id: obj.OrderId, id: obj.OrderId,
pagesTitle: this.pagesTitle,
blank: "y",
tab: title tab: title
} }
}); });
...@@ -1016,8 +1024,8 @@ export default { ...@@ -1016,8 +1024,8 @@ export default {
// 0取消订单 1确认订单 // 0取消订单 1确认订单
if (type == 0) { if (type == 0) {
if (!this.loading0) { if (!this.loading0) {
this.cancelOrderDialog = true;
this.cancelOrderId = item.OrderId this.cancelOrderId = item.OrderId
this.cancelOrderDialog = true;
} }
} else if (type == 1) { } else if (type == 1) {
if (!this.loading1) { if (!this.loading1) {
...@@ -1052,6 +1060,8 @@ export default { ...@@ -1052,6 +1060,8 @@ export default {
} }
if (this.loading0) return; if (this.loading0) return;
this.loading0 = true this.loading0 = true
// 地接 销售 OP
if(this.pagesTitle!='销售'){
this.apipost( this.apipost(
"dict_post_CancelAdminCustomerOrder", "dict_post_CancelAdminCustomerOrder",
{ {
...@@ -1074,6 +1084,38 @@ export default { ...@@ -1074,6 +1084,38 @@ export default {
this.loading0 = false; this.loading0 = false;
} }
); );
}else{
this.cancelOrder()
}
},
// 销售 OP 取消订单
cancelOrder() {
let that = this
that.$confirm(`是否确定取消订单?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.apipost("dict_post_CancelSaleCustomerOrder", {
OrderId: this.cancelOrderId,
CancelRemark: this.cancelRemark
},
res => {
this.loading0= false
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.$emit("success");
} else {
this.Error(res.data.message);
}
}).catch(err=>{
this.Error(err.message)
this.loading0= false
})
}).catch(()=>{
this.loading0 = false
})
}, },
saveUpdate() { saveUpdate() {
this.$confirm("是否确认设置收损?", "提示", { this.$confirm("是否确认设置收损?", "提示", {
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<span> <span>
<em>酒店</em> <em>酒店</em>
<el-select v-model="msg.HotelChooseArray" :placeholder="$t('pub.pleaseSel')" class="multiple_input w300" <el-select v-model="msg.HotelChooseArray" :placeholder="$t('pub.pleaseSel')" class="multiple_input w300"
filterable multiple :multiple-limit="3"> filterable multiple collapse-tags :multiple-limit="3">
<el-option v-for="item in HotelList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in HotelList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select>
</span> </span>
...@@ -697,6 +697,7 @@ ...@@ -697,6 +697,7 @@
let newCars = [] let newCars = []
let states = true let states = true
oldCars = JSON.parse(localStorage.getItem("cars")) oldCars = JSON.parse(localStorage.getItem("cars"))
if(oldCars){
oldCars.forEach(item=>{ oldCars.forEach(item=>{
if(item.Date<this.getBeforeDate(-20,new Date().Format("yyyy-MM-dd"))){ if(item.Date<this.getBeforeDate(-20,new Date().Format("yyyy-MM-dd"))){
states = false states = false
...@@ -711,6 +712,8 @@ ...@@ -711,6 +712,8 @@
localStorage.removeItem('HotelLength') localStorage.removeItem('HotelLength')
localStorage.setItem('HotelLength',JSON.stringify(this.HotelLength)) localStorage.setItem('HotelLength',JSON.stringify(this.HotelLength))
} }
}
this.HotelLength = localStorage.getItem("HotelLength")?localStorage.getItem("HotelLength"):0 this.HotelLength = localStorage.getItem("HotelLength")?localStorage.getItem("HotelLength"):0
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<div> <div>
<span class="coloref1416c fz12">订单总金额:</span> <span class="coloref1416c fz12">订单总金额:</span>
<span class="coloref1416c fbold"> <span class="coloref1416c fbold">
<span class="fz13">¥</span> <span class="fz13"><!-- ¥ --></span>
<span class="fz18">{{parameters.Money}}</span> <span class="fz18">{{parameters.Money}}</span>
</span> </span>
</div> </div>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
{{ item.RoomName }} {{ item.RoomName }}
</el-col> </el-col>
<el-col :span="9"> <el-col :span="9">
<span class="fz10 colorf44336">¥</span> <span class="fz10 colorf44336"><!-- ¥ --></span>
<span class="din colorf44336">{{ item.UPriceFormat }}</span> <span class="din colorf44336">{{ item.UPriceFormat }}</span>
<span class="text-dark" style="font-size: 12px">/人</span> <span class="text-dark" style="font-size: 12px">/人</span>
</el-col> </el-col>
......
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