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
1b258bcc
Commit
1b258bcc
authored
Sep 24, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
d7c920cc
31253c5b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
202 additions
and
88 deletions
+202
-88
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+8
-4
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+133
-49
DirectNewQuotation.vue
...s/TravelManager/TravelNewQuotation/DirectNewQuotation.vue
+2
-2
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+48
-22
QzCommissionDetail.vue
src/components/administrative/QzCommissionDetail.vue
+11
-11
No files found.
src/components/FinancialModule/addFinancialDocuments.vue
View file @
1b258bcc
...
...
@@ -1485,7 +1485,7 @@ export default {
var
that
=
this
;
this
.
orderObj
=
this
.
$route
.
query
.
orderObj
?
JSON
.
parse
(
this
.
$route
.
query
.
orderObj
):
null
;
this
.
isFrompassenger
=
this
.
orderObj
?
this
.
orderObj
.
isFromPassenger
:
undefined
;
let
TCID
=
(
this
.
orderObj
&&
this
.
orderObj
.
TCIDList
&&
this
.
orderObj
.
TCIDList
.
length
>
0
)
?
this
.
orderObj
.
TCIDList
[
0
]
:
0
if
(
this
.
orderObj
!=
null
&&
this
.
orderObj
.
OrderSource
===
10
&&
this
.
isFrompassenger
==
undefined
){
that
.
Description
=
"旅客名单:"
;
that
.
describeList
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"saveGuestInfo"
));
...
...
@@ -1499,7 +1499,12 @@ export default {
if
(
this
.
orderObj
&&
this
.
orderObj
.
OtherType
)
{
this
.
ZhuiJiaTK
=
true
}
this
.
apipost
(
'financeinfo_post_GetList'
,{
Name
:
''
,
TCID
:
TCID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
coinGetList
=
res
.
data
.
data
;
console
.
log
(
"this.coinGetList 522555"
,
this
.
coinGetList
)
}
},
err
=>
{})
},
mounted
(){
let
userInfo
=
this
.
getLocalStorage
();
...
...
@@ -1520,8 +1525,7 @@ export default {
let
minute
=
myDate
.
getMinutes
()
<
10
?
"0"
+
myDate
.
getMinutes
()
:
myDate
.
getMinutes
();
let
second
=
myDate
.
getSeconds
()
<
10
?
"0"
+
myDate
.
getSeconds
()
:
myDate
.
getSeconds
();
this
.
timer
=
hour
+
':'
+
minute
+
':'
+
second
;
let
TCID
=
(
this
.
orderObj
&&
this
.
orderObj
.
TCIDList
&&
this
.
orderObj
.
TCIDList
.
length
>
0
)
?
this
.
orderObj
.
TCIDList
[
0
]
:
0
this
.
financeinfo_post_GetList
(
TCID
);
// this.financeinfo_post_GetList(TCID);
if
(
this
.
$route
.
query
.
edit
){
// 编辑
this
.
msg
.
FrID
=
this
.
$route
.
query
.
FrID
;
...
...
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
1b258bcc
...
...
@@ -111,7 +111,7 @@
<table
class=
"CP_comTable"
>
<tr>
<td
class=
"CP_comBack"
width=
"170"
>
币种
</td>
<td
v-for=
'(item,index) in
OtherPrice.
CostCurrencyList'
>
<td
v-for=
'(item,index) in CostCurrencyList'
>
{{item.CurrencyName}}
<span>
<i
class=
"iconfont icon-quxiao"
@
click=
"DeleteCurrency(index)"
></i>
...
...
@@ -128,10 +128,10 @@
</tr>
<tr>
<td
class=
"CP_comBack"
>
汇率
</td>
<
!-- <td v-for='item in OfferCostPriceObj.
CostCurrencyList'>
<
td
v-for=
'item in
CostCurrencyList'
>
<el-input
class=
"w80"
v-model=
'item.ExchangeRate'
@
keyup
.
native=
"checkRate(item,'ExchangeRate')"
>
</el-input>
</td>
-->
</td>
<td>
<el-input
class=
"w100"
v-model=
'queryMsg.RateInput'
@
keyup
.
native=
"checkRate(queryMsg,'RateInput')"
>
</el-input>
...
...
@@ -141,7 +141,7 @@
<table
class=
"CP_comTable"
>
<tr>
<td
class=
"CP_comBack"
width=
"170"
>
人数
</td>
<td
v-for=
"(item,index) in
OtherPrice.
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>
<span>
...
...
@@ -158,7 +158,7 @@
</div>
</td>
</tr>
<tr
v-for=
"item in
OtherPrice.
CostCurrencyList"
>
<tr
v-for=
"item in CostCurrencyList"
>
<td
class=
"CP_comBack"
>
地接报价({{item.CurrencyName}})
</td>
<td
v-if=
"checkExists(item.CurrencyId)"
v-for=
"childItem in getCurrencyNumberList(item.CurrencyId)"
>
<el-form-item>
...
...
@@ -196,8 +196,8 @@
<el-form-item>
<el-select
v-model=
'subItem.CurrencyId'
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
v-for=
"items in
OtherPrice.CostCurrencyList"
:label=
'items.CurrencyName
'
:
value=
'items.CurrencyId'
:
key=
'items.CurrencyId'
>
<el-option
v-for=
"items in
CostCurrencyList"
:label=
'items.CurrencyName'
:value=
'items.CurrencyId
'
:key=
'items.CurrencyId'
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -217,7 +217,7 @@
<td>
<el-input
type=
"text"
v-model=
'subItem.BreakfastCostPrice'
@
keyup
.
native=
"checkPrice(subItem,'BreakfastCostPrice')"
>
</el-input>
</el-input>
</td>
<td>
<el-input
type=
"text"
v-model=
'subItem.LunchCostPrice'
...
...
@@ -236,12 +236,12 @@
<td
width=
'200'
>
内陆段机位(每人)
</td>
<td
width=
'200'
>
<el-form-item>
<
!-- <el-select v-model='OfferCostPriceObj
.InlandAirTicketCurrency'>
<
el-select
v-model=
'OtherPrice
.InlandAirTicketCurrency'
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option v-for="items in
OfferCostPriceObj.CostCurrencyList" :label='items.CurrencyName
'
:
value='items.CurrencyId' :
key='items.CurrencyId'>
<el-option
v-for=
"items in
CostCurrencyList"
:label=
'items.CurrencyName'
:value=
'items.CurrencyId
'
:key=
'items.CurrencyId'
>
</el-option>
</el-select>
-->
</el-select>
</el-form-item>
</td>
<td>
...
...
@@ -255,14 +255,14 @@
<td>
2
</td>
<td>
内陆段船票(每人
</td>
<td>
<
!-- <
el-form-item>
<el-select v-model='O
fferCostPriceObj
.InlandShipTicketCurrency'>
<el-form-item>
<el-select
v-model=
'O
therPrice
.InlandShipTicketCurrency'
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option v-for="items in
OfferCostPriceObj.CostCurrencyList" :label='items.CurrencyName
'
:
value='items.CurrencyId' :
key='items.CurrencyId'>
<el-option
v-for=
"items in
CostCurrencyList"
:label=
'items.CurrencyName'
:value=
'items.CurrencyId
'
:key=
'items.CurrencyId'
>
</el-option>
</el-select>
</el-form-item>
-->
</el-form-item>
</td>
<td>
<el-form-item>
...
...
@@ -275,14 +275,14 @@
<td>
3
</td>
<td>
内陆段火车票(每人)
</td>
<td>
<
!-- <
el-form-item>
<el-select v-model='O
fferCostPriceObj
.InlandTrainTicketCurrency'>
<el-form-item>
<el-select
v-model=
'O
therPrice
.InlandTrainTicketCurrency'
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option v-for="items in
OfferCostPriceObj.CostCurrencyList" :label='items.CurrencyName
'
:
value='items.CurrencyId' :
key='items.CurrencyId'>
<el-option
v-for=
"items in
CostCurrencyList"
:label=
'items.CurrencyName'
:value=
'items.CurrencyId
'
:key=
'items.CurrencyId'
>
</el-option>
</el-select>
</el-form-item>
-->
</el-form-item>
</td>
<td>
<el-form-item>
...
...
@@ -410,9 +410,9 @@
<tr>
<td
width=
'200'
>
人数
</td>
<td
width=
"200"
></td>
<
!-- <td width="150" v-for="item in OfferCostPriceObj.
CostNumberList" :key="item.subCode">
<
td
width=
"150"
v-for=
"item in
CostNumberList"
:key=
"item.subCode"
>
{{item.PeopleNumber}}+1
</td>
-->
</td>
</tr>
<tr>
<td>
机票
</td>
...
...
@@ -422,9 +422,9 @@
@
keyup
.
native=
"checkPrice(OtherPrice,'AirTicketShareMoney')"
></el-input>
</el-form-item>
</td>
<
!-- <td v-for="item in OfferCostPriceObj.
CostNumberList" :key="item.subCode">
<
td
v-for=
"item in
CostNumberList"
:key=
"item.subCode"
>
{{item.AirTicketMoney}}
</td>
-->
</td>
</tr>
<tr>
<td>
门票
</td>
...
...
@@ -434,9 +434,9 @@
@
keyup
.
native=
"checkPrice(OtherPrice,'TicketShareMoney')"
></el-input>
</el-form-item>
</td>
<
!-- <td v-for="item in OfferCostPriceObj.
CostNumberList" :key="item.subCode">
<
td
v-for=
"item in
CostNumberList"
:key=
"item.subCode"
>
{{item.TicketMoney}}
</td>
-->
</td>
</tr>
<tr>
<td>
单房差
</td>
...
...
@@ -446,9 +446,9 @@
@
keyup
.
native=
"checkPrice(OtherPrice,'SingleRoomShareMoney')"
></el-input>
</el-form-item>
</td>
<
!-- <td v-for="item in OfferCostPriceObj.
CostNumberList" :key="item.subCode">
<
td
v-for=
"item in
CostNumberList"
:key=
"item.subCode"
>
{{item.SingleRoomMoney}}
</td>
-->
</td>
</tr>
<tr>
<td>
内陆段交通
</td>
...
...
@@ -490,17 +490,19 @@
</tr>
</table>
</el-form>
</div>
</div>
</template>
<
script
>
export
default
{
props
:
[
"postConfig"
,
"OtherPrice"
,
"dayCostPrice"
,
"LineList"
],
props
:
[
"postConfig"
,
"OtherPrice"
,
"dayCostPrice"
,
"LineList"
,
"CostNumberList"
,
"CurrencyNumberListExt"
,
"CostCurrencyList"
],
data
()
{
return
{
//下拉框默认值
defaultSelect
:
0
,
defaultSelect
:
0
,
queryMsg
:
{
//汇率输入
RateInput
:
""
,
...
...
@@ -516,6 +518,22 @@
},
methods
:
{
ReCalc
()
{
// this.OfferCostPriceObj = JSON.parse(
// JSON.stringify(this.OfferCostPriceObj)
// );
// this.$emit("headCallBack", this.OfferCostPriceObj);
},
//判断币种是否相等
checkExists
(
CurrencyId
)
{
var
flag
=
false
;
this
.
CurrencyNumberListExt
.
forEach
(
item
=>
{
if
(
!
flag
&&
item
.
Key
==
CurrencyId
)
{
flag
=
true
;
}
});
return
flag
;
},
//获取系列列表
getLineTeamList
(
lineId
)
{
this
.
postConfig
.
LineteamId
=
0
;
...
...
@@ -537,7 +555,6 @@
},
//生成行程报价
createDayTripPrice
()
{
if
(
this
.
postConfig
.
DayNum
>
this
.
dayCostPrice
.
length
)
{
for
(
var
i
=
this
.
dayCostPrice
.
length
;
i
<
this
.
postConfig
.
DayNum
;
i
++
)
{
//去掉以前默认的交通
...
...
@@ -564,7 +581,74 @@
}
this
.
dayCostPrice
.
length
=
this
.
postConfig
.
DayNum
;
}
console
.
log
(
" this.dayCostPrice"
,
this
.
dayCostPrice
);
},
//获取币种对应 的人数报价
getCurrencyNumberList
(
CurrencyId
)
{
let
currencyNumberList
=
[];
let
flag
=
false
;
this
.
CurrencyNumberListExt
.
forEach
(
item
=>
{
if
(
!
flag
&&
item
.
Key
==
CurrencyId
)
{
flag
=
true
;
currencyNumberList
=
item
.
currencyNumberList
;
}
});
return
currencyNumberList
;
},
//添加币种
addCurrency
()
{
var
currencyId
=
this
.
currencyType
;
var
ckedName
;
var
ckedRate
=
this
.
queryMsg
.
RateInput
;
if
(
currencyId
==
""
)
{
this
.
Info
(
"请选择币种"
);
return
;
}
if
(
ckedRate
==
""
)
{
this
.
Info
(
"请输入汇率"
);
return
;
}
this
.
currencyTypeArr
.
forEach
(
x
=>
{
if
(
currencyId
==
x
.
ID
)
{
ckedName
=
x
.
Name
;
}
});
if
(
this
.
$tripUtils
.
isInObjArr
(
this
.
CostCurrencyList
,
"CurrencyId"
,
currencyId
)
)
{
this
.
Info
(
"币种已经存在"
);
return
;
}
var
CurObj
=
this
.
$tripUtils
.
CostCurrency
();
CurObj
.
CurrencyName
=
ckedName
;
CurObj
.
ExchangeRate
=
ckedRate
;
CurObj
.
CurrencyId
=
currencyId
;
this
.
CostCurrencyList
.
push
(
CurObj
);
this
.
currencyType
=
""
;
this
.
queryMsg
.
RateInput
=
""
;
let
currencyNumberItem
=
{
Key
:
currencyId
,
currencyNumberList
:
[]
};
if
(
this
.
CurrencyNumberListExt
.
length
>
0
)
{
if
(
this
.
CurrencyNumberListExt
[
0
].
currencyNumberList
.
length
>
0
)
{
this
.
CurrencyNumberListExt
[
0
].
currencyNumberList
.
forEach
(
x
=>
{
let
tempData
=
JSON
.
parse
(
JSON
.
stringify
(
x
));
tempData
.
CurrencyId
=
currencyId
;
tempData
.
Money
=
0.0
;
currencyNumberItem
.
currencyNumberList
.
push
(
tempData
);
}
);
}
}
this
.
CurrencyNumberListExt
.
push
(
currencyNumberItem
);
},
//添加人数费用
addPeoNunber
()
{
...
...
@@ -575,7 +659,7 @@
}
if
(
this
.
$tripUtils
.
isInObjArr
(
this
.
OfferCostPriceObj
.
CostNumberList
,
this
.
CostNumberList
,
"PeopleNumber"
,
PeopleNumber
)
...
...
@@ -585,8 +669,8 @@
}
var
CostNumberObj
=
this
.
$tripUtils
.
CostNumber
();
CostNumberObj
.
PeopleNumber
=
PeopleNumber
;
this
.
OfferCostPriceObj
.
CostNumberList
.
push
(
CostNumberObj
);
this
.
OfferCostPriceObj
.
CurrencyNumberListExt
.
forEach
(
x
=>
{
this
.
CostNumberList
.
push
(
CostNumberObj
);
this
.
CurrencyNumberListExt
.
forEach
(
x
=>
{
var
CurrencyNumberObj
=
this
.
$tripUtils
.
CurrencyNumber
();
CurrencyNumberObj
.
CurrencyId
=
x
.
Key
;
CurrencyNumberObj
.
PeopleNumber
=
PeopleNumber
;
...
...
@@ -598,14 +682,14 @@
},
//人数排序
shortPeopleNumber
()
{
// this.OfferCostPriceObj
.CurrencyNumberListExt.forEach(x => {
//
x.currencyNumberList.sort(
//
this.$commonUtils.createComprisonFunction("PeopleNumber")
//
);
//
});
// this.OfferCostPriceObj
.CostNumberList.sort(
//
this.$commonUtils.createComprisonFunction("PeopleNumber")
//
);
this
.
CurrencyNumberListExt
.
forEach
(
x
=>
{
x
.
currencyNumberList
.
sort
(
this
.
$commonUtils
.
createComprisonFunction
(
"PeopleNumber"
)
);
});
this
.
CostNumberList
.
sort
(
this
.
$commonUtils
.
createComprisonFunction
(
"PeopleNumber"
)
);
},
//币种下拉获取汇率
getRate
(
ID
)
{
...
...
@@ -630,10 +714,10 @@
},
mounted
()
{
this
.
getAllCurrency
();
},
watch
:
{
}
},
created
()
{},
watch
:
{}
};
</
script
>
src/components/TravelManager/TravelNewQuotation/DirectNewQuotation.vue
View file @
1b258bcc
...
...
@@ -114,7 +114,7 @@
<div
class=
"singlePrice clearfix"
>
<CostNewPrice
ref=
"CostNewPrice"
:postConfig=
"postConfig"
:OtherPrice=
"otherPrice"
:dayCostPrice=
"dayCostPrice"
:LineList=
"LineList"
></CostNewPrice>
:dayCostPrice=
"dayCostPrice"
:LineList=
"LineList"
:CostCurrencyList=
"CostCurrencyList"
:CostNumberList=
"CostNumberList"
:CurrencyNumberListExt=
"CurrencyNumberListExt"
></CostNewPrice>
</div>
</div>
<div
class=
"DirectRightPrice"
style=
"margin-left:20px;"
>
...
...
@@ -273,7 +273,7 @@
import
CostNewPrice
from
"../TravelNewQuotation/CostNewPrice"
;
export
default
{
props
:
[
"postConfig"
,
"dayCostPrice"
,
"otherPrice"
,
"teamPrice"
,
"LineList"
],
props
:
[
"postConfig"
,
"dayCostPrice"
,
"otherPrice"
,
"teamPrice"
,
"LineList"
,
"CostCurrencyList"
,
"CostNumberList"
,
"CurrencyNumberListExt"
],
data
()
{
return
{
CheckedVaule
:
2
,
...
...
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
1b258bcc
<
template
>
<div
class=
"DirectQuotation clearfix"
>
<DirectQuotation
ref=
"QuotationPrice"
:postConfig=
"postData"
:dayCostPrice=
"dayCostPriceList"
:otherPrice=
"otherPrice"
:teamPrice=
"teamPrice"
:LineList=
"LineList"
></DirectQuotation>
:otherPrice=
"otherPrice"
:teamPrice=
"teamPrice"
:LineList=
"LineList"
:CostCurrencyList=
"CostCurrencyList"
:CostNumberList=
"CostNumberList"
:CurrencyNumberListExt=
"CurrencyNumberListExt"
></DirectQuotation>
<div
class=
"btnFixedDiv"
>
<div
class=
"toTop"
>
<i
class=
"iconfont icon-huidaodingbu"
></i>
...
...
@@ -33,11 +34,11 @@
IsSubstitution
:
1
,
IsB2B
:
1
,
IsB2C
:
1
,
FSeat
:
""
,
CSeat
:
""
,
YSeat
:
""
,
FSeat
:
0
,
CSeat
:
0
,
YSeat
:
0
,
//最低成团人数
LowNum
:
""
,
LowNum
:
0
,
//OP备注
OpRemark
:
""
,
//产品经理备注
...
...
@@ -46,8 +47,8 @@
PriceIsDirect
:
1
,
//是否直采报价(1-否-2-是)【全部默认非直采】
PDFAlias
:
""
,
//pdf别名
ImgCover
:
""
,
//封面图
DayNum
:
""
,
//天数
NightNum
:
""
,
//晚数
DayNum
:
0
,
//天数
NightNum
:
0
,
//晚数
StartCityId
:
0
,
ReturnArriveCityId
:
0
,
//返回抵达城市
},
...
...
@@ -78,9 +79,10 @@
SingleRoomShareMoney
:
0
,
//单房差分摊费用
InlandTrafficShareMoney
:
0
,
//内陆段交通分摊费用
OtherShareMoney
:
0
,
//杂费分摊费用
CostCurrencyList
:
[],
//选择的币种
CostNumberList
:
[],
//人数
},
CostCurrencyList
:
[],
//选择的币种
CostNumberList
:
[],
//人数
CurrencyNumberListExt
:
[],
//币种和人数列表
//团报价信息
teamPrice
:
{
QuotationId
:
0
,
//主键编号
...
...
@@ -120,20 +122,36 @@
},
//保存数据
SaveData
()
{
var
nObj
=
{
config
:
this
.
postData
,
dayCostPriceList
:
this
.
dayCostPriceList
,
otherPrice
:
this
.
otherPrice
,
teamPrice
:
this
.
teamPrice
,
CostCurrencyList
:
this
.
CostCurrencyList
,
CostNumberList
:
this
.
CostNumberList
};
console
.
log
(
"请求参数"
,
nObj
);
this
.
apipost
(
"travel_post_SetConfigOffer_V2"
,
{
config
:
postData
,
dayCostPriceList
:
dayCostPriceList
,
otherPrice
:
otherPrice
,
teamPrice
:
teamPrice
},
"travel_post_SetConfigOffer_V2"
,
nObj
,
res
=>
{
console
.
log
(
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{}
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
date
.
message
);
this
.
goUrl
(
'newQuotation'
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
goUrl
(
path
)
{
this
.
$router
.
push
({
path
:
path
,
query
:
{
cache
:
true
}
});
},
getPostData
()
{
let
configId
=
this
.
$route
.
query
.
configId
;
let
msg
=
{
...
...
@@ -145,11 +163,19 @@
res
=>
{
console
.
log
(
"res.data.data"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
this
.
LineList
=
tempData
.
LineList
;
this
.
dayCostPriceList
=
tempData
.
dayCostPriceList
;
this
.
otherPrice
=
tempData
.
otherPrice
;
this
.
teamPrice
=
tempData
.
teamPrice
;
var
tempData
=
res
.
data
.
data
;
this
.
LineList
=
tempData
.
LineList
;
if
(
tempData
.
dayCostPriceList
&&
tempData
.
dayCostPriceList
!=
null
&&
tempData
.
dayCostPriceList
.
length
>
0
)
{
this
.
dayCostPriceList
=
tempData
.
dayCostPriceList
;
}
if
(
tempData
.
otherPrice
)
{
this
.
otherPrice
=
tempData
.
otherPrice
;
}
if
(
tempData
.
teamPrice
)
{
this
.
teamPrice
=
tempData
.
teamPrice
;
}
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/administrative/QzCommissionDetail.vue
View file @
1b258bcc
...
...
@@ -135,7 +135,7 @@ export default {
RB_Branch_Id
:
data
.
RB_Branch_Id
,
IsPublic
:
6
,
BType
:
4
,
AccountId
:
2
2
,
AccountId
:
2
3
,
CostTypeID
:
189
,
WBMoney
:
data
.
CommissionMoney
,
Remark
:
''
,
...
...
@@ -162,7 +162,7 @@ export default {
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
apipost
(
"
OP
Commission_UpdatePeriodsFrID"
,
"
Visa
Commission_UpdatePeriodsFrID"
,
{
ID
:
this
.
oPComissionPeriods
.
ID
,
FrId
:
res
.
data
.
data
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -293,14 +293,14 @@ export default {
// 单据号:${oPComissionPeriods.FRID}
<
/span>`
;
// }
};
//
let opera = {
//
title: "操作",
//
titleAlign: "left",
//
columnAlign: "left",
//
width: 80,
//
isResize: false,
//
componentName: "commission-table-operation"
//
};
let
opera
=
{
title
:
"操作"
,
titleAlign
:
"left"
,
columnAlign
:
"left"
,
width
:
80
,
isResize
:
false
,
componentName
:
"commission-table-operation"
};
this
.
columns
=
[];
this
.
columns
.
push
(
company
);
this
.
columns
.
push
(
department
);
...
...
@@ -313,7 +313,7 @@ export default {
// this.columns.push(visaPeopleCount);
this
.
columns
.
push
(
Zhanbi
);
this
.
columns
.
push
(
remark
);
//
this.columns.push(opera);
this
.
columns
.
push
(
opera
);
this
.
isReady
=
true
;
},
sortChange
(
param
)
{
...
...
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