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
08ce9b15
Commit
08ce9b15
authored
Jan 28, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
‘财务单据审核@@’
parent
a1f24dd7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
207 deletions
+86
-207
cssReset.css
src/assets/css/cssReset.css
+2
-45
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+2
-2
sellCommissionRules.vue
src/components/FinancialModule/sellCommissionRules.vue
+82
-160
No files found.
src/assets/css/cssReset.css
View file @
08ce9b15
...
...
@@ -523,13 +523,12 @@ vertical-align:middle
bottom
:
0
;
left
:
50px
;
padding
:
10px
;
overflow
:
hidden
;
overflow
:
auto
;
font-family
:
'PingFangSc-Fine'
;
z-index
:
999
;
right
:
0
;
background-color
:
#fff
;
border-top
:
3px
solid
#38425d
;
padding-bottom
:
30px
;
}
.bottom-box
.btm-title
{
padding-left
:
10px
;
...
...
@@ -551,45 +550,3 @@ vertical-align:middle
.page_ShoppingReimbursementDetails
.avatar-uploader-icon
{
height
:
auto
!important
;
}
\ No newline at end of file
/************************** luochao 重新定义表格样式 BEGIN *******************************/
.al-tab
{
width
:
100%
;
border-collapse
:
collapse
;
}
.al-tab
.center.th
,
.al-tab
.center.td
{
text-align
:
center
!important
;
}
.al-tab
,
.al-tab
th
,
.al-tab
td
{
border
:
1px
solid
#ddd
;
}
.al-tab
caption
{
font-size
:
18px
;
color
:
#333
;
height
:
40px
;
line-height
:
40px
;
text-align
:
left
;
padding-left
:
12px
;
}
.al-tab
th
{
background
:
#E6E6E6
;
height
:
40px
;
line-height
:
40px
;
color
:
#333
;
font-size
:
16px
;
font-weight
:
300
;
text-align
:
left
;
padding-left
:
5px
;
}
.al-tab
td
{
height
:
40px
;
line-height
:
40px
;
color
:
#333
;
font-size
:
12px
;
font-weight
:
300
;
text-align
:
left
;
padding-left
:
5px
;
}
/************************** luochao 重新定义表格样式 END *******************************/
\ No newline at end of file
src/components/FinancialModule/BasicDocuments.vue
View file @
08ce9b15
...
...
@@ -725,7 +725,7 @@
<td
height=
"50px"
></td>
<td
height=
"50px"
></td>
<td
height=
"50px"
></td>
<td
height=
"50px"
></td>
<td
height=
"50px"
></td>
Content
<td
height=
"50px"
></td>
<td
height=
"50px"
></td>
<!-- <td height="50px"></td> -->
...
...
@@ -1463,7 +1463,7 @@ export default {
data
.
VorcherInos
.
forEach
(
x
=>
{
if
(
x
.
Type
==
3
){
this
.
FuImgList
.
push
(
x
.
Content
);
this
.
images
.
push
(
Content
)
this
.
images
.
push
(
x
.
Content
)
}
})
}
...
...
src/components/FinancialModule/sellCommissionRules.vue
View file @
08ce9b15
<
template
>
<div
class=
"rule-box"
>
<div>
<div
class=
"query-box"
>
<ul>
<li>
...
...
@@ -43,10 +43,10 @@
<el-row>
<el-col
:span=
"4"
:gutter=
"20"
>
<el-form-item
label=
"账户别名:"
>
<el-input
v-model=
"addMsg.RuleName"
></el-input>
<el-input
v-model=
"addMsg.RuleName"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5
"
:gutter=
"20"
>
<el-col
:span=
"4
"
:gutter=
"20"
>
<el-form-item
label=
"提成类别:"
>
<el-select
filterable
v-model=
"addMsg.CommissionMethod"
class
>
<el-option
label=
"交易额"
value=
1
></el-option>
...
...
@@ -55,100 +55,70 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5
"
:gutter=
"20"
>
<el-col
:span=
"4
"
:gutter=
"20"
>
<el-form-item
label=
"提成方式:"
>
<el-select
filterable
v-model=
"addMsg.CommissionType"
class
>
<el-option
label=
"固定百分比"
value=
1
></el-option>
<el-option
label=
"阶梯百分比"
value=
2
></el-option>
<el-option
label=
"固定金额"
value=
3
></el-option>
<el-option
label=
"阶梯金额"
value=
4
></el-option>
<el-option
label=
"百分比"
value=
1
></el-option>
<el-option
label=
"定额"
value=
2
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5
"
:gutter=
"20"
>
<el-col
:span=
"4
"
:gutter=
"20"
>
<el-form-item
label=
"提成比例:"
>
<el-input
v-model=
"addMsg.CommissionVariable"
:disabled=
"addMsg.CommissionType%2!=1
"
>
<el-input
v-model=
"addMsg.CommissionVariable
"
>
<template
slot=
"append"
>
{{
addMsg
.
CommissionType
==
1
?
'%'
:
'/人'
}}
</
template
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5
"
:gutter=
"20"
>
<el-col
:span=
"4
"
:gutter=
"20"
>
<el-form-item
label=
"提成要求:"
>
<el-select
v-model=
"addMsg.Require"
class
>
<el-select
filterable
v-model=
"addMsg.Require"
class
>
<el-option
label=
"已收定金"
value=
1
></el-option>
<el-option
label=
"尾款收齐"
value=
2
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"4"
:gutter=
"20"
>
<el-form-item
label=
"结算周期:"
>
<el-select
v-model=
"addMsg.BalanceCyc"
class
>
<el-select
filterable
v-model=
"addMsg.BalanceCyc"
class
>
<el-option
label=
"按单结算"
value=
1
></el-option>
<el-option
label=
"按月结算"
value=
2
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5"
:gutter=
"20"
>
</el-row>
<el-row>
<el-col
:span=
"4"
:gutter=
"20"
>
<el-form-item
label=
"结算要求:"
>
<el-select
v-model=
"addMsg.IsFinishAll
"
class
>
<el-select
filterable
v-model=
"addMsg.BalanceCyc
"
class
>
<el-option
label=
"强制完成周期内所有订单提成要求"
value=
1
></el-option>
<el-option
label=
"不用强制完成"
value=
0
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5
"
:gutter=
"20"
>
<el-col
:span=
"4
"
:gutter=
"20"
>
<el-form-item
label=
"适用公司:"
>
<el-select
filterable
multiple
collapse-tags
@
change=
"changeData(1)"
v-model=
"addMsg.UsingBranch"
class
>
<el-option
label=
"集团通用"
value=
-1
></el-option>
<el-option
v-for=
"(item, index) in CompanyList"
:label=
"item.BName"
:value=
"item.Id"
:key=
"index"
></el-option>
<el-select
filterable
v-model=
"addMsg.BalanceCyc"
class
>
<el-option
label=
"强制完成周期内所有订单提成要求"
value=
1
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5
"
:gutter=
"20"
>
<el-col
:span=
"4
"
:gutter=
"20"
>
<el-form-item
label=
"适用线路:"
>
<el-select
filterable
multiple
collapse-tags
@
change=
"changeData(2)"
v-model=
"addMsg.UsingLine"
class
>
<el-option
label=
"所有线路"
value=
-1
></el-option>
<el-option
v-for=
"(item, index) in lines"
:label=
"item.lineName"
:value=
"item.lineID"
:key=
"index"
></el-option>
<el-select
filterable
v-model=
"addMsg.BalanceCyc"
class
>
<el-option
label=
"强制完成周期内所有订单提成要求"
value=
1
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5"
:gutter=
"20"
>
<el-form-item
label=
"启用时间:"
>
<el-date-picker
v-model=
"EffectDate"
type=
"date"
placeholder=
"选择启用时间"
>
</el-date-picker>
<el-col
:span=
"4"
:gutter=
"20"
>
<el-form-item
label=
"启用时间"
>
<el-select
filterable
v-model=
"addMsg.BalanceCyc"
class
>
<el-option
label=
"强制完成周期内所有订单提成要求"
value=
1
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<table
class=
"al-tab"
v-show=
'addMsg.CommissionType%2==0'
>
<caption>
阶梯提成比例设定
</caption>
<thead>
<th>
序号
</th>
<th>
人数范围
</th>
<th>
提成比列
</th>
<th>
操作
</th>
</thead>
<tbody>
<tr
v-for=
"(item, index) in addMsg.RangeCommission"
:key=
"index"
>
<td>
1
</td>
<td>
前
<el-input-number
size=
"small"
style=
"margin:0 12px"
:min=
"1"
:max=
"item.EndPeople"
v-model=
"item.StartPeople"
class=
"w120"
></el-input-number>
至
<el-input-number
size=
"small"
style=
"margin:0 15px"
:min=
"item.StartPeople"
v-model=
"item.EndPeople"
class=
"w100"
></el-input-number>
</td>
<td>
<el-input
placeholder=
"请输入内容"
size=
"small"
v-model=
"Variable"
class=
"w200"
>
<
template
slot=
"append"
>
{{
addMsg
.
CommissionType
==
2
?
'%'
:
'/人'
}}
</
template
>
</el-input>
</td>
<td></td>
</tr>
</tbody>
</table>
</el-row>
</el-form>
</div>
<div
class=
"btm-opera-btn"
>
<input
...
...
@@ -187,22 +157,14 @@ export default {
CommissionType
:
'1'
,
Require
:
'1'
,
CommissionVariable
:
'0'
,
UsingLine
:
[]
,
UsingBranch
:
[]
,
UsingLine
:
''
,
UsingBranch
:
''
,
EffectDate
:
null
,
RB_Group_Id
:
0
,
BalanceCyc
:
''
,
IsFinishAll
:
'0'
,
IsDelete
:
1
,
RangeCommission
:[
{
StartPeople
:
null
,
EndPeople
:
null
,
Variable
:
0
}
]
IsDelete
:
1
},
lines
:[],
rules
:
{}
};
},
...
...
@@ -359,23 +321,6 @@ export default {
this
.
columns
.
push
(
opera
);
this
.
isReady
=
true
;
},
changeData
(
type
){
let
temp
=
[]
if
(
type
==
1
){
temp
=
this
.
addMsg
.
UsingBranch
}
else
if
(
type
==
2
){
temp
=
this
.
addMsg
.
UsingLine
}
let
len
=
temp
.
length
if
(
len
>
1
){
if
(
temp
[
len
-
1
]
==-
1
){
temp
.
splice
(
0
,
len
-
1
)
}
else
if
(
temp
.
indexOf
(
"-1"
)
!=-
1
){
temp
.
splice
(
temp
.
indexOf
(
"-1"
),
1
)
}
}
},
handleCurrentChanges
(
val
)
{
this
.
pageIndex
=
val
;
this
.
getList
();
...
...
@@ -420,34 +365,11 @@ export default {
err
=>
{}
);
},
getline
(){
let
msg
=
{
'pageIndex'
:
0
,
'pageSize'
:
100
}
this
.
apipost
(
"line_post_GetPageList"
,
msg
,
x
=>
{
this
.
lines
=
x
.
data
.
data
.
pageData
// console.log(this.lines)
},
err
=>
{})
},
},
mounted
()
{
this
.
getCompanyList
()
this
.
getline
()
}
};
</
script
>
<
style
>
/* .rule-box .el-select__tags{
top: 100%;
} */
.rule-box
.el-input
.el-input__inner
,
.rule-box
.el-select
.el-input
{
height
:
auto
;
}
.rule-box
.el-select
{
display
:
block
;
}
.el-input-group__append
,
.el-input-group__prepend
{
border-radius
:
0
;
}
.rule-box
.el-date-editor.el-input
,
.rule-box
.el-date-editor.el-input__inner
{
width
:
100%
;
}
</
style
>
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