Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
54b33958
Commit
54b33958
authored
5 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面bug修改
parent
521c68f4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
31 deletions
+45
-31
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+26
-22
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+19
-9
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
54b33958
...
...
@@ -27,7 +27,7 @@
.CostNewTable
td
{
padding
:
5px
;
height
:
40px
;
border
:
1px
solid
#106BAF
!important
;
border
:
1px
solid
#106BAF
!important
;
}
.CostPriceDiv
{
...
...
@@ -39,22 +39,28 @@
.CP_ComTitle
{
color
:
#106BAF
;
}
.w79
{
width
:
79px
!important
;
}
.w70
{
width
:
70px
!important
;
.w70
{
width
:
70px
!important
;
}
.CostcomCenter
{
text-align
:
center
;
}
.txtRightCost
{
.txtRightCost
{
text-align
:
right
;
padding-right
:
10px
;
}
.CostNewTable
.el-input__inner
{
padding
:
0
5px
;
.CostNewTable
.el-input__inner
{
padding
:
0
5px
;
}
</
style
>
<
template
>
...
...
@@ -94,8 +100,8 @@
<tr>
<td
width=
"80"
class=
"txtRightCost"
>
团队标题
</td>
<td
colspan=
"3"
>
<el-input
v-model=
"postConfig.Title"
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 2 }
"
resize="none"
placeholder="请填写团队标题" maxlength="200">
</el-input>
<el-input
v-model=
"postConfig.Title"
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 2 }" resize="none
"
placeholder="请填写团队标题" maxlength="200">
</el-input>
</td>
<td
width=
"80"
class=
"txtRightCost"
>
行程天数
</td>
<td>
...
...
@@ -298,7 +304,7 @@
</el-select>
</el-form-item>
</td>
<td
>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.InlandAirTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"
></el-input>
...
...
@@ -326,7 +332,7 @@
</el-select>
</el-form-item>
</td>
<td
>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.InlandShipTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"
></el-input>
...
...
@@ -354,7 +360,7 @@
</el-select>
</el-form-item>
</td>
<td
>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.InlandTrainTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"
></el-input>
...
...
@@ -391,13 +397,13 @@
</tr>
<tr>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
金额
<br/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
金额
<br
/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
金额
<br/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
金额
<br
/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
金额
<br/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
金额
<br
/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
金额
<br/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
金额
<br
/>
(人民币)
</td>
</tr>
<tr>
<td
style=
"white-space:nowrap; "
class=
"CP_ComTitle2"
>
销售提成1%
</td>
...
...
@@ -549,8 +555,7 @@
},
methods
:
{
ReCalc
()
{
},
ReCalc
()
{},
//获取汇率
getCurrencyMoney
(
currencyId
)
{
let
currency
=
0.0
;
...
...
@@ -667,7 +672,7 @@
getCurrencyNumberList
(
CurrencyId
)
{
let
currencyNumberList
=
[];
let
flag
=
false
;
console
.
log
(
"this.CurrencyNumberListExt"
,
this
.
CurrencyNumberListExt
);
this
.
CurrencyNumberListExt
.
forEach
(
item
=>
{
if
(
!
flag
&&
item
.
Key
==
CurrencyId
)
{
flag
=
true
;
...
...
@@ -869,7 +874,6 @@
}
},
mounted
()
{
this
.
getAllCurrency
();
},
created
()
{
...
...
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
54b33958
...
...
@@ -51,7 +51,7 @@
NightNum
:
0
,
//晚数
StartCityId
:
0
,
ReturnArriveCityId
:
0
,
//返回抵达城市
CustomerName
:
""
,
//客户名称
CustomerName
:
""
,
//客户名称
},
dayCostPriceList
:
[],
//报价列表
isSubmit
:
true
,
...
...
@@ -114,7 +114,7 @@
ContractUrl
:
""
,
//合同地址
},
LineList
:
[],
//线路列表
loading
:
false
loading
:
false
};
},
methods
:
{
...
...
@@ -141,11 +141,11 @@
CostNumberList
:
this
.
CostNumberList
,
CurrencyNumberListExt
:
currencyNumList
};
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
"travel_post_SetConfigOffer_V2"
,
nObj
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
goUrl
(
'newQuotation'
);
...
...
@@ -175,7 +175,6 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
console
.
log
(
"temp"
,
tempData
);
if
(
tempData
.
ID
&&
tempData
.
ID
>
0
)
{
this
.
postData
.
ID
=
tempData
.
ID
;
}
...
...
@@ -206,7 +205,7 @@
if
(
tempData
.
NightNum
&&
tempData
.
NightNum
>
0
)
{
this
.
postData
.
NightNum
=
tempData
.
NightNum
;
}
this
.
postData
.
CustomerName
=
tempData
.
CustomerName
;
this
.
postData
.
CustomerName
=
tempData
.
CustomerName
;
this
.
LineList
=
tempData
.
LineList
;
if
(
tempData
.
dayCostPriceList
&&
tempData
.
dayCostPriceList
!=
null
&&
tempData
.
dayCostPriceList
.
length
>
0
)
{
...
...
@@ -229,6 +228,16 @@
.
CurrencyNumberListExt
.
length
>
0
)
{
this
.
CurrencyNumberListExt
=
tempData
.
CurrencyNumberListExt
;
}
if
(
this
.
CostCurrencyList
&&
this
.
CostCurrencyList
.
length
>
0
&&
this
.
CurrencyNumberListExt
)
{
this
.
CostCurrencyList
.
forEach
(
item
=>
{
let
currencyNumberItem
=
{
Key
:
item
.
CurrencyId
,
currencyNumberList
:
[]
};
this
.
CurrencyNumberListExt
.
push
(
currencyNumberItem
);
});
}
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -245,4 +254,5 @@
DirectQuotation
:
DirectQuotation
}
};
</
script
>
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment