Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
fb28b02a
Commit
fb28b02a
authored
Jun 08, 2020
by
zhangjianguo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huangyuanyuan/electricitysheep
parents
26ed4aa2
2feb616b
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
326 additions
and
32 deletions
+326
-32
common.css
src/assets/css/common.css
+2
-2
addGoodsClass.vue
src/components/CommodityMan/addGoodsClass.vue
+2
-2
goodsClassification.vue
src/components/CommodityMan/goodsClassification.vue
+2
-2
goodsListEdit.vue
src/components/CommodityMan/goodsListEdit.vue
+8
-5
goodsServices.vue
src/components/CommodityMan/goodsServices.vue
+2
-2
materialMan.vue
src/components/CommodityMan/materialMan.vue
+1
-1
quickBuy.vue
src/components/CommodityMan/quickBuy.vue
+2
-2
usersListEdit.vue
src/components/UserMan/usersListEdit.vue
+2
-0
financialAllocation.vue
src/components/orderMan/financialAllocation.vue
+274
-0
salesOrderDetails.vue
src/components/orderMan/salesOrderDetails.vue
+19
-16
index.js
src/router/index.js
+12
-0
No files found.
src/assets/css/common.css
View file @
fb28b02a
...
@@ -112,8 +112,8 @@
...
@@ -112,8 +112,8 @@
}
}
.searchInput
.el-input__inner
{
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
border
:
none
;
outline
:
none
;
height
:
30px
;
height
:
30px
!important
;
line-height
:
30px
;
line-height
:
30px
!important
;
}
}
.searchInput
{
.searchInput
{
line-height
:
normal
;
line-height
:
normal
;
...
...
src/components/CommodityMan/addGoodsClass.vue
View file @
fb28b02a
...
@@ -360,8 +360,8 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
...
@@ -360,8 +360,8 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
}
}
.addGoodsClass
.searchInput
.el-input__inner
{
.addGoodsClass
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
border
:
none
;
outline
:
none
;
height
:
30px
;
height
:
30px
!important
;
line-height
:
30px
;
line-height
:
30px
!important
;
}
}
.addGoodsClass
.searchInput
{
.addGoodsClass
.searchInput
{
line-height
:
normal
;
line-height
:
normal
;
...
...
src/components/CommodityMan/goodsClassification.vue
View file @
fb28b02a
...
@@ -874,8 +874,8 @@ export default {
...
@@ -874,8 +874,8 @@ export default {
}
}
.goodsClass
.searchInput
.el-input__inner
{
.goodsClass
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
border
:
none
;
outline
:
none
;
height
:
30px
;
height
:
30px
!important
;
line-height
:
30px
;
line-height
:
30px
!important
;
}
}
.goodsClass
.searchInput
{
.goodsClass
.searchInput
{
line-height
:
normal
;
line-height
:
normal
;
...
...
src/components/CommodityMan/goodsListEdit.vue
View file @
fb28b02a
<
template
>
<
template
>
<div
class=
"goodsListEdit"
>
<div
class=
"goodsListEdit"
>
<div
class=
"head-title"
>
<div
class=
"head-title"
>
<span
@
click=
"CommonJump('goodsList')"
class=
"blue point"
>
商品列表
</span>
<span
@
click=
"CommonJump('goodsList')"
class=
"blue point"
>
商品列表
</span>
...
@@ -874,7 +874,7 @@
...
@@ -874,7 +874,7 @@
type=
"info"
type=
"info"
style=
"margin:5px"
style=
"margin:5px"
>
>
{{ item.Name }}
</el-tag
{{ item.
Area
Name }}
</el-tag
>
>
</div>
</div>
</div>
</div>
...
@@ -2450,7 +2450,8 @@ export default {
...
@@ -2450,7 +2450,8 @@ export default {
this
.
AreaList
.
forEach
(
item
=>
{
this
.
AreaList
.
forEach
(
item
=>
{
let
obj
=
{
let
obj
=
{
Id
:
item
.
RegionId
,
Id
:
item
.
RegionId
,
Name
:
item
.
RegionName
AreaId
:
item
.
RegionId
,
AreaName
:
item
.
RegionName
};
};
this
.
addMsg
.
AreaList
.
push
(
obj
);
this
.
addMsg
.
AreaList
.
push
(
obj
);
});
});
...
@@ -2507,15 +2508,16 @@ export default {
...
@@ -2507,15 +2508,16 @@ export default {
this
.
imgType
=
val
;
this
.
imgType
=
val
;
},
},
SelectId
(
msg
)
{
SelectId
(
msg
)
{
let
that
=
this
;
if
(
this
.
imgType
==
1
)
{
if
(
this
.
imgType
==
1
)
{
let
obj
=
{
let
obj
=
{
Id
:
msg
.
selectId
,
Id
:
msg
.
selectId
,
Path
:
this
.
domainManager
().
ImageUrl
+
msg
.
url
Path
:
that
.
getIconLink
(
msg
.
url
),
};
};
this
.
addMsg
.
CarouselImageList
.
push
(
obj
);
this
.
addMsg
.
CarouselImageList
.
push
(
obj
);
}
}
if
(
this
.
imgType
==
2
)
{
if
(
this
.
imgType
==
2
)
{
this
.
addMsg
.
CustomShareImage
=
th
is
.
domainManager
().
ImageUrl
+
msg
.
url
;
this
.
addMsg
.
CustomShareImage
=
th
at
.
getIconLink
(
msg
.
url
)
;
}
}
if
(
this
.
imgType
==
3
)
{
if
(
this
.
imgType
==
3
)
{
let
imgListIndex1
=
this
.
imgListIndex1
;
let
imgListIndex1
=
this
.
imgListIndex1
;
...
@@ -2605,6 +2607,7 @@ export default {
...
@@ -2605,6 +2607,7 @@ export default {
},
},
res
=>
{
res
=>
{
this
.
addMsg
=
res
.
data
.
data
;
this
.
addMsg
=
res
.
data
.
data
;
console
.
log
(
"this.addMsg"
,
this
.
addMsg
)
this
.
initShareSettings
();
this
.
initShareSettings
();
this
.
SpecificationPriceList
=
this
.
addMsg
.
SpecificationPriceList
;
this
.
SpecificationPriceList
=
this
.
addMsg
.
SpecificationPriceList
;
this
.
SpecificationList
=
this
.
addMsg
.
SpecificationList
;
this
.
SpecificationList
=
this
.
addMsg
.
SpecificationList
;
...
...
src/components/CommodityMan/goodsServices.vue
View file @
fb28b02a
...
@@ -221,8 +221,8 @@ export default {
...
@@ -221,8 +221,8 @@ export default {
}
}
.quickBuy
.content
.searchInput
.el-input__inner
{
.quickBuy
.content
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
border
:
none
;
outline
:
none
;
height
:
30px
;
height
:
30px
!important
;
line-height
:
30px
;
line-height
:
30px
!important
;
}
}
.quickBuy
.content
.searchInput
{
.quickBuy
.content
.searchInput
{
line-height
:
normal
;
line-height
:
normal
;
...
...
src/components/CommodityMan/materialMan.vue
View file @
fb28b02a
...
@@ -240,7 +240,7 @@ export default {
...
@@ -240,7 +240,7 @@ export default {
Type
:
1
,
Type
:
1
,
Recycled
:
1
,
Recycled
:
1
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
15
,
pageSize
:
20
,
GroupId
:
0
,
GroupId
:
0
,
},
},
PageList
:[],
PageList
:[],
...
...
src/components/CommodityMan/quickBuy.vue
View file @
fb28b02a
...
@@ -286,8 +286,8 @@ export default {
...
@@ -286,8 +286,8 @@ export default {
}
}
.quickBuy
.content
.searchInput
.el-input__inner
{
.quickBuy
.content
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
border
:
none
;
outline
:
none
;
height
:
30px
;
height
:
30px
!important
;
line-height
:
30px
;
line-height
:
30px
!important
;
}
}
.quickBuy
.content
.searchInput
{
.quickBuy
.content
.searchInput
{
line-height
:
normal
;
line-height
:
normal
;
...
...
src/components/UserMan/usersListEdit.vue
View file @
fb28b02a
...
@@ -152,6 +152,8 @@
...
@@ -152,6 +152,8 @@
UserId
:
this
.
UserId
UserId
:
this
.
UserId
},
res
=>
{
},
res
=>
{
this
.
userInfo
=
res
.
data
.
data
;
this
.
userInfo
=
res
.
data
.
data
;
this
.
msg
.
Name
=
this
.
userInfo
.
SuperiorName
;
this
.
getList
();
})
})
},
},
},
},
...
...
src/components/orderMan/financialAllocation.vue
0 → 100644
View file @
fb28b02a
<
template
>
<div
class=
"financialAllocation"
>
<div
class=
"head-title"
>
财务配置
</div>
<div
v-loading=
"loading"
style=
"background:#fff;padding:20px;margin-top:10px"
>
<el-tabs
style=
"margin-top:20px"
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
v-for=
"item in typeList"
:key=
"item.Id"
:dataId=
"item.Id"
:label=
"item.Name"
:name=
"item.Name"
></el-tab-pane>
</el-tabs>
<div>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"135px"
style=
"width:50%"
>
<el-form-item
v-if=
"type==1"
label=
"账户类型"
>
<el-select
@
change=
"SelectIsPublic"
v-model=
"AccountType"
placeholder=
"请选择"
size=
"small"
filterable
>
<el-option
:label=
"item.Name"
:value=
"item.Id"
v-for=
"(item,index) in AccountList"
:key=
"index"
></el-option>
</el-select>
</el-form-item>
<el-form-item
v-if=
"type==1"
label=
"账户"
prop=
"AccountId"
>
<el-select
@
change=
"SelectAccountType"
v-model=
"addMsg.AccountId"
placeholder=
"请选择"
size=
"small"
filterable
>
<el-option
:label=
"item.Alias"
:value=
"item.Id"
v-for=
"(item,index) in AccountIdList"
:key=
"index"
></el-option>
</el-select>
</el-form-item>
<el-form-item
v-if=
"type==1"
label=
"汇款人"
prop=
"RemitterName"
>
<el-input
v-model=
"addMsg.RemitterName"
size=
"small"
></el-input>
</el-form-item>
<el-form-item
v-if=
"type==2 || type==3 || type==4"
label=
"币种"
prop=
"CurrencyId"
>
<el-select
v-model=
"addMsg.CurrencyId"
placeholder=
"请选择"
size=
"small"
filterable
>
<el-option
:label=
"item.Name"
:value=
"item.Id"
v-for=
"(item,index) in CurrencyIddList"
:key=
"index"
></el-option>
</el-select>
</el-form-item>
<el-form-item
v-if=
"type==1"
label=
"商品收入费用"
prop=
"IncomeCostTypeId"
>
<el-select
v-model=
"addMsg.IncomeCostTypeId"
placeholder=
"请选择"
size=
"small"
filterable
>
<el-option
:label=
"item.Name"
:value=
"item.Id"
v-for=
"(item,index) in costList"
:key=
"index"
></el-option>
</el-select>
</el-form-item>
<el-form-item
v-if=
"type==1"
label=
"运费收入费用"
prop=
"FreightCostTypeId"
>
<el-select
v-model=
"addMsg.FreightCostTypeId"
placeholder=
"请选择"
size=
"small"
filterable
>
<el-option
:label=
"item.Name"
:value=
"item.Id"
v-for=
"(item,index) in costList"
:key=
"index"
></el-option>
</el-select>
</el-form-item>
<el-form-item
v-if=
"type==3"
label=
"退款费用"
prop=
"RefundCostTypeId"
>
<el-select
v-model=
"addMsg.RefundCostTypeId"
placeholder=
"请选择"
size=
"small"
filterable
>
<el-option
:label=
"item.Name"
:value=
"item.Id"
v-for=
"(item,index) in costList"
:key=
"index"
></el-option>
</el-select>
</el-form-item>
<el-form-item
v-if=
"type==2"
label=
"成本费用"
prop=
"CBCostTypeId"
>
<el-select
v-model=
"addMsg.CBCostTypeId"
placeholder=
"请选择"
size=
"small"
filterable
>
<el-option
:label=
"item.Name"
:value=
"item.Id"
v-for=
"(item,index) in costList"
:key=
"index"
></el-option>
</el-select>
</el-form-item>
<el-form-item
v-if=
"type==4"
label=
"打款费用"
prop=
"RemitCostTypeId"
>
<el-select
v-model=
"addMsg.RemitCostTypeId"
placeholder=
"请选择"
size=
"small"
filterable
>
<el-option
:label=
"item.Name"
:value=
"item.Id"
v-for=
"(item,index) in costList"
:key=
"index"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"流程"
prop=
"WorkFlowId"
>
<el-select
v-model=
"addMsg.WorkFlowId"
placeholder=
"请选择"
size=
"small"
filterable
>
<el-option
:label=
"item.Name"
:value=
"item.Id"
v-for=
"(item,index) in TempLateList"
:key=
"index"
></el-option>
</el-select>
</el-form-item>
<el-form-item
v-if=
"type==1"
label=
"执行开始时间"
prop=
"StartTime"
>
<el-date-picker
size=
"small"
v-model=
"addMsg.StartTime"
type=
"datetime"
value-format=
"yyyy-MM-dd HH:mm:ss"
placeholder=
"选择日期时间"
>
</el-date-picker>
</el-form-item>
<el-form-item
v-if=
"type==1"
label=
"执行周期"
prop=
"IntervalDay"
>
<el-input
v-model=
"addMsg.IntervalDay"
size=
"small"
></el-input>
</el-form-item>
</el-form>
</div>
</div>
<div
style=
"margin-top:20px"
>
<el-button
@
click=
"Save('addMsg')"
size=
"small"
type=
"primary"
>
保存
</el-button>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"financialAllocation"
,
data
(){
return
{
loading
:
false
,
activeName
:
'收款'
,
typeList
:[],
AccountType
:
''
,
addMsg
:{
},
rules
:{
AccountType
:
[
{
required
:
true
,
message
:
'请选择账户类型'
,
trigger
:
'change'
}
],
AccountId
:
[
{
required
:
true
,
message
:
'请选择账户类型'
,
trigger
:
'change'
}
],
IntervalDay
:
[
{
required
:
true
,
message
:
'请输入执行周期'
,
trigger
:
'blur'
},
],
RemitterName
:
[
{
required
:
true
,
message
:
'请输入汇款人'
,
trigger
:
'blur'
},
],
CurrencyId
:
[
{
required
:
true
,
message
:
'请选择币种'
,
trigger
:
'change'
}
],
IncomeCostTypeId
:
[
{
required
:
true
,
message
:
'请选择'
,
trigger
:
'change'
}
],
FreightCostTypeId
:
[
{
required
:
true
,
message
:
'请选择'
,
trigger
:
'change'
}
],
RefundCostTypeId
:
[
{
required
:
true
,
message
:
'请选择'
,
trigger
:
'change'
}
],
RemitCostTypeId
:
[
{
required
:
true
,
message
:
'请选择'
,
trigger
:
'change'
}
],
CBCostTypeId
:
[
{
required
:
true
,
message
:
'请选择'
,
trigger
:
'change'
}
],
WorkFlowId
:
[
{
required
:
true
,
message
:
'请选择'
,
trigger
:
'change'
}
],
StartTime
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'请选择时间'
,
trigger
:
'change'
}
],
},
AccountList
:[],
type
:
0
,
AccountIdList
:[],
costList
:[],
TempLateList
:[],
}
},
created
(){
this
.
getAccount
();
this
.
getOrderStatus
();
this
.
getCurrencyList
();
},
mounted
(){},
methods
:{
Save
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
addMsg
.
Type
=
this
.
type
;
this
.
loading
=
true
;
this
.
apipost
(
"/api/finance/SetFinanceConfigurationInfo"
,
this
.
addMsg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
this
.
GetFinance
();
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
})
}
else
{
return
false
;
}
});
},
getTempLate
(){
let
val
=
1
;
if
(
this
.
type
==
1
){
val
=
1
;
}
else
{
val
=
2
;
}
this
.
apipost
(
"/api/finance/GetFinanceWorkFlowTemplateList"
,{
TempLateClass
:
val
},
res
=>
{
this
.
TempLateList
=
res
.
data
.
data
;
})
},
getcostList
(){
let
val
=
1
;
if
(
this
.
type
==
1
){
val
=
1
;
}
else
{
val
=
2
;
}
this
.
apipost
(
"/api/finance/GetFinanceCostTypeList"
,{
Type
:
val
},
res
=>
{
this
.
costList
=
res
.
data
.
data
;
})
},
getCurrencyList
(){
this
.
apipost
(
"/api/finance/GetFinanceCurrencyList"
,{},
res
=>
{
this
.
CurrencyIddList
=
res
.
data
.
data
;
})
},
SelectAccountType
(
val
){
this
.
AccountIdList
.
forEach
(
item
=>
{
if
(
item
.
Id
==
val
){
this
.
addMsg
.
AccountType
=
item
.
BankType
;
}
})
},
SelectIsPublic
(
val
){
this
.
AccountList
.
forEach
(
item
=>
{
if
(
item
.
Id
==
val
){
this
.
addMsg
.
IsPublic
=
item
.
IsPublic
;
this
.
getBankAccountList
(
val
)
}
})
},
getBankAccountList
(
val
){
this
.
apipost
(
"/api/finance/GetBankAccountList"
,{
TypeId
:
val
},
res
=>
{
this
.
AccountIdList
=
res
.
data
.
data
;
})
},
handleClick
(
val
){
let
dataId
=
val
.
$attrs
.
dataId
;
this
.
type
=
dataId
;
this
.
GetFinance
();
this
.
getcostList
();
this
.
getTempLate
();
},
// 账户类型
getAccount
(){
this
.
apipost
(
"/api/finance/GetAccountTypeList"
,{},
res
=>
{
this
.
AccountList
=
res
.
data
.
data
;
})
},
getOrderStatus
(){
this
.
apipost
(
"/api/finance/GetFinanceConfigurationEnumList"
,{},
res
=>
{
this
.
typeList
=
res
.
data
.
data
;
this
.
type
=
this
.
typeList
[
0
].
Id
;
this
.
GetFinance
();
this
.
getcostList
();
this
.
getTempLate
();
})
},
GetFinance
(){
this
.
loading
=
true
;
this
.
apipost
(
"/api/finance/GetFinanceConfigurationInfo"
,{
Type
:
this
.
type
},
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
data
.
Status
==
2
){
this
.
addMsg
=
res
.
data
.
data
.
FModel
;
this
.
AccountType
=
this
.
addMsg
.
TypeId
;
this
.
SelectIsPublic
(
this
.
AccountType
)
}
else
{
this
.
AccountType
=
''
;
this
.
addMsg
=
{
"Id"
:
0
,
"IsPublic"
:
''
,
"AccountType"
:
''
,
"AccountId"
:
''
,
"RemitterName"
:
""
,
"CurrencyId"
:
''
,
"IncomeCostTypeId"
:
''
,
"FreightCostTypeId"
:
''
,
"RefundCostTypeId"
:
''
,
"CBCostTypeId"
:
''
,
"RemitCostTypeId"
:
''
,
"WorkFlowId"
:
''
,
"Type"
:
1
,
"StartTime"
:
""
,
"IntervalDay"
:
''
}
}
})
},
},
};
</
script
>
<
style
>
</
style
>
src/components/orderMan/salesOrderDetails.vue
View file @
fb28b02a
...
@@ -541,24 +541,27 @@
...
@@ -541,24 +541,27 @@
this
.
apipost
(
"/api/order/GetOrderAfterSaleInfo"
,
{
this
.
apipost
(
"/api/order/GetOrderAfterSaleInfo"
,
{
ReOrderId
:
this
.
ReOrderId
ReOrderId
:
this
.
ReOrderId
},
res
=>
{
},
res
=>
{
this
.
dataInfo
=
res
.
data
.
data
;
if
(
res
.
data
.
resultCode
==
1
){
let
data
=
res
.
data
.
data
;
this
.
dataInfo
=
res
.
data
.
data
;
// 未付款
let
data
=
res
.
data
.
data
;
if
(
data
.
CreateDate
!=
''
&&
data
.
AuditTime
==
''
)
{
// 未付款
this
.
activeStep
=
1
;
if
(
data
.
CreateDate
!=
''
&&
data
.
AuditTime
==
''
)
{
}
this
.
activeStep
=
1
;
if
(
data
.
CreateDate
!=
''
&&
data
.
AuditTime
!=
''
&&
data
.
FinishTime
==
''
)
{
}
this
.
activeStep
=
2
;
if
(
data
.
CreateDate
!=
''
&&
data
.
AuditTime
!=
''
&&
data
.
FinishTime
==
''
)
{
}
this
.
activeStep
=
2
;
if
(
data
.
FinishTime
!=
''
)
{
}
this
.
activeStep
=
3
;
if
(
data
.
FinishTime
!=
''
)
{
this
.
activeStep
=
3
;
}
if
(
data
.
OrderInfo
)
{
this
.
OrderInfo
=
data
.
OrderInfo
;
}
this
.
DetailList
=
[];
this
.
DetailList
.
push
(
data
.
OrderInfo
)
}
}
if
(
data
.
OrderInfo
)
{
this
.
OrderInfo
=
data
.
OrderInfo
;
}
this
.
DetailList
=
[];
this
.
DetailList
.
push
(
data
.
OrderInfo
)
})
})
},
},
// 快递公司
// 快递公司
...
...
src/router/index.js
View file @
fb28b02a
...
@@ -332,6 +332,18 @@ export default new Router({
...
@@ -332,6 +332,18 @@ export default new Router({
name
:
'BulkShipment'
,
name
:
'BulkShipment'
,
component
:
resolve
=>
require
([
'@/components/orderMan/BulkShipment'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/orderMan/BulkShipment'
],
resolve
),
},
},
// 订单管理 批量发货
{
path
:
'/BulkShipment'
,
name
:
'BulkShipment'
,
component
:
resolve
=>
require
([
'@/components/orderMan/BulkShipment'
],
resolve
),
},
// 订单管理 财务配置
{
path
:
'/financialAllocation'
,
name
:
'financialAllocation'
,
component
:
resolve
=>
require
([
'@/components/orderMan/financialAllocation'
],
resolve
),
},
//设置 基础设置
//设置 基础设置
{
{
...
...
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