Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ems3.3
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
wuhao
ems3.3
Commits
aab9e0ac
Commit
aab9e0ac
authored
Nov 22, 2023
by
左玲玲
😬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1853
parent
55902baf
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
728 additions
and
376 deletions
+728
-376
proxy.js
config/proxy.js
+2
-2
FormItems.jsx
src/components/InitForm/FormItems.jsx
+3
-3
global.less
src/global.less
+13
-1
Details.jsx
src/pages/lease/contract/Details.jsx
+94
-16
columns.js
src/pages/lease/contract/columns.js
+327
-274
index.jsx
src/pages/lease/contract/index.jsx
+206
-54
columns.js
src/pages/lease/costanalysis/columns.js
+82
-25
index.jsx
src/pages/lease/costanalysis/index.jsx
+1
-1
No files found.
config/proxy.js
View file @
aab9e0ac
...
...
@@ -23,7 +23,7 @@ export default {
dev
:
{
[
defaultSetting
.
proxypath
]:
{
// 要代理的地址
target
:
'http://192.168.40.
203
:8000'
,
//jf哥
target
:
'http://192.168.40.
110
:8000'
,
//jf哥
// target: 'http://192.168.40.248:8080', //jf哥
// target: 'http://192.168.40.64:28000', //gc哥
// target: 'http://192.168.40.203:8000', //dj哥
...
...
@@ -32,7 +32,7 @@ export default {
},
'/token'
:
{
// 要代理的地址
target
:
'http://192.168.40.
203
:8000'
,
target
:
'http://192.168.40.
110
:8000'
,
changeOrigin
:
true
,
},
'/staticfile/'
:
{
...
...
src/components/InitForm/FormItems.jsx
View file @
aab9e0ac
...
...
@@ -181,7 +181,7 @@ let FormRender = memo(({ fields = [], name, curindex, formRef, action }) => {
<
Col
{
...
item
.
colProps
}
style=
{
{
height
:
68
}
}
key=
{
index
}
>
<
div
>
<
label
htmlFor=
""
style=
{
{
marginBottom
:
14
,
display
:
'inline-block'
}
}
>
{
item
.
title
}
</
label
>
<
div
style=
{
{
margin
:
0
}
}
>
<
div
title=
{
value
[
item
?.
key
??
item
?.
dataIndex
]
??
"-"
}
style=
{
{
margin
:
0
}
}
>
{
value
[
item
?.
key
??
item
?.
dataIndex
]
??
"-"
}
</
div
>
</
div
>
...
...
@@ -189,7 +189,7 @@ let FormRender = memo(({ fields = [], name, curindex, formRef, action }) => {
)
:
(
<
Col
{
...
item
.
colProps
}
style=
{
{
height
:
40
,
display
:
'flex'
,
alignItems
:
'center'
}
}
key=
{
index
}
>
<
div
>
<
div
style=
{
{
margin
:
0
}
}
>
<
div
title=
{
value
[
item
?.
key
??
item
?.
dataIndex
]
??
"-"
}
style=
{
{
margin
:
0
}
}
>
{
value
[
item
?.
key
??
item
?.
dataIndex
]
??
"-"
}
</
div
>
</
div
>
...
...
@@ -1466,7 +1466,7 @@ function FormList(props) {
}, [props]);
return (
<Col {...col}>
<div className="formlist">
<div className="formlist"
style={{ '--bordered': item.bordered ? '1px solid #dbdbdb' : 'none' }}
>
{
item?.creatorButtonProps === false ?
!isEmpty ?
...
...
src/global.less
View file @
aab9e0ac
...
...
@@ -617,11 +617,13 @@ ol {
.formlist {
>div {
overflow-x: auto;
>div {
>div {
>div {
>div:last-child {
border:
1px solid #dbdbdb
;
border:
var(--bordered)
;
padding: 12px;
}
}
...
...
@@ -636,6 +638,16 @@ ol {
.ant-form-item {
margin-bottom: 12px !important;
}
.ant-pro-form-group {
>div {
>.ant-row {
flex-flow: row nowrap !important;
align-items: baseline !important;
}
}
}
}
.screenwh {
...
...
src/pages/lease/contract/Details.jsx
View file @
aab9e0ac
...
...
@@ -11,7 +11,7 @@ const fields = [
key
:
'contractNo'
},
{
title
:
'合同金额
(元)
'
,
title
:
'合同金额'
,
dataIndex
:
'amount'
,
key
:
'amount'
},
...
...
@@ -46,15 +46,25 @@ const fields = [
key
:
'undertakingId'
},
{
title
:
'
合同负责人
'
,
title
:
'
销售经理
'
,
dataIndex
:
'head'
,
key
:
'head'
},
{
title
:
'
登记
日期'
,
title
:
'
签订
日期'
,
dataIndex
:
'registrationDate'
,
key
:
'registrationDate'
},
{
title
:
'到货日期'
,
dataIndex
:
'arriveDate'
,
key
:
'arriveDate'
},
{
title
:
'退还日期'
,
dataIndex
:
'returnDate'
,
key
:
'returnDate'
},
{
title
:
'状态'
,
dataIndex
:
'statusName'
,
...
...
@@ -89,7 +99,7 @@ const fields = [
valueType
:
'split'
},
{
title
:
'
去程运费(元)
'
,
title
:
'
交付运费
'
,
dataIndex
:
'tripFreight'
,
key
:
'tripFreight'
},
...
...
@@ -99,21 +109,16 @@ const fields = [
key
:
'tripBearName'
},
{
title
:
'
返程运费(元)
'
,
title
:
'
退还运费
'
,
dataIndex
:
'returnFreight'
,
key
:
'returnFreight'
},
{
title
:
'返程运费承担方'
,
dataIndex
:
'returnBearName'
,
key
:
'returnBearName'
},
{
title
:
''
,
valueType
:
'split'
},
{
title
:
'退还押金
(元)
'
,
title
:
'退还押金'
,
dataIndex
:
'refund'
,
key
:
'refund'
},
...
...
@@ -127,6 +132,12 @@ const fields = [
dataIndex
:
'handleTime'
,
key
:
'handleTime'
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
key
:
'remark'
,
colProps
:
{
span
:
24
},
},
{
title
:
'相关文件'
,
valueType
:
'split'
...
...
@@ -224,35 +235,77 @@ const Details = ({ drawer }) => {
dataIndex
:
'equipmentName'
,
key
:
'equipmentName'
,
},
{
title
:
'设备型号'
,
dataIndex
:
'equipmentModelName'
,
key
:
'equipmentModelName'
,
hideInSearch
:
true
},
{
title
:
'莫格云眼'
,
dataIndex
:
'intelligentUnitNo'
,
key
:
'intelligentUnitNo'
,
},
{
title
:
'每期单价(元)'
,
title
:
'出库区域'
,
dataIndex
:
'equipmentModelName'
,
key
:
'equipmentModelName'
,
hideInSearch
:
true
},
{
title
:
'入库区域'
,
dataIndex
:
'equipmentModelName'
,
key
:
'equipmentModelName'
,
hideInSearch
:
true
},
{
title
:
'每期单价'
,
dataIndex
:
'unitPrice'
,
key
:
'unitPrice'
,
hideInSearch
:
true
},
{
title
:
'智享价
(元)
'
,
title
:
'智享价'
,
dataIndex
:
'zxPrice'
,
key
:
'zxPrice'
,
hideInSearch
:
true
},
{
title
:
'返利金额
(元)
'
,
title
:
'返利金额'
,
dataIndex
:
'rebatePrice'
,
key
:
'rebatePrice'
,
hideInSearch
:
true
},
{
title
:
'押金(元)'
,
title
:
'交付运费'
,
dataIndex
:
'deliveryPrice'
,
key
:
'deliveryPrice'
,
hideInSearch
:
true
},
{
title
:
'交付日期'
,
dataIndex
:
'deliveryDate'
,
key
:
'deliveryDate'
,
hideInSearch
:
true
},
{
title
:
'押金'
,
dataIndex
:
'deposit'
,
key
:
'deposit'
,
hideInSearch
:
true
},
{
title
:
'开始租赁时间'
,
dataIndex
:
'startLeaseDate'
,
key
:
'startLeaseDate'
,
hideInSearch
:
true
},
{
title
:
'结束租赁时间'
,
dataIndex
:
'endLeaseDate'
,
key
:
'endLeaseDate'
,
hideInSearch
:
true
},
{
title
:
'实际结束时间'
,
dataIndex
:
'realEndDate'
,
...
...
@@ -260,11 +313,35 @@ const Details = ({ drawer }) => {
hideInSearch
:
true
},
{
title
:
'违约金
(元)
'
,
title
:
'违约金'
,
dataIndex
:
'violatePrice'
,
key
:
'violatePrice'
,
hideInSearch
:
true
},
{
title
:
'退还运费'
,
dataIndex
:
'returnFreight'
,
key
:
'returnFreight'
,
hideInSearch
:
true
},
{
title
:
'退还日期'
,
dataIndex
:
'returnDate'
,
key
:
'returnDate'
,
hideInSearch
:
true
},
{
title
:
'返程运费承担方'
,
dataIndex
:
'returnBearName'
,
key
:
'returnBearName'
,
hideInSearch
:
true
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
key
:
'remark'
,
hideInSearch
:
true
},
];
const
items
=
useMemo
(()
=>
{
return
[
...
...
@@ -288,6 +365,7 @@ const Details = ({ drawer }) => {
bordered=
{
false
}
extraparams=
{
{
contractId
:
drawer
?.
item
?.
id
}
}
pagination=
{
'false'
}
x=
{
2300
}
/>,
}
]
...
...
src/pages/lease/contract/columns.js
View file @
aab9e0ac
This diff is collapsed.
Click to expand it.
src/pages/lease/contract/index.jsx
View file @
aab9e0ac
This diff is collapsed.
Click to expand it.
src/pages/lease/costanalysis/columns.js
View file @
aab9e0ac
...
...
@@ -8,7 +8,7 @@ const statusColors = {
function
getcolumns
(
setdrawer
,
activeKey
)
{
const
commona
=
[
{
title
:
'客户'
,
title
:
'客户
名称
'
,
dataIndex
:
'customerName'
,
key
:
'customerId'
,
valueType
:
'select'
,
...
...
@@ -35,37 +35,86 @@ function getcolumns(setdrawer, activeKey) {
key
:
'equipmentName'
,
},
{
title
:
'智能单元莫格云眼编号'
,
dataIndex
:
'intelligentUnitNo'
,
key
:
'intelligentUnitNo'
,
width
:
170
},
{
title
:
'每期单价(元)'
,
dataIndex
:
'unitPrice'
,
key
:
'unitPrice'
,
title
:
'设备型号'
,
dataIndex
:
'equipmentModelName'
,
key
:
'equipmentModelName'
,
hideInSearch
:
true
},
{
title
:
'智享价(元)'
,
dataIndex
:
'zxPrice'
,
key
:
'zxPrice'
,
hideInSearch
:
true
},
{
title
:
'返利金额(元)'
,
dataIndex
:
'rebatePrice'
,
key
:
'rebatePrice'
,
hideInSearch
:
true
title
:
'莫格云眼'
,
dataIndex
:
'intelligentUnitNo'
,
key
:
'intelligentUnitNo'
,
width
:
170
},
{
title
:
'押金(元)'
,
dataIndex
:
'deposit'
,
key
:
'deposit'
,
hideInSearch
:
true
title
:
'出库区域'
,
dataIndex
:
'intelligentUnitNo'
,
key
:
'intelligentUnitNo'
,
}
],
commonb
=
[
{
title
:
'每期单价'
,
dataIndex
:
'unitPrice'
,
key
:
'unitPrice'
,
hideInSearch
:
true
},
{
title
:
'智享价'
,
dataIndex
:
'zxPrice'
,
key
:
'zxPrice'
,
hideInSearch
:
true
},
{
title
:
'返利金额'
,
dataIndex
:
'rebatePrice'
,
key
:
'rebatePrice'
,
hideInSearch
:
true
},
{
title
:
'交付运费'
,
dataIndex
:
'deliveryPrice'
,
key
:
'deliveryPrice'
,
hideInSearch
:
true
},
{
title
:
'交付日期'
,
dataIndex
:
'deliveryDate'
,
key
:
'deliveryDate'
,
hideInSearch
:
true
},
{
title
:
'退还运费'
,
dataIndex
:
'returnFreight'
,
key
:
'returnFreight'
,
hideInSearch
:
true
},
{
title
:
'退还日期'
,
dataIndex
:
'returnDate'
,
key
:
'returnDate'
,
hideInSearch
:
true
},
{
title
:
'返程运费承担方'
,
dataIndex
:
'returnBearName'
,
key
:
'returnBearName'
,
hideInSearch
:
true
},
{
title
:
'押金'
,
dataIndex
:
'deposit'
,
key
:
'deposit'
,
hideInSearch
:
true
},
{
title
:
'违约金'
,
dataIndex
:
'violatePrice'
,
key
:
'violatePrice'
,
hideInSearch
:
true
}
],
commonc
=
[
{
title
:
'开票期数'
,
dataIndex
:
'openNum'
,
...
...
@@ -153,6 +202,7 @@ function getcolumns(setdrawer, activeKey) {
hideInSearch
:
true
},
...
commonb
,
...
commonc
,
{
title
:
'回款状态'
,
dataIndex
:
'collectionStatusName'
,
...
...
@@ -202,7 +252,14 @@ function getcolumns(setdrawer, activeKey) {
},
hideInSearch
:
true
},
...
commonb
,]
...
commonb
,
{
title
:
'入库区域'
,
dataIndex
:
'intelligentUnitNo'
,
key
:
'intelligentUnitNo'
,
},
...
commonc
]
}
]
...
...
src/pages/lease/costanalysis/index.jsx
View file @
aab9e0ac
...
...
@@ -135,7 +135,7 @@ const Costanalysis = () => {
title
:
'租金减免'
,
fields
:
[
{
title
:
'当前减免金额
(元)
'
,
title
:
'当前减免金额'
,
dataIndex
:
'reducePrice'
,
key
:
'reducePrice'
,
valueType
:
'digit'
,
...
...
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