Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
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
陈智峰
jinfa-platform
Commits
7f845688
Commit
7f845688
authored
Nov 13, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对接售后维修中...
parent
a5d255d2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
26 deletions
+48
-26
index.less
...lication/repairPrSubmit/components/GoodsDrawer/index.less
+11
-4
index.tsx
...plication/repairPrSubmit/components/GoodsDrawer/index.tsx
+0
-0
index.ts
...ion/repairPrSubmit/components/GoodsDrawer/schema/index.ts
+32
-22
index.tsx
...pplication/repairPrSubmit/components/RepairForm/index.tsx
+5
-0
No files found.
src/pages/afterService/repairApplication/repairPrSubmit/components/GoodsDrawer/index.less
View file @
7f845688
.goods {
.order {
display: flex;
flex-direction: column;
height: 100%;
&-head {
&-head {
flex-shrink: 0;
}
}
&-body {
&-body {
flex: 1;
}
}
&-foot {
&-foot {
flex-shrink: 0;
margin-top: 32px;
text-align: right;
}
}
}
}
\ No newline at end of file
src/pages/afterService/repairApplication/repairPrSubmit/components/GoodsDrawer/index.tsx
View file @
7f845688
This diff is collapsed.
Click to expand it.
src/pages/afterService/repairApplication/repairPrSubmit/components/GoodsDrawer/schema/index.ts
View file @
7f845688
...
@@ -7,7 +7,17 @@
...
@@ -7,7 +7,17 @@
*/
*/
import
{
ISchema
}
from
'@formily/antd'
;
import
{
ISchema
}
from
'@formily/antd'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
import
{
UPLOAD_TYPE
}
from
'@/constants'
;
import
{
ORDER_TYPE2_INQUIRY
,
ORDER_TYPE2_DEMAND
,
ORDER_TYPE2_SPOT
,
ORDER_TYPE2_CENTRALIZED
,
ORDER_TYPE2_POINTS
,
ORDER_TYPE2_CHANNEL_DIRECT
,
ORDER_TYPE2_CHANNEL_SPOT
,
ORDER_TYPE2_CHANNEL_POINTS
,
ORDER_TYPE2
,
}
from
'@/constants'
;
export
const
listSearchSchema
:
ISchema
=
{
export
const
listSearchSchema
:
ISchema
=
{
type
:
'object'
,
type
:
'object'
,
...
@@ -16,13 +26,13 @@ export const listSearchSchema: ISchema = {
...
@@ -16,13 +26,13 @@ export const listSearchSchema: ISchema = {
type
:
'object'
,
type
:
'object'
,
'x-component'
:
'mega-layout'
,
'x-component'
:
'mega-layout'
,
properties
:
{
properties
:
{
apply
No
:
{
order
No
:
{
type
:
'string'
,
type
:
'string'
,
'x-component'
:
'Search'
,
'x-component'
:
'Search'
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'搜索'
,
placeholder
:
'搜索'
,
align
:
'flex-left'
,
align
:
'flex-left'
,
tip
:
'输入
申请
单号 进行搜索'
,
tip
:
'输入
订
单号 进行搜索'
,
},
},
},
},
[
FORM_FILTER_PATH
]:
{
[
FORM_FILTER_PATH
]:
{
...
@@ -35,47 +45,47 @@ export const listSearchSchema: ISchema = {
...
@@ -35,47 +45,47 @@ export const listSearchSchema: ISchema = {
columns
:
6
,
columns
:
6
,
},
},
properties
:
{
properties
:
{
abstract
:
{
orderThe
:
{
type
:
'string'
,
type
:
'string'
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'
申请
单摘要'
,
placeholder
:
'
订
单摘要'
,
allowClear
:
true
,
allowClear
:
true
,
},
},
},
},
'[startTime, endTime]'
:
{
supplyMembersName
:
{
type
:
'string'
,
type
:
'string'
,
default
:
''
,
'x-component'
:
'dateSelect'
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'
单据时间(全部)
'
,
placeholder
:
'
供应会员
'
,
allowClear
:
true
,
allowClear
:
true
,
},
},
},
},
supplier
:
{
'[startCreateTime, endCreateTime]'
:
{
type
:
'string'
,
type
:
'string'
,
default
:
''
,
'x-component'
:
'dateSelect'
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'
供应会员
(全部)'
,
placeholder
:
'
下单时间
(全部)'
,
allowClear
:
true
,
allowClear
:
true
,
},
},
},
},
outerStatus
:
{
type
:
{
type
:
'string'
,
type
:
'string'
,
default
:
undefined
,
default
:
undefined
,
enum
:
[],
enum
:
[
{
label
:
ORDER_TYPE2
[
ORDER_TYPE2_INQUIRY
],
value
:
ORDER_TYPE2_INQUIRY
},
{
label
:
ORDER_TYPE2
[
ORDER_TYPE2_DEMAND
],
value
:
ORDER_TYPE2_DEMAND
},
{
label
:
ORDER_TYPE2
[
ORDER_TYPE2_SPOT
],
value
:
ORDER_TYPE2_SPOT
},
{
label
:
ORDER_TYPE2
[
ORDER_TYPE2_CENTRALIZED
],
value
:
ORDER_TYPE2_CENTRALIZED
},
{
label
:
ORDER_TYPE2
[
ORDER_TYPE2_POINTS
],
value
:
ORDER_TYPE2_POINTS
},
{
label
:
ORDER_TYPE2
[
ORDER_TYPE2_CHANNEL_DIRECT
],
value
:
ORDER_TYPE2_CHANNEL_DIRECT
},
{
label
:
ORDER_TYPE2
[
ORDER_TYPE2_CHANNEL_SPOT
],
value
:
ORDER_TYPE2_CHANNEL_SPOT
},
{
label
:
ORDER_TYPE2
[
ORDER_TYPE2_CHANNEL_POINTS
],
value
:
ORDER_TYPE2_CHANNEL_POINTS
},
],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'外部状态(全部)'
,
placeholder
:
'外部状态(全部)'
,
allowClear
:
true
,
allowClear
:
true
,
},
},
},
},
innerStatus
:
{
type
:
'string'
,
default
:
undefined
,
enum
:
[],
'x-component-props'
:
{
placeholder
:
'内部状态(全部)'
,
allowClear
:
true
,
},
},
submit
:
{
submit
:
{
'x-component'
:
'Submit'
,
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
'x-mega-props'
:
{
...
...
src/pages/afterService/repairApplication/repairPrSubmit/components/RepairForm/index.tsx
View file @
7f845688
...
@@ -95,6 +95,10 @@ const RepairForm: React.FC<BillsFormProps> = ({
...
@@ -95,6 +95,10 @@ const RepairForm: React.FC<BillsFormProps> = ({
}
}
};
};
const
handleGoodsConfirm
=
values
=>
{
console
.
log
(
'values'
,
values
);
};
return
(
return
(
<
Spin
spinning=
{
infoLoading
}
>
<
Spin
spinning=
{
infoLoading
}
>
<
PageHeaderWrapper
<
PageHeaderWrapper
...
@@ -156,6 +160,7 @@ const RepairForm: React.FC<BillsFormProps> = ({
...
@@ -156,6 +160,7 @@ const RepairForm: React.FC<BillsFormProps> = ({
<
GoodsDrawer
<
GoodsDrawer
visible=
{
visibleDrawer
}
visible=
{
visibleDrawer
}
onClose=
{
()
=>
setVisibleDrawer
(
false
)
}
onClose=
{
()
=>
setVisibleDrawer
(
false
)
}
onConfirm=
{
handleGoodsConfirm
}
/>
/>
<
Prompt
when=
{
unsaved
}
message=
"您还有未保存的内容,是否确定要离开?"
/>
<
Prompt
when=
{
unsaved
}
message=
"您还有未保存的内容,是否确定要离开?"
/>
...
...
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