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
82bfd2c7
Commit
82bfd2c7
authored
Aug 01, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
2d2a1f83
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
815 additions
and
2185 deletions
+815
-2185
CostNewPriceAudit.vue
...ts/TravelManager/TravelNewQuotation/CostNewPriceAudit.vue
+234
-688
CostNewPriceCC.vue
...nents/TravelManager/TravelNewQuotation/CostNewPriceCC.vue
+287
-428
CostNewPriceForm.vue
...nts/TravelManager/TravelNewQuotation/CostNewPriceForm.vue
+263
-1055
CostNewPriceMun.vue
...ents/TravelManager/TravelNewQuotation/CostNewPriceMun.vue
+23
-10
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+3
-0
priceDialog.vue
...mponents/TravelManager/TravelNewQuotation/priceDialog.vue
+5
-4
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPriceAudit.vue
View file @
82bfd2c7
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/CostNewPriceCC.vue
View file @
82bfd2c7
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/CostNewPriceForm.vue
View file @
82bfd2c7
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/CostNewPriceMun.vue
View file @
82bfd2c7
...
...
@@ -162,7 +162,6 @@
</td>
</tr>
</table>
</div>
<br
/>
<!--去掉删除功能 closable @close="handleClose(index)"-->
...
...
@@ -209,7 +208,6 @@
CostNumberList
:
[]
},
orderList
:
[],
queryMsg
:
{
IsDefault
:
false
,
//汇率输入
...
...
@@ -217,7 +215,7 @@
//人数
PeopleNumber
:
""
},
LineTeamList
:
[],
//系列下拉列表
companyList
:
[],
//出团公司
teamList
:
[],
...
...
@@ -273,15 +271,14 @@
},
handleClose
(
index
)
{
if
(
this
.
orderList
.
length
<=
1
)
{
return
return
;
}
if
(
this
.
tabsActive
===
index
)
{
this
.
tabsActive
=
0
this
.
orderList
.
splice
(
index
,
1
)
this
.
changeTabs
()
this
.
tabsActive
=
0
;
this
.
orderList
.
splice
(
index
,
1
)
;
this
.
changeTabs
()
;
}
else
{
this
.
orderList
.
splice
(
index
,
1
)
this
.
orderList
.
splice
(
index
,
1
);
}
},
changeTabs
()
{
...
...
@@ -336,6 +333,20 @@
for
(
let
i
=
0
;
i
<
this
.
orderList
.
length
;
i
++
)
{
this
.
orderList
[
i
].
dayCostPrice
=
this
.
createDayTripPriceItem
([...
this
.
orderList
[
i
].
dayCostPrice
]);
}
//判断是否选择币种
if
(
this
.
orderList
&&
this
.
orderList
.
length
>
0
)
{
this
.
orderList
.
forEach
(
rootItem
=>
{
if
(
rootItem
&&
rootItem
.
dayCostPrice
&&
rootItem
.
dayCostPrice
.
length
>
0
)
{
rootItem
.
dayCostPrice
.
forEach
(
dItem
=>
{
console
.
log
(
dItem
.
CurrencyId
,
"dItem.CurrencyId "
);
if
(
dItem
.
CurrencyId
==
0
&&
rootItem
.
CostCurrencyList
&&
rootItem
.
CostCurrencyList
.
length
>
0
)
{
dItem
.
CurrencyId
=
rootItem
.
CostCurrencyList
[
0
].
CurrencyId
;
}
})
}
});
}
this
.
$forceUpdate
()
},
//生成行程报价
...
...
@@ -375,6 +386,7 @@
}
else
{
dayCostPrice
.
length
=
this
.
postConfig
.
DayNum
;
}
return
dayCostPrice
},
//价格转换器
...
...
@@ -419,6 +431,7 @@
teamPrice
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
teamPrice
)),
CostNumberList
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
CostNumberList
)),
})
this
.
$forceUpdate
();
this
.
tabsActive
=
this
.
orderList
.
length
-
1
this
.
changeTabs
()
},
...
...
@@ -436,7 +449,7 @@
}
});
}
return
CurrencyNumberListExt
return
CurrencyNumberListExt
;
},
},
mounted
()
{
...
...
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
82bfd2c7
...
...
@@ -135,6 +135,9 @@
ContractUrl
:
""
,
//合同地址
PriceRemark
:
""
,
//定价备注
ContractArray
:
[],
TaxPrice
:
0
,
//税金
UnionPrice
:
0
,
//联运价格
NightPrice
:
0
,
//过夜费
},
LineList
:
[],
//线路列表
loading
:
false
...
...
src/components/TravelManager/TravelNewQuotation/priceDialog.vue
View file @
82bfd2c7
...
...
@@ -116,11 +116,11 @@
<div
class=
"switchDiv clearfix"
style=
"width:98%;"
>
<div
class=
"DirectPriceCenter"
>
<div
class=
"singlePrice clearfix"
v-loading=
"loading"
>
<CostNewPrice
ref=
"CostNewPrice"
:postConfig=
"postData"
:OtherPrice=
"OtherPrice"
<CostNewPrice
CC
ref=
"CostNewPrice"
:postConfig=
"postData"
:OtherPrice=
"OtherPrice"
:dayCostPrice=
"dayCostPriceList"
:LineList=
"LineList"
:CostCurrencyList=
"CostCurrencyList"
:CostNumberList=
"CostNumberList"
:CurrencyNumberListExt=
"CurrencyNumberListExt"
:teamPrice=
"teamPrice"
:loading=
"loading"
>
</CostNewPrice>
</CostNewPrice
CC
>
</div>
</div>
</div>
...
...
@@ -128,7 +128,7 @@
</div>
</
template
>
<
script
>
import
CostNewPrice
from
"../TravelNewQuotation/CostNewPriceCC"
;
import
CostNewPrice
CC
from
"../TravelNewQuotation/CostNewPriceCC"
;
export
default
{
props
:
[
'ConfigId'
,
'OfferId'
],
data
()
{
...
...
@@ -305,6 +305,7 @@
this
.
postData
.
OutDateTime
=
tempData
.
OutDateTime
;
this
.
postData
.
OfferPayType
=
tempData
.
OfferPayType
;
this
.
postData
.
SaleOfferPayType
=
tempData
.
SaleOfferPayType
;
this
.
postData
.
TeamTypeName
=
tempData
.
TeamTypeName
;
this
.
LineList
=
tempData
.
LineList
;
if
(
tempData
.
OfferArray
)
{
this
.
currentData
=
tempData
.
OfferArray
.
find
(
item
=>
item
.
IsDefault
);
...
...
@@ -341,7 +342,7 @@
this
.
getPostData
()
},
components
:
{
CostNewPrice
:
CostNewPrice
CostNewPrice
CC
:
CostNewPriceCC
}
};
...
...
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