Commit cdba03d2 authored by 黄奎's avatar 黄奎

页面修改

parent f3f411ee
...@@ -17,29 +17,40 @@ ...@@ -17,29 +17,40 @@
.CostNewPrice .QuotationFirstDiv1 .el-form-item__content .el-select { .CostNewPrice .QuotationFirstDiv1 .el-form-item__content .el-select {
width: calc(100% - 100px); width: calc(100% - 100px);
} }
.CostNewPrice .CP_ComTitle2{ color:#106BAF;font-weight: bold;}
.CostNewTable{ .CostNewPrice .CP_ComTitle2 {
width:70%; color: #106BAF;
font-weight: bold;
}
.CostNewTable {
width: 70%;
} }
.CostNewTable td{
padding:5px; .CostNewTable td {
padding: 5px;
height: 40px; height: 40px;
border:1px solid #106BAF; border: 1px solid #106BAF;
} }
.CostPriceDiv{
float:left; .CostPriceDiv {
width:19%; float: left;
margin-right:23px; width: 19%;
margin-right: 23px;
} }
.CP_ComTitle{
color:#106BAF; .CP_ComTitle {
color: #106BAF;
} }
.w505{
width:505px!important; .w505 {
width: 505px !important;
} }
.CostcomCenter{
.CostcomCenter {
text-align: center; text-align: center;
} }
</style> </style>
<template> <template>
...@@ -69,15 +80,16 @@ ...@@ -69,15 +80,16 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="客户名称" label-width="100px"> <el-form-item label="客户名称" label-width="100px">
<el-input v-model="postConfig.CustomerName" type="text" class="w280" placeholder="客户名称" maxlength="200"></el-input> <el-input v-model="postConfig.CustomerName" type="text" class="w280" placeholder="客户名称" maxlength="200">
</el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="40"> <el-row :gutter="40">
<el-col :span="6"> <el-col :span="6">
<el-form-item label="团队标题" label-width="100px"> <el-form-item label="团队标题" label-width="100px">
<el-input v-model="postConfig.Title" type="textarea" class="w240" <el-input v-model="postConfig.Title" type="textarea" class="w240" :autosize="{minRows: 1, maxRows: 2 }"
:autosize="{minRows: 1, maxRows: 2 }" resize="none" placeholder="请填写团队标题" maxlength="200"></el-input> resize="none" placeholder="请填写团队标题" maxlength="200"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
...@@ -132,16 +144,19 @@ ...@@ -132,16 +144,19 @@
</div> </div>
</div> </div>
</div> </div>
<table class="CP_comTable"> <br />
<table class="CostPriceTable CostNewTable">
<thead>
<tr> <tr>
<td width="170">币种</td> <td width="170" class="CP_ComTitle2 CostcomCenter">币种</td>
<td v-for='(item,index) in CostCurrencyList'> <td v-for='(item,index) in CostCurrencyList'>
{{item.CurrencyName}} {{item.CurrencyName}}
<span> <span>
<i class="iconfont icon-quxiao" @click="DeleteCurrency(index)"></i> <i class="iconfont icon-quxiao" @click="DeleteCurrency(index)"></i>
</span> </span>
</td> </td>
<td> <td :colspan="9-2-CostCurrencyList.length+1">
<el-form-item class="w100"> <el-form-item class="w100">
<el-select v-model='currencyType' @change="getRate(currencyType),addCurrency()"> <el-select v-model='currencyType' @change="getRate(currencyType),addCurrency()">
<el-option v-for="item in currencyTypeArr" :label='item.Name' :value='item.ID' :key='item.ID'> <el-option v-for="item in currencyTypeArr" :label='item.Name' :value='item.ID' :key='item.ID'>
...@@ -151,20 +166,20 @@ ...@@ -151,20 +166,20 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td>汇率</td> <td class="CP_ComTitle2 CostcomCenter">汇率</td>
<td v-for='item in CostCurrencyList'> <td v-for='item in CostCurrencyList'>
<el-input class="w80" v-model='item.ExchangeRate' <el-input class="w80" v-model='item.ExchangeRate'
@keyup.native="checkRate(item,'ExchangeRate'),getchange()"> @keyup.native="checkRate(item,'ExchangeRate'),getchange()">
</el-input> </el-input>
</td> </td>
<td> <td :colspan="9-2-CostCurrencyList.length+1">
<el-input class="w100" v-model='queryMsg.RateInput' <el-input class="w100" v-model='queryMsg.RateInput'
@keyup.native="checkRate(queryMsg,'RateInput'),getchange()"> @keyup.native="checkRate(queryMsg,'RateInput'),getchange()">
</el-input> </el-input>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="170">人数</td> <td width="170" class="CP_ComTitle2 CostcomCenter">人数</td>
<td v-for="(item,index) in CostNumberList" :key='item.subCode'> <td v-for="(item,index) in CostNumberList" :key='item.subCode'>
<el-input class="w80" v-model='item.PeopleNumber' @keyup.native="checkInteger(item,'PeopleNumber')"> <el-input class="w80" v-model='item.PeopleNumber' @keyup.native="checkInteger(item,'PeopleNumber')">
</el-input> </el-input>
...@@ -172,31 +187,31 @@ ...@@ -172,31 +187,31 @@
<i class="iconfont icon-quxiao" @click="DeletePNumber(index),getchange()"></i> <i class="iconfont icon-quxiao" @click="DeletePNumber(index),getchange()"></i>
</span> </span>
</td> </td>
<td width="150"> <td width="150" :colspan="9-2-CostNumberList.length+1">
<el-form-item> <el-form-item>
<el-input class="w80" v-model='queryMsg.PeopleNumber' <el-input class="w80" v-model='queryMsg.PeopleNumber'
@keyup.native="checkInteger(queryMsg,'PeopleNumber'),getchange()"></el-input> @keyup.native="checkInteger(queryMsg,'PeopleNumber'),getchange()"></el-input>
</el-form-item> </el-form-item>
<div class="AS_addPeoNumer"> <a @click="addPeoNunber" style="cursor:pointer;color:red;">添加</a>
<i class="iconfont icon-img_haha" @click="addPeoNunber"></i>
</div>
</td> </td>
</tr> </tr>
<tr v-for="item in CostCurrencyList"> <tr v-for="item in CostCurrencyList">
<td>地接报价({{item.CurrencyName}})</td> <td class="CP_ComTitle2 CostcomCenter">地接报价
<br />({{item.CurrencyName}})
</td>
<td v-if="checkExists(item.CurrencyId)" v-for="childItem in getCurrencyNumberList(item.CurrencyId)"> <td v-if="checkExists(item.CurrencyId)" v-for="childItem in getCurrencyNumberList(item.CurrencyId)">
<el-form-item> <el-form-item>
<el-input class="w80" v-model='childItem.Money' <el-input class="w80" v-model='childItem.Money'
@keyup.native="checkPrice(childItem,'Money',true),getchange()"></el-input> @keyup.native="checkPrice(childItem,'Money',true),getchange()"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td> <td :colspan="9-2-getCurrencyNumberList(item.CurrencyId).length+1">
</td> </td>
</tr> </tr>
</table> </thead>
<br/> <tr>
<td colspan="9"></td>
<table class="CostPriceTable CostNewTable"> </tr>
<tr> <tr>
<td rowspan="2" width='180' class="CP_ComTitle2 CostcomCenter">Day</td> <td rowspan="2" width='180' class="CP_ComTitle2 CostcomCenter">Day</td>
<td rowspan="2" width='200' class="CP_ComTitle2 CostcomCenter">行程大点</td> <td rowspan="2" width='200' class="CP_ComTitle2 CostcomCenter">行程大点</td>
...@@ -212,7 +227,9 @@ ...@@ -212,7 +227,9 @@
<td width="100" class="CP_ComTitle2 CostcomCenter"></td> <td width="100" class="CP_ComTitle2 CostcomCenter"></td>
</tr> </tr>
<tr v-for="subItem in dayCostPrice" :key="subItem.subCode"> <tr v-for="subItem in dayCostPrice" :key="subItem.subCode">
<td align="center"><div style="width:100px;">{{subItem.DayNum}}</div></td> <td align="center">
<div style="width:100px;">{{subItem.DayNum}}</div>
</td>
<td> <td>
<el-input type="textarea" resize="none" v-model="subItem.Title"></el-input> <el-input type="textarea" resize="none" v-model="subItem.Title"></el-input>
</td> </td>
...@@ -739,6 +756,7 @@ ...@@ -739,6 +756,7 @@
getCurrencyNumberList(CurrencyId) { getCurrencyNumberList(CurrencyId) {
let currencyNumberList = []; let currencyNumberList = [];
let flag = false; let flag = false;
console.log("this.CurrencyNumberListExt", this.CurrencyNumberListExt);
this.CurrencyNumberListExt.forEach(item => { this.CurrencyNumberListExt.forEach(item => {
if (!flag && item.Key == CurrencyId) { if (!flag && item.Key == CurrencyId) {
flag = true; flag = true;
......
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