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
Feb 03, 2020
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 @@
...
@@ -27,7 +27,7 @@
.CostNewTable
td
{
.CostNewTable
td
{
padding
:
5px
;
padding
:
5px
;
height
:
40px
;
height
:
40px
;
border
:
1px
solid
#106BAF
!important
;
border
:
1px
solid
#106BAF
!important
;
}
}
.CostPriceDiv
{
.CostPriceDiv
{
...
@@ -39,22 +39,28 @@
...
@@ -39,22 +39,28 @@
.CP_ComTitle
{
.CP_ComTitle
{
color
:
#106BAF
;
color
:
#106BAF
;
}
}
.w79
{
.w79
{
width
:
79px
!important
;
width
:
79px
!important
;
}
}
.w70
{
width
:
70px
!important
;
.w70
{
width
:
70px
!important
;
}
}
.CostcomCenter
{
.CostcomCenter
{
text-align
:
center
;
text-align
:
center
;
}
}
.txtRightCost
{
.txtRightCost
{
text-align
:
right
;
text-align
:
right
;
padding-right
:
10px
;
padding-right
:
10px
;
}
}
.CostNewTable
.el-input__inner
{
padding
:
0
5px
;
.CostNewTable
.el-input__inner
{
padding
:
0
5px
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -94,8 +100,8 @@
...
@@ -94,8 +100,8 @@
<tr>
<tr>
<td
width=
"80"
class=
"txtRightCost"
>
团队标题
</td>
<td
width=
"80"
class=
"txtRightCost"
>
团队标题
</td>
<td
colspan=
"3"
>
<td
colspan=
"3"
>
<el-input
v-model=
"postConfig.Title"
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 2 }
"
<el-input
v-model=
"postConfig.Title"
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 2 }" resize="none
"
resize="none"
placeholder="请填写团队标题" maxlength="200">
</el-input>
placeholder="请填写团队标题" maxlength="200">
</el-input>
</td>
</td>
<td
width=
"80"
class=
"txtRightCost"
>
行程天数
</td>
<td
width=
"80"
class=
"txtRightCost"
>
行程天数
</td>
<td>
<td>
...
@@ -298,7 +304,7 @@
...
@@ -298,7 +304,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</td>
</td>
<td
>
<td>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.InlandAirTicketMoney"
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.InlandAirTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"
></el-input>
...
@@ -326,7 +332,7 @@
...
@@ -326,7 +332,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</td>
</td>
<td
>
<td>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.InlandShipTicketMoney"
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.InlandShipTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"
></el-input>
...
@@ -354,7 +360,7 @@
...
@@ -354,7 +360,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</td>
</td>
<td
>
<td>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.InlandTrainTicketMoney"
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.InlandTrainTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"
></el-input>
...
@@ -391,13 +397,13 @@
...
@@ -391,13 +397,13 @@
</tr>
</tr>
<tr>
<tr>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
摘要
</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"
>
摘要
</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"
>
摘要
</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"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
金额
<br/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
金额
<br
/>
(人民币)
</td>
</tr>
</tr>
<tr>
<tr>
<td
style=
"white-space:nowrap; "
class=
"CP_ComTitle2"
>
销售提成1%
</td>
<td
style=
"white-space:nowrap; "
class=
"CP_ComTitle2"
>
销售提成1%
</td>
...
@@ -549,8 +555,7 @@
...
@@ -549,8 +555,7 @@
},
},
methods
:
{
methods
:
{
ReCalc
()
{
ReCalc
()
{},
},
//获取汇率
//获取汇率
getCurrencyMoney
(
currencyId
)
{
getCurrencyMoney
(
currencyId
)
{
let
currency
=
0.0
;
let
currency
=
0.0
;
...
@@ -667,7 +672,7 @@
...
@@ -667,7 +672,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
;
...
@@ -869,7 +874,6 @@
...
@@ -869,7 +874,6 @@
}
}
},
},
mounted
()
{
mounted
()
{
this
.
getAllCurrency
();
this
.
getAllCurrency
();
},
},
created
()
{
created
()
{
...
...
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
54b33958
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
NightNum
:
0
,
//晚数
NightNum
:
0
,
//晚数
StartCityId
:
0
,
StartCityId
:
0
,
ReturnArriveCityId
:
0
,
//返回抵达城市
ReturnArriveCityId
:
0
,
//返回抵达城市
CustomerName
:
""
,
//客户名称
CustomerName
:
""
,
//客户名称
},
},
dayCostPriceList
:
[],
//报价列表
dayCostPriceList
:
[],
//报价列表
isSubmit
:
true
,
isSubmit
:
true
,
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
ContractUrl
:
""
,
//合同地址
ContractUrl
:
""
,
//合同地址
},
},
LineList
:
[],
//线路列表
LineList
:
[],
//线路列表
loading
:
false
loading
:
false
};
};
},
},
methods
:
{
methods
:
{
...
@@ -141,11 +141,11 @@
...
@@ -141,11 +141,11 @@
CostNumberList
:
this
.
CostNumberList
,
CostNumberList
:
this
.
CostNumberList
,
CurrencyNumberListExt
:
currencyNumList
CurrencyNumberListExt
:
currencyNumList
};
};
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
this
.
apipost
(
"travel_post_SetConfigOffer_V2"
,
nObj
,
"travel_post_SetConfigOffer_V2"
,
nObj
,
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
this
.
goUrl
(
'newQuotation'
);
this
.
goUrl
(
'newQuotation'
);
...
@@ -175,7 +175,6 @@
...
@@ -175,7 +175,6 @@
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
var
tempData
=
res
.
data
.
data
;
console
.
log
(
"temp"
,
tempData
);
if
(
tempData
.
ID
&&
tempData
.
ID
>
0
)
{
if
(
tempData
.
ID
&&
tempData
.
ID
>
0
)
{
this
.
postData
.
ID
=
tempData
.
ID
;
this
.
postData
.
ID
=
tempData
.
ID
;
}
}
...
@@ -206,7 +205,7 @@
...
@@ -206,7 +205,7 @@
if
(
tempData
.
NightNum
&&
tempData
.
NightNum
>
0
)
{
if
(
tempData
.
NightNum
&&
tempData
.
NightNum
>
0
)
{
this
.
postData
.
NightNum
=
tempData
.
NightNum
;
this
.
postData
.
NightNum
=
tempData
.
NightNum
;
}
}
this
.
postData
.
CustomerName
=
tempData
.
CustomerName
;
this
.
postData
.
CustomerName
=
tempData
.
CustomerName
;
this
.
LineList
=
tempData
.
LineList
;
this
.
LineList
=
tempData
.
LineList
;
if
(
tempData
.
dayCostPriceList
&&
tempData
.
dayCostPriceList
!=
null
&&
tempData
.
dayCostPriceList
.
length
>
if
(
tempData
.
dayCostPriceList
&&
tempData
.
dayCostPriceList
!=
null
&&
tempData
.
dayCostPriceList
.
length
>
0
)
{
0
)
{
...
@@ -229,6 +228,16 @@
...
@@ -229,6 +228,16 @@
.
CurrencyNumberListExt
.
length
>
0
)
{
.
CurrencyNumberListExt
.
length
>
0
)
{
this
.
CurrencyNumberListExt
=
tempData
.
CurrencyNumberListExt
;
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
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
@@ -245,4 +254,5 @@
...
@@ -245,4 +254,5 @@
DirectQuotation
:
DirectQuotation
DirectQuotation
:
DirectQuotation
}
}
};
};
</
script
>
</
script
>
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