Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
jz_Travel
Commits
a9803f34
Commit
a9803f34
authored
Jul 24, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
输入框
parent
6f9ac5d1
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
333 additions
and
81 deletions
+333
-81
headeDatas.vue
pages/teamLeader/components/headeDatas.vue
+2
-3
otherInfor1.vue
pages/teamLeader/components/report/otherInfor1.vue
+32
-2
otherInfor2.vue
pages/teamLeader/components/report/otherInfor2.vue
+27
-1
otherInfor3.vue
pages/teamLeader/components/report/otherInfor3.vue
+27
-1
otherInfor4.vue
pages/teamLeader/components/report/otherInfor4.vue
+27
-1
otherInfor5.vue
pages/teamLeader/components/report/otherInfor5.vue
+32
-2
otherInfor6.vue
pages/teamLeader/components/report/otherInfor6.vue
+27
-1
productInfor1.vue
pages/teamLeader/components/report/productInfor1.vue
+38
-40
productInfor2.vue
pages/teamLeader/components/report/productInfor2.vue
+37
-10
productInfor3.vue
pages/teamLeader/components/report/productInfor3.vue
+33
-6
productInfor4.vue
pages/teamLeader/components/report/productInfor4.vue
+35
-6
reimbursementInfor.vue
pages/teamLeader/reimbursementInfor.vue
+16
-8
No files found.
pages/teamLeader/components/headeDatas.vue
View file @
a9803f34
...
@@ -332,7 +332,6 @@
...
@@ -332,7 +332,6 @@
data
:
{
data
:
{
handler
(
newVal
,
oldVal
)
{
handler
(
newVal
,
oldVal
)
{
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
newVal
))
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
newVal
))
console
.
log
(
"this.params"
,
this
.
params
);
this
.
BusList
=
this
.
params
.
BusList
//车信息
this
.
BusList
=
this
.
params
.
BusList
//车信息
this
.
HotelOrderListReport
=
this
.
params
.
HotelOrderListReport
//酒店信息,合团
this
.
HotelOrderListReport
=
this
.
params
.
HotelOrderListReport
//酒店信息,合团
this
.
DiningList
=
this
.
params
.
DiningList
//餐厅
this
.
DiningList
=
this
.
params
.
DiningList
//餐厅
...
@@ -359,7 +358,7 @@
...
@@ -359,7 +358,7 @@
}
}
},
},
deep
:
true
,
deep
:
true
,
immediate
:
fals
e
,
immediate
:
tru
e
,
},
},
},
},
mounted
()
{
mounted
()
{
...
@@ -580,8 +579,8 @@
...
@@ -580,8 +579,8 @@
id
:
i
+
1
,
id
:
i
+
1
,
})
})
}
}
this
.
datas
=
this
.
BusList
[
this
.
dataIndex
]
}
}
this
.
datas
=
this
.
BusList
[
this
.
dataIndex
]
let
dates
=
this
.
dateList
.
filter
(
x
=>
{
let
dates
=
this
.
dateList
.
filter
(
x
=>
{
return
x
.
id
==
this
.
BusList
[
this
.
dataIndex
].
CheckDateId
return
x
.
id
==
this
.
BusList
[
this
.
dataIndex
].
CheckDateId
})
})
...
...
pages/teamLeader/components/report/otherInfor1.vue
View file @
a9803f34
...
@@ -177,7 +177,11 @@
...
@@ -177,7 +177,11 @@
<text>
金额
</text>
<text>
金额
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UnitPrice"
@
input=
"handleInput($event,item,index,'UnitPrice')"
@
blur=
"handleBlur(item,index,'UnitPrice')"
/>
<!--
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
/>
-->
</view>
</view>
</view>
</view>
<view
class=
"inputBox row justify-between"
>
<view
class=
"inputBox row justify-between"
>
...
@@ -185,7 +189,11 @@
...
@@ -185,7 +189,11 @@
<text>
返佣
</text>
<text>
返佣
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.Rebate"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.Rebate"
@
input=
"handleInput($event,item,index,'Rebate')"
@
blur=
"handleBlur(item,index,'Rebate')"
/>
<!--
<input
class=
"text-right"
type=
"text"
v-model=
"item.Rebate"
/>
-->
</view>
</view>
</view>
</view>
<view
class=
"paymentTitle PA30"
>
备注
</view>
<view
class=
"paymentTitle PA30"
>
备注
</view>
...
@@ -274,6 +282,28 @@
...
@@ -274,6 +282,28 @@
this
.
getRenderingData
();
this
.
getRenderingData
();
},
},
methods
:
{
methods
:
{
// 在模板中的使用示例
handleInput
(
e
,
item
,
index
,
field
)
{
const
value
=
e
.
detail
.
value
if
(
this
.
$utils
.
checkIsNum
(
value
)){
item
[
field
]
=
value
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
handleBlur
(
item
,
index
,
field
)
{
if
(
this
.
$utils
.
checkIsNum
(
item
[
field
])){
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
initData
()
{
initData
()
{
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
OtherList
=
this
.
params
.
OtherOrderInfo
.
OtherList
this
.
OtherList
=
this
.
params
.
OtherOrderInfo
.
OtherList
...
...
pages/teamLeader/components/report/otherInfor2.vue
View file @
a9803f34
...
@@ -149,7 +149,11 @@
...
@@ -149,7 +149,11 @@
<text>
金额
</text>
<text>
金额
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UnitPrice"
@
input=
"handleInput($event,item,index,'UnitPrice')"
@
blur=
"handleBlur(item,index,'UnitPrice')"
/>
<!--
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
/>
-->
</view>
</view>
</view>
</view>
<view
class=
"paymentTitle PA30"
>
备注
</view>
<view
class=
"paymentTitle PA30"
>
备注
</view>
...
@@ -222,6 +226,28 @@
...
@@ -222,6 +226,28 @@
this
.
initData
()
this
.
initData
()
},
},
methods
:
{
methods
:
{
// 在模板中的使用示例
handleInput
(
e
,
item
,
index
,
field
)
{
const
value
=
e
.
detail
.
value
if
(
this
.
$utils
.
checkIsNum
(
value
)){
item
[
field
]
=
value
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
handleBlur
(
item
,
index
,
field
)
{
if
(
this
.
$utils
.
checkIsNum
(
item
[
field
])){
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
initData
()
{
initData
()
{
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
TipList
=
this
.
params
.
OtherOrderInfo
.
TipList
this
.
TipList
=
this
.
params
.
OtherOrderInfo
.
TipList
...
...
pages/teamLeader/components/report/otherInfor3.vue
View file @
a9803f34
...
@@ -149,7 +149,11 @@
...
@@ -149,7 +149,11 @@
<text>
金额
</text>
<text>
金额
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UnitPrice"
@
input=
"handleInput($event,item,index,'UnitPrice')"
@
blur=
"handleBlur(item,index,'UnitPrice')"
/>
<!--
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
/>
-->
</view>
</view>
</view>
</view>
<view
class=
"paymentTitle PA30"
>
备注
</view>
<view
class=
"paymentTitle PA30"
>
备注
</view>
...
@@ -221,6 +225,28 @@
...
@@ -221,6 +225,28 @@
this
.
initData
();
this
.
initData
();
},
},
methods
:
{
methods
:
{
// 在模板中的使用示例
handleInput
(
e
,
item
,
index
,
field
)
{
const
value
=
e
.
detail
.
value
if
(
this
.
$utils
.
checkIsNum
(
value
)){
item
[
field
]
=
value
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
handleBlur
(
item
,
index
,
field
)
{
if
(
this
.
$utils
.
checkIsNum
(
item
[
field
])){
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
initData
()
{
initData
()
{
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
TeamList
=
this
.
params
.
OtherOrderInfo
.
TeamList
this
.
TeamList
=
this
.
params
.
OtherOrderInfo
.
TeamList
...
...
pages/teamLeader/components/report/otherInfor4.vue
View file @
a9803f34
...
@@ -168,7 +168,11 @@
...
@@ -168,7 +168,11 @@
<text>
金额
</text>
<text>
金额
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UnitPrice"
@
input=
"handleInput($event,item,index,'UnitPrice')"
@
blur=
"handleBlur(item,index,'UnitPrice')"
/>
<!--
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
/>
-->
</view>
</view>
</view>
</view>
...
@@ -245,6 +249,28 @@
...
@@ -245,6 +249,28 @@
this
.
initData
();
this
.
initData
();
},
},
methods
:
{
methods
:
{
// 在模板中的使用示例
handleInput
(
e
,
item
,
index
,
field
)
{
const
value
=
e
.
detail
.
value
if
(
this
.
$utils
.
checkIsNum
(
value
)){
item
[
field
]
=
value
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
handleBlur
(
item
,
index
,
field
)
{
if
(
this
.
$utils
.
checkIsNum
(
item
[
field
])){
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
initData
()
{
initData
()
{
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
SelfPlayingIncomeList
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingIncomeList
this
.
SelfPlayingIncomeList
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingIncomeList
...
...
pages/teamLeader/components/report/otherInfor5.vue
View file @
a9803f34
...
@@ -159,7 +159,11 @@
...
@@ -159,7 +159,11 @@
<text>
金额
</text>
<text>
金额
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UnitPrice"
@
input=
"handleInput($event,item,index,'UnitPrice')"
@
blur=
"handleBlur(item,index,'UnitPrice')"
/>
<!--
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
/>
-->
</view>
</view>
</view>
</view>
<view
class=
"inputBox row justify-between"
>
<view
class=
"inputBox row justify-between"
>
...
@@ -167,7 +171,11 @@
...
@@ -167,7 +171,11 @@
<text>
返佣
</text>
<text>
返佣
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.Rebate"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.Rebate"
@
input=
"handleInput($event,item,index,'Rebate')"
@
blur=
"handleBlur(item,index,'Rebate')"
/>
<!--
<input
class=
"text-right"
type=
"text"
v-model=
"item.Rebate"
/>
-->
</view>
</view>
</view>
</view>
<view
class=
"paymentTitle PA30"
>
备注
</view>
<view
class=
"paymentTitle PA30"
>
备注
</view>
...
@@ -256,6 +264,28 @@
...
@@ -256,6 +264,28 @@
this
.
initData
();
this
.
initData
();
},
},
methods
:
{
methods
:
{
// 在模板中的使用示例
handleInput
(
e
,
item
,
index
,
field
)
{
const
value
=
e
.
detail
.
value
if
(
this
.
$utils
.
checkIsNum
(
value
)){
item
[
field
]
=
value
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
handleBlur
(
item
,
index
,
field
)
{
if
(
this
.
$utils
.
checkIsNum
(
item
[
field
])){
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
initData
()
{
initData
()
{
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
SelfPlayingExpendList
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingExpendList
this
.
SelfPlayingExpendList
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingExpendList
...
...
pages/teamLeader/components/report/otherInfor6.vue
View file @
a9803f34
...
@@ -186,7 +186,11 @@
...
@@ -186,7 +186,11 @@
<text>
金额
</text>
<text>
金额
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.ShopMoney"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.ShopMoney"
@
input=
"handleInput($event,item,index,'ShopMoney')"
@
blur=
"handleBlur(item,index,'ShopMoney')"
/>
<!--
<input
class=
"text-right"
type=
"text"
v-model=
"item.ShopMoney"
/>
-->
</view>
</view>
</view>
</view>
...
@@ -276,6 +280,28 @@
...
@@ -276,6 +280,28 @@
this
.
initData
();
this
.
initData
();
},
},
methods
:
{
methods
:
{
// 在模板中的使用示例
handleInput
(
e
,
item
,
index
,
field
)
{
const
value
=
e
.
detail
.
value
if
(
this
.
$utils
.
checkIsNum
(
value
)){
item
[
field
]
=
value
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
handleBlur
(
item
,
index
,
field
)
{
if
(
this
.
$utils
.
checkIsNum
(
item
[
field
])){
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
initData
()
{
initData
()
{
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
LeaderShopList
=
this
.
params
.
LeaderShopList
this
.
LeaderShopList
=
this
.
params
.
LeaderShopList
...
...
pages/teamLeader/components/report/productInfor1.vue
View file @
a9803f34
...
@@ -116,16 +116,15 @@
...
@@ -116,16 +116,15 @@
position
:
relative
;
position
:
relative
;
}
}
.inputBoxRight
u-number-box
{
.inputBoxRight
u-number-box
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
top
:
-7rpx
;
top
:
-7rpx
;
}
}
/
deep
/
.inputBoxRight
u-number-box
input
{
/
deep
/
.inputBoxRight
u-number-box
input
{
width
:
130rpx
!
important
;
width
:
130rpx
!
important
;
min-width
:
130rpx
!
important
;
min-width
:
130rpx
!
important
;
}
}
.inforCenterTopDel
{
.inforCenterTopDel
{
position
:
absolute
;
position
:
absolute
;
...
@@ -165,8 +164,7 @@
...
@@ -165,8 +164,7 @@
<text>
数量
</text>
<text>
数量
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UserNum"
<u-number-box
:min=
"0"
v-model=
"item.UserNum"
@
change=
"(e)=>getNum(e,index)"
/>
@
input=
"getTotal()"
/>
</view>
</view>
</view>
</view>
<view
class=
"inputBox row justify-between"
>
<view
class=
"inputBox row justify-between"
>
...
@@ -174,8 +172,10 @@
...
@@ -174,8 +172,10 @@
<text>
金额
</text>
<text>
金额
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
<input
class=
"text-right"
type=
"number"
@
input=
"handleInput($event, item,2, 'UnitPrice')"
@
blur=
"handleBlur(item,2, 'UnitPrice')"
/>
v-model=
"item.UnitPrice"
@
input=
"handleInput($event,item,index,'UnitPrice')"
@
blur=
"handleBlur(item,index,'UnitPrice')"
/>
</view>
</view>
</view>
</view>
<view
class=
"inputBox row justify-between noBorder"
>
<view
class=
"inputBox row justify-between noBorder"
>
...
@@ -274,34 +274,32 @@
...
@@ -274,34 +274,32 @@
this
.
initData
();
this
.
initData
();
},
},
methods
:
{
methods
:
{
getNum
(
e
,
index
){
this
.
datas
.
ReimburseList
.
ReimburseDetailsList
[
index
].
UserNum
=
e
.
value
this
.
getTotal
()
},
// 在模板中的使用示例
// 在模板中的使用示例
handleInput
(
e
,
item
,
type
,
field
)
{
handleInput
(
e
,
item
,
index
,
field
)
{
const
value
=
e
.
detail
.
value
;
const
value
=
e
.
detail
.
value
var
validValue
=
0
;
if
(
this
.
$utils
.
checkIsNum
(
value
)){
if
(
type
==
1
)
{
item
[
field
]
=
value
validValue
=
this
.
$utils
.
checkInteger
(
value
,
true
);
this
.
getTotal
()
}
else
{
}
else
{
validValue
=
this
.
$utils
.
checkPrice
(
value
,
true
);
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
}
// 更新数据
item
[
field
]
=
validValue
;
console
.
log
(
"handleInput"
,
item
[
field
]);
// 触发其他逻辑(如计算)
this
.
getTotal
();
},
},
handleBlur
(
item
,
type
,
field
)
{
handleBlur
(
item
,
index
,
field
)
{
var
formattedValue
=
0
;
if
(
this
.
$utils
.
checkIsNum
(
item
[
field
])){
if
(
type
==
1
)
{
this
.
getTotal
();
formattedValue
=
this
.
$utils
.
checkInteger
(
item
[
field
],
true
);
}
else
{
}
else
{
uni
.
showToast
({
formattedValue
=
this
.
$utils
.
checkPrice
(
item
[
field
],
true
);
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
}
// 更新数据
item
[
field
]
=
formattedValue
;
console
.
log
(
"handleBlur"
,
item
[
field
]);
// 触发其他逻辑
this
.
getTotal
();
},
},
//初始化数据
//初始化数据
initData
()
{
initData
()
{
...
@@ -333,8 +331,8 @@
...
@@ -333,8 +331,8 @@
},
},
updateData
()
{
updateData
()
{
this
.
BusList
[
this
.
dataIndex
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
datas
))
this
.
BusList
[
this
.
dataIndex
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
datas
))
this
.
params
.
BusList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
BusList
))
//
this.params.BusList = JSON.parse(JSON.stringify(this.BusList))
this
.
$emit
(
'change'
,
this
.
params
)
this
.
$emit
(
'change'
,
this
.
BusList
,
1
)
},
},
getRenderingData
()
{
getRenderingData
()
{
this
.
datas
=
this
.
BusList
[
this
.
dataIndex
]
this
.
datas
=
this
.
BusList
[
this
.
dataIndex
]
...
...
pages/teamLeader/components/report/productInfor2.vue
View file @
a9803f34
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
</
style
>
</
style
>
<
template
>
<
template
>
<view>
<view>
<view
class=
"inforCenterBox PX30 MT20"
>
<view
class=
"inforCenterBox PX30 MT20"
v-if=
"datas.HotelOrderList[datas.hotelIndex]"
>
<view
class=
"inforCenter"
<view
class=
"inforCenter"
v-for=
"(item,index) in datas.HotelOrderList[datas.hotelIndex].ReimburseList.ReimburseDetailsList"
v-for=
"(item,index) in datas.HotelOrderList[datas.hotelIndex].ReimburseList.ReimburseDetailsList"
:key=
"index"
>
:key=
"index"
>
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
<text>
数量
</text>
<text>
数量
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<
input
class=
"text-right"
type=
"number"
v-model=
"item.UserNum"
@
input=
"getNum()"
/>
<
u-number-box
:min=
"0"
v-model=
"item.UserNum"
@
change=
"(e)=>getNum(e,index)"
/>
</view>
</view>
</view>
</view>
<view
class=
"inputBox row justify-between"
>
<view
class=
"inputBox row justify-between"
>
...
@@ -162,7 +162,11 @@
...
@@ -162,7 +162,11 @@
<text>
单价
</text>
<text>
单价
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
@
input=
"getNum()"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UnitPrice"
@
input=
"handleInput($event,item,index,'UnitPrice')"
@
blur=
"handleBlur(item,index,'UnitPrice')"
/>
<!--
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
@
input=
"getNum()"
/>
-->
</view>
</view>
</view>
</view>
<view
class=
"inputBox row justify-between noBorder"
>
<view
class=
"inputBox row justify-between noBorder"
>
...
@@ -269,23 +273,46 @@
...
@@ -269,23 +273,46 @@
}
}
},
},
deep
:
true
,
deep
:
true
,
immediate
:
tru
e
immediate
:
fals
e
},
},
},
},
mounted
()
{
mounted
()
{
this
.
initData
();
this
.
initData
();
},
},
methods
:
{
methods
:
{
getNum
(
e
,
index
){
this
.
datas
.
HotelOrderList
[
this
.
datas
.
hotelIndex
].
ReimburseList
.
ReimburseDetailsList
[
index
].
UserNum
=
e
.
value
this
.
getTotal
()
},
// 在模板中的使用示例
handleInput
(
e
,
item
,
index
,
field
)
{
const
value
=
e
.
detail
.
value
if
(
this
.
$utils
.
checkIsNum
(
value
)){
item
[
field
]
=
value
this
.
getTotal
()
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
handleBlur
(
item
,
index
,
field
)
{
if
(
this
.
$utils
.
checkIsNum
(
item
[
field
])){
this
.
getTotal
();
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
initData
()
{
initData
()
{
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
HotelOrderListReport
=
this
.
params
.
HotelOrderListReport
//酒店信息,合团
this
.
HotelOrderListReport
=
this
.
params
.
HotelOrderListReport
//酒店信息,合团
this
.
dataIndex
=
this
.
dataIndex2
;
this
.
dataIndex
=
this
.
dataIndex2
;
this
.
datas
=
this
.
HotelOrderListReport
[
this
.
dataIndex
]
this
.
datas
=
this
.
HotelOrderListReport
[
this
.
dataIndex
]
this
.
ReimDatas
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
datas
.
HotelOrderList
[
this
.
datas
.
hotelIndex
].
ReimburseList
this
.
ReimDatas
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
datas
.
HotelOrderList
[
this
.
datas
.
hotelIndex
].
ReimburseList
.
ReimburseDetailsList
[
0
]))
.
ReimburseDetailsList
[
0
]))
this
.
getTotal
()
},
getNum
()
{
this
.
getTotal
()
this
.
getTotal
()
},
},
getTotal
()
{
getTotal
()
{
...
@@ -314,7 +341,7 @@
...
@@ -314,7 +341,7 @@
updateData
()
{
updateData
()
{
this
.
HotelOrderListReport
[
this
.
dataIndex
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
datas
))
this
.
HotelOrderListReport
[
this
.
dataIndex
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
datas
))
this
.
params
.
HotelOrderListReport
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
HotelOrderListReport
))
this
.
params
.
HotelOrderListReport
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
HotelOrderListReport
))
this
.
$emit
(
'change'
,
this
.
params
)
this
.
$emit
(
'change'
,
this
.
HotelOrderListReport
,
2
)
},
},
showOptionVisible
(
index
)
{
showOptionVisible
(
index
)
{
...
...
pages/teamLeader/components/report/productInfor3.vue
View file @
a9803f34
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
</
style
>
</
style
>
<
template
>
<
template
>
<view>
<view>
<view
class=
"inforCenterBox PX30 MT20"
>
<view
class=
"inforCenterBox PX30 MT20"
v-if=
"datas&&datas.DiningSummaryList&&datas.DiningSummaryList.length>0&&datas.DiningSummaryList[datas.diningIndex]"
>
<view
class=
"inforCenter"
<view
class=
"inforCenter"
v-for=
"(item,index) in datas.DiningSummaryList[datas.diningIndex].ReimburseList.ReimburseDetailsList"
v-for=
"(item,index) in datas.DiningSummaryList[datas.diningIndex].ReimburseList.ReimburseDetailsList"
:key=
"index"
>
:key=
"index"
>
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
<text>
数量
</text>
<text>
数量
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<
input
class=
"text-right"
type=
"number"
v-model=
"item.UserNum"
@
input=
"getNum()"
/>
<
u-number-box
:min=
"0"
v-model=
"item.UserNum"
@
change=
"(e)=>getNum(e,index)"
/>
</view>
</view>
</view>
</view>
<view
class=
"inputBox row justify-between"
>
<view
class=
"inputBox row justify-between"
>
...
@@ -162,7 +162,10 @@
...
@@ -162,7 +162,10 @@
<text>
单价
</text>
<text>
单价
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
@
input=
"getNum()"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UnitPrice"
@
input=
"handleInput($event,item,index,'UnitPrice')"
@
blur=
"handleBlur(item,index,'UnitPrice')"
/>
</view>
</view>
</view>
</view>
<view
class=
"inputBox row justify-between noBorder"
>
<view
class=
"inputBox row justify-between noBorder"
>
...
@@ -262,7 +265,7 @@
...
@@ -262,7 +265,7 @@
}
}
},
},
deep
:
true
,
deep
:
true
,
immediate
:
tru
e
immediate
:
fals
e
},
},
},
},
mounted
()
{
mounted
()
{
...
@@ -276,9 +279,33 @@
...
@@ -276,9 +279,33 @@
this
.
getRenderingData
()
this
.
getRenderingData
()
this
.
getTotal
();
this
.
getTotal
();
},
},
getNum
(
e
,
index
,
type
)
{
getNum
(
e
,
index
)
{
this
.
datas
.
DiningSummaryList
[
this
.
datas
.
diningIndex
].
ReimburseList
.
ReimburseDetailsList
[
index
].
UserNum
=
e
.
value
this
.
getTotal
()
this
.
getTotal
()
},
},
// 在模板中的使用示例
handleInput
(
e
,
item
,
index
,
field
)
{
const
value
=
e
.
detail
.
value
if
(
this
.
$utils
.
checkIsNum
(
value
)){
item
[
field
]
=
value
this
.
getTotal
()
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
handleBlur
(
item
,
index
,
field
)
{
if
(
this
.
$utils
.
checkIsNum
(
item
[
field
])){
this
.
getTotal
();
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
getTotal
()
{
getTotal
()
{
let
total
=
0
let
total
=
0
this
.
datas
.
DiningSummaryList
[
this
.
datas
.
diningIndex
].
ReimburseList
.
ReimburseDetailsList
.
forEach
(
x
=>
{
this
.
datas
.
DiningSummaryList
[
this
.
datas
.
diningIndex
].
ReimburseList
.
ReimburseDetailsList
.
forEach
(
x
=>
{
...
@@ -302,7 +329,7 @@
...
@@ -302,7 +329,7 @@
updateData
()
{
updateData
()
{
this
.
DiningList
[
this
.
dataIndex
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
datas
))
this
.
DiningList
[
this
.
dataIndex
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
datas
))
this
.
params
.
DiningList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
DiningList
))
this
.
params
.
DiningList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
DiningList
))
this
.
$emit
(
'change'
,
this
.
params
)
this
.
$emit
(
'change'
,
this
.
DiningList
,
3
)
},
},
getRenderingData
()
{
getRenderingData
()
{
this
.
datas
=
this
.
DiningList
[
this
.
dataIndex
]
this
.
datas
=
this
.
DiningList
[
this
.
dataIndex
]
...
...
pages/teamLeader/components/report/productInfor4.vue
View file @
a9803f34
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
</
style
>
</
style
>
<
template
>
<
template
>
<view>
<view>
<view
class=
"inforCenterBox PX30 MT20"
>
<view
class=
"inforCenterBox PX30 MT20"
v-if=
"datas&&datas.ScenicStatisticsList"
>
<view
class=
"inforCenter"
<view
class=
"inforCenter"
v-for=
"(item,index) in datas.ScenicStatisticsList[datas.scenicIndex].ReimburseList.ReimburseDetailsList"
v-for=
"(item,index) in datas.ScenicStatisticsList[datas.scenicIndex].ReimburseList.ReimburseDetailsList"
:key=
"index"
>
:key=
"index"
>
...
@@ -154,7 +154,8 @@
...
@@ -154,7 +154,8 @@
<text>
数量
</text>
<text>
数量
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UserNum"
@
input=
"getNum()"
/>
<u-number-box
:min=
"0"
v-model=
"item.UserNum"
@
change=
"(e)=>getNum(e,index)"
/>
<!--
<input
class=
"text-right"
type=
"number"
v-model=
"item.UserNum"
@
input=
"getNum()"
/>
-->
</view>
</view>
</view>
</view>
<view
class=
"inputBox row justify-between"
>
<view
class=
"inputBox row justify-between"
>
...
@@ -162,7 +163,11 @@
...
@@ -162,7 +163,11 @@
<text>
单价
</text>
<text>
单价
</text>
</view>
</view>
<view
class=
"inputBoxRight"
>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
@
input=
"getNum()"
/>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UnitPrice"
@
input=
"handleInput($event,item,index,'UnitPrice')"
@
blur=
"handleBlur(item,index,'UnitPrice')"
/>
<!--
<input
class=
"text-right"
type=
"text"
v-model=
"item.UnitPrice"
@
input=
"getNum()"
/>
-->
</view>
</view>
</view>
</view>
<view
class=
"inputBox row justify-between noBorder"
>
<view
class=
"inputBox row justify-between noBorder"
>
...
@@ -262,7 +267,7 @@
...
@@ -262,7 +267,7 @@
}
}
},
},
deep
:
true
,
deep
:
true
,
immediate
:
tru
e
immediate
:
fals
e
},
},
},
},
mounted
()
{
mounted
()
{
...
@@ -276,9 +281,33 @@
...
@@ -276,9 +281,33 @@
this
.
getRenderingData
()
this
.
getRenderingData
()
this
.
getTotal
()
this
.
getTotal
()
},
},
getNum
()
{
getNum
(
e
,
index
)
{
this
.
datas
.
ScenicStatisticsList
[
this
.
datas
.
scenicIndex
].
ReimburseList
.
ReimburseDetailsList
[
index
].
UserNum
=
e
.
value
this
.
getTotal
()
this
.
getTotal
()
},
},
// 在模板中的使用示例
handleInput
(
e
,
item
,
index
,
field
)
{
const
value
=
e
.
detail
.
value
if
(
this
.
$utils
.
checkIsNum
(
value
)){
item
[
field
]
=
value
this
.
getTotal
()
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
handleBlur
(
item
,
index
,
field
)
{
if
(
this
.
$utils
.
checkIsNum
(
item
[
field
])){
this
.
getTotal
();
}
else
{
uni
.
showToast
({
title
:
'请输入正确的金额'
,
icon
:
'none'
})
}
},
getTotal
()
{
getTotal
()
{
let
total
=
0
let
total
=
0
this
.
datas
.
ScenicStatisticsList
[
this
.
datas
.
scenicIndex
].
ReimburseList
.
ReimburseDetailsList
.
forEach
(
x
=>
{
this
.
datas
.
ScenicStatisticsList
[
this
.
datas
.
scenicIndex
].
ReimburseList
.
ReimburseDetailsList
.
forEach
(
x
=>
{
...
@@ -302,7 +331,7 @@
...
@@ -302,7 +331,7 @@
updateData
()
{
updateData
()
{
this
.
ScenicList
[
this
.
dataIndex
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
datas
))
this
.
ScenicList
[
this
.
dataIndex
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
datas
))
this
.
params
.
ScenicList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ScenicList
))
this
.
params
.
ScenicList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ScenicList
))
this
.
$emit
(
'change'
,
this
.
params
)
this
.
$emit
(
'change'
,
this
.
ScenicList
,
4
)
},
},
getRenderingData
()
{
getRenderingData
()
{
this
.
datas
=
this
.
ScenicList
[
this
.
dataIndex
]
this
.
datas
=
this
.
ScenicList
[
this
.
dataIndex
]
...
...
pages/teamLeader/reimbursementInfor.vue
View file @
a9803f34
...
@@ -569,9 +569,17 @@
...
@@ -569,9 +569,17 @@
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
getNewData
(
params
,
type
)
{
getNewData
(
row
,
type
)
{
//其它费用
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
if
(
type
==
5
)
{
if
(
type
==
1
){
this
.
params
.
BusList
=
params
}
else
if
(
type
==
2
)
{
this
.
params
.
HotelOrderListReport
=
params
}
else
if
(
type
==
3
)
{
this
.
params
.
DiningList
=
params
}
else
if
(
type
==
4
)
{
this
.
params
.
ScenicList
=
params
}
else
if
(
type
==
5
)
{
//其它费用
this
.
params
.
OtherOrderInfo
.
OtherList
=
params
;
this
.
params
.
OtherOrderInfo
.
OtherList
=
params
;
}
else
if
(
type
==
6
)
{
}
else
if
(
type
==
6
)
{
this
.
params
.
OtherOrderInfo
.
TipList
=
params
;
this
.
params
.
OtherOrderInfo
.
TipList
=
params
;
...
@@ -584,7 +592,7 @@
...
@@ -584,7 +592,7 @@
}
else
if
(
type
==
10
)
{
}
else
if
(
type
==
10
)
{
this
.
params
.
LeaderShopList
=
params
;
this
.
params
.
LeaderShopList
=
params
;
}
else
{
}
else
{
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
params
))
this
.
params
=
params
}
}
},
},
getType
(
item
)
{
getType
(
item
)
{
...
@@ -734,13 +742,13 @@
...
@@ -734,13 +742,13 @@
},
},
scroll
(
e
)
{
scroll
(
e
)
{
this
.
old
.
scrollTop
=
e
.
detail
.
scrollTop
this
.
old
.
scrollTop
=
e
.
detail
.
scrollTop
this
.
boxOption
=
Math
.
floor
((
e
.
detail
.
scrollTop
-
10
0
)
/
1.5
);
this
.
boxOption
=
Math
.
floor
((
e
.
detail
.
scrollTop
-
5
0
)
/
1.5
);
this
.
titleStyle
.
opacity
=
this
.
titleStyle
.
opacity
=
e
.
detail
.
scrollTop
-
20
0
<
0
?
e
.
detail
.
scrollTop
-
5
0
<
0
?
0
:
0
:
Math
.
floor
(
e
.
detail
.
scrollTop
-
10
0
)
/
100
>
1
?
Math
.
floor
(
e
.
detail
.
scrollTop
-
5
0
)
/
100
>
1
?
1
:
1
:
Math
.
floor
(
e
.
detail
.
scrollTop
-
10
0
)
/
100
;
Math
.
floor
(
e
.
detail
.
scrollTop
-
5
0
)
/
100
;
this
.
$forceUpdate
();
this
.
$forceUpdate
();
},
},
getOptionData
()
{
getOptionData
()
{
...
...
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