Commit b96e807b authored by 黄奎's avatar 黄奎

页面修改

parent 30fb65ac
......@@ -1500,7 +1500,7 @@
}
if (!num) {
if (totailMoney > leadrPlanPrice)
return this.$message.error("最大领款为预付合计金额的95%!");
//return this.$message.error("最大领款为预付合计金额的95%!");
if (!leadr.LeaderGetPriceT || leadr.LeaderGetPriceT <= 0)
return this.$message.error("请输入金额!");
}
......
......@@ -1936,7 +1936,7 @@
item.confirmFileList.length > 0 &&
item.commissionSharePeople !== userId
" @click="deleteFile(item)" style="margin-left: 5px" class="el-icon-error color999"></i>
<template v-if="item.contractNum.length == 0">
<template v-if="item.confirmFileList.length == 0">
<el-upload v-if="
item.confirmFileList.length == 0 &&
item.commissionSharePeople !== userId
......
......@@ -2102,7 +2102,7 @@
item.confirmFileList.length > 0 &&
item.commissionSharePeople !== userId
" @click="deleteFile(item)" style="margin-left: 5px" class="el-icon-error color999"></i>
<template v-if="item.contractNum.length == 0">
<template v-if="item.confirmFileList.length == 0">
<el-upload v-if="
(item.confirmFileList.length == 0 && item.isOwn == 1) ||
IsSupperOrderEdit
......
<style>
.busManagerTalbe {
.busManagerTalbe {
font-size: 12px;
border-collapse: collapse;
background-color: #fff;
border: 1px solid #ccc;
}
.busManagerTalbe tr {
}
.busManagerTalbe tr {
text-align: center;
height: 40px;
}
.busManagerTalbe tr td {
}
.busManagerTalbe tr td {
padding: 0 5px;
background-color: #fff;
border: 1px solid #ccc;
}
.commonBackColor {
}
.commonBackColor {
background-color: #e6e6e6 !important;
color: #333;
}
}
.comTextAlign {
.comTextAlign {
text-align: left;
padding-left: 20px;
}
}
.addHandBook {
.addHandBook {
margin-right: 5px;
color: seagreen;
cursor: pointer;
visibility: hidden;
}
.addHandBookDIS {
}
.addHandBookDIS {
visibility: visible !important;
}
.disClick {
}
.disClick {
background-color: #d1d1d1;
color: #fff;
border: 1px solid #d1d1d1;
}
}
.disClick:hover {
.disClick:hover {
background-color: #d1d1d1 !important;
cursor: default !important;
box-shadow: none !important;
}
}
</style>
<template>
<div>
<table
border="0"
cellspacing="1"
cellpadding="0"
class="busManagerTalbe"
style="width: 100%;"
v-loading="loading"
>
<table border="0" cellspacing="1" cellpadding="0" class="busManagerTalbe" style="width: 100%;" v-loading="loading">
<tr>
<td colspan="6">印象ジャパンバス手配依頼書</td>
</tr>
......@@ -100,20 +99,11 @@
</tr>
<tr v-for="(subItem, index) in DataObj.Details_Extends">
<td>
<i
class="iconfont icon-bumenguanli-tianjia addHandBook"
:class="{
<i class="iconfont icon-bumenguanli-tianjia addHandBook" :class="{
addHandBookDIS:
index == 0 || index == DataObj.Details_Extends.length - 1
}"
@click="addHand(index)"
></i>
<el-date-picker
v-model="subItem.UseDate"
class="w135"
value-format="yyyy-MM-dd"
type="date"
></el-date-picker>
}" @click="addHand(index)"></i>
<el-date-picker v-model="subItem.UseDate" class="w135" value-format="yyyy-MM-dd" type="date"></el-date-picker>
</td>
<td>
<el-input type="text" v-model="subItem.BusType" />
......@@ -122,28 +112,13 @@
<el-input type="text" v-model="subItem.FlightNum" />
</td>
<td>
<el-input
type="textarea"
resize="none"
style="padding:5px 0;"
v-model="subItem.BusContent"
/>
<el-input type="textarea" resize="none" style="padding:5px 0;" v-model="subItem.BusContent" />
</td>
<td>
<el-input
type="textarea"
resize="none"
style="padding:5px 0;"
v-model="subItem.HotelName"
/>
<el-input type="textarea" resize="none" style="padding:5px 0;" v-model="subItem.HotelName" />
</td>
<td>
<el-input
type="textarea"
resize="none"
style="padding:5px 0;"
v-model="subItem.HotelTel"
/>
<el-input type="textarea" resize="none" style="padding:5px 0;" v-model="subItem.HotelTel" />
</td>
</tr>
<tr>
......@@ -165,39 +140,17 @@
<tfoot>
<tr>
<td colspan="6">
<input
type="button"
class="normalBtn"
:class="{ disClick: isSave }"
@click="SaveData()"
value="保存"
/>&nbsp;
<input
type="button"
class="normalBtn"
:class="{ disClick: isSave }"
@click="DownLoadFile()"
value="下载"
/>
<input type="button" class="normalBtn" :class="{ disClick: isSave }" @click="SaveData()" value="保存" />&nbsp;
<input type="button" class="normalBtn" :class="{ disClick: isSave }" @click="DownLoadFile()" value="下载" />
&nbsp;
<template v-if="BusObj.BusId > 0">
<template v-if="BusObj.OrderState == 0">
<span style="color:red;">未确认手配</span>
<input
type="button"
class="normalBtn"
@click="SureBus(1)"
value="确认手配"
/>
<input type="button" class="normalBtn" @click="SureBus(1)" value="确认手配" />
</template>
<template v-if="BusObj.OrderState == 1">
<span style="color:green;">已确认手配</span>
<input
type="button"
class="normalBtn"
@click="SureBus(0)"
value="暂定手配"
/>
<input type="button" class="normalBtn" @click="SureBus(0)" value="暂定手配" />
</template>
</template>
</td>
......@@ -212,7 +165,7 @@
</template>
<script>
export default {
export default {
data() {
return {
loading: false,
......@@ -240,7 +193,7 @@ export default {
//确认手配
SureBus(type) {
this.loading = true;
this.BusObj.OrderState=type;
this.BusObj.OrderState = type;
this.apipost(
"bus_post_SetBusService",
this.BusObj,
......@@ -272,11 +225,11 @@ export default {
GetData() {
this.loading = true;
this.apipost(
"bus_Get_GetBusDownLoadData",
{
"bus_Get_GetBusDownLoadData", {
TCIDs: this.TCIDS
},
res => {
console.log("bus_Get_GetBusDownLoadData",res.data);
this.loading = false;
if (res.data.resultCode == 1) {
this.DataObj = res.data.data.model;
......@@ -338,5 +291,6 @@ export default {
this.TCIDS = this.$route.query.TCID;
this.GetData();
}
};
};
</script>
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