Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
bcace170
Commit
bcace170
authored
Jun 15, 2020
by
kangzhenfei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product
parents
ec74b6f2
85648a20
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
24 deletions
+31
-24
zh-CN.js
i18n/locale/zh-CN.js
+1
-0
orderlist.vue
pages/produce/orderlist.vue
+11
-7
search.vue
pages/produce/search.vue
+19
-17
No files found.
i18n/locale/zh-CN.js
View file @
bcace170
...
@@ -1442,6 +1442,7 @@ export default {
...
@@ -1442,6 +1442,7 @@ export default {
order_list
:{
order_list
:{
mesCode
:
'订单编号'
,
mesCode
:
'订单编号'
,
status
:
'工单状态'
,
status
:
'工单状态'
,
statusOrder
:
'订单状态'
,
productName
:
'产品名称'
,
productName
:
'产品名称'
,
drawnNumber
:
'图号'
,
drawnNumber
:
'图号'
,
quantity
:
'生产数量'
,
quantity
:
'生产数量'
,
...
...
pages/produce/orderlist.vue
View file @
bcace170
...
@@ -11,21 +11,25 @@
...
@@ -11,21 +11,25 @@
:conditions=
"easySearch"
:conditions=
"easySearch"
:action=
"action"
:action=
"action"
:gutter=
"40"
:gutter=
"40"
:high=
"false"
>
>
<template
slot=
"easySearch"
>
<template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<FormItem
prop=
"keys"
>
<FormItem
prop=
"keys"
>
<Input
placeholder=
"请输入订单编号/产品名称/图号"
v-model=
"easySearch.keys.value"
v-width=
"260"
clearable
/>
<Input
placeholder=
"请输入订单编号/产品名称/图号"
v-model=
"easySearch.keys.value"
v-width=
"260"
clearable
/>
</FormItem>
</FormItem>
<FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
</FormItem>
</FormItem>
</Form>
</Form>
</
template
>
</
template
>
<
template
slot=
"searchForm"
>
<
template
slot=
"searchForm"
>
<Search
/>
<Search
/>
</
template
>
</
template
>
<
template
slot=
"buttons"
>
<
template
slot=
"buttons"
>
<Button
:icon=
"iconInfo"
shape=
"circle"
:title=
"titleInfo"
@
click=
"changeShwo"
></Button>
<Button
:icon=
"iconInfo"
shape=
"circle"
:title=
"titleInfo"
@
click=
"changeShwo"
></Button>
</
template
>
</
template
>
...
@@ -117,8 +121,8 @@ import Api from "./api";
...
@@ -117,8 +121,8 @@ import Api from "./api";
import
Search
from
"./search"
;
import
Search
from
"./search"
;
export
default
{
export
default
{
name
:
"starOrder"
,
name
:
"starOrder"
,
components
:
{
components
:
{
Search
,
Search
},
},
data
()
{
data
()
{
return
{
return
{
...
...
pages/produce/search.vue
View file @
bcace170
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<Input
v-model=
"condition.mesCode.value"
></Input>
<Input
v-model=
"condition.mesCode.value"
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
v-if=
"condition.productName.show"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productName')"
prop=
"productName"
>
<FormItem
:label=
"l('productName')"
prop=
"productName"
>
<Input
v-model=
"condition.productName.value"
></Input>
<Input
v-model=
"condition.productName.value"
></Input>
</FormItem>
</FormItem>
...
@@ -24,26 +24,27 @@
...
@@ -24,26 +24,27 @@
</Col>
</Col>
<Col
:span=
"12"
v-if=
"condition.quantity.show"
>
<Col
:span=
"12"
v-if=
"condition.quantity.show"
>
<FormItem
:label=
"l('quantity')"
prop=
"quantity"
>
<FormItem
:label=
"l('quantity')"
prop=
"quantity"
>
<Input
v-model=
"condition.quantity.value"
></Input>
<Input
Number
:min=
"1"
v-model=
"condition.quantity.value"
></InputNumber>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
v-if=
"condition.status.show"
>
<Col
:span=
"12"
v-if=
"condition.dispatchStatus.show"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<FormItem
:label=
"l('status')"
prop=
"dispatchStatus"
>
<Dictionary
code=
"taskList.status"
v-model=
"condition.status.value"
></Dictionary>
<Dictionary
code=
"taskList.status"
v-model=
"condition.dispatchStatus.value"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.status.show"
>
<FormItem
:label=
"l('statusOrder')"
prop=
"status"
>
<Dictionary
code=
"plan.order.status"
v-model=
"condition.status.value"
></Dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
v-if=
"condition.beginTime.show"
>
<Col
:span=
"12"
v-if=
"condition.beginTime.show"
>
<FormItem
:label=
"l('beginTime')"
prop=
"beginTime"
>
<FormItem
:label=
"l('beginTime')"
prop=
"beginTime"
>
<DatePicker
type=
"daterange"
v-model=
"condition.beginTime.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.beginTime.value"
v-width=
"284"
></DatePicker>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
v-if=
"condition.endTime.show"
>
<Col
:span=
"12"
v-if=
"condition.endTime.show"
>
<FormItem
:label=
"l('endTime')"
prop=
"endTime"
>
<FormItem
:label=
"l('endTime')"
prop=
"endTime"
>
<DatePicker
type=
"
endTime"
v-model=
"condition.endTime.value
"
></DatePicker>
<DatePicker
type=
"
daterange"
v-model=
"condition.endTime.value"
v-width=
"284
"
></DatePicker>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
...
@@ -58,17 +59,18 @@ export default {
...
@@ -58,17 +59,18 @@ export default {
condition
:
{
condition
:
{
id
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
id
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
executeId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
executeId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
drawnNumber
:
{
op
:
"
Equal
"
,
value
:
null
,
show
:
true
},
drawnNumber
:
{
op
:
"
Like
"
,
value
:
null
,
show
:
true
},
mesCode
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
mesCode
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
orderId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
orderId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
productId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
productId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
productName
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
productName
:
{
op
:
'Like'
,
value
:
null
,
show
:
true
},
quantity
:
{
op
:
"Equal"
,
value
:
null
,
show
:
fals
e
},
quantity
:
{
op
:
"Equal"
,
value
:
null
,
show
:
tru
e
},
routingHeaderId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
routingHeaderId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
routingDetailId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
routingDetailId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
status
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
dispatchStatus
:{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
//工单状态
beginTime
:
{
op
:
"Range"
,
value
:
null
,
show
:
false
},
status
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
//订单状态
endTime
:
{
op
:
"Range"
,
value
:
null
,
show
:
false
},
beginTime
:
{
op
:
"Range"
,
value
:
null
,
show
:
true
},
endTime
:
{
op
:
"Range"
,
value
:
null
,
show
:
true
},
}
}
};
};
},
},
...
...
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