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
de5747d5
Commit
de5747d5
authored
Apr 09, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
e68eee19
c3fd2de7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1191 additions
and
940 deletions
+1191
-940
dataGrid.vue
components/page/dataGrid.vue
+1
-1
api.js
pages/aps/aps/api.js
+14
-5
edit.vue
pages/aps/aps/components/edit.vue
+71
-61
orderManager.vue
pages/order/orderManager.vue
+1
-0
processMain.vue
pages/processManage/Process/processMain.vue
+3
-3
index.vue
pages/processManage/setProcess/index.vue
+44
-56
orderscheduling.vue
pages/produce/orderscheduling.vue
+231
-136
scheduling.vue
pages/produce/scheduling.vue
+7
-6
taskList.vue
pages/produce/taskList.vue
+139
-102
index.vue
pages/qc/dataTrace/index.vue
+343
-293
index.vue
pages/qc/taskList/index.vue
+337
-277
No files found.
components/page/dataGrid.vue
View file @
de5747d5
...
@@ -162,7 +162,7 @@ export default {
...
@@ -162,7 +162,7 @@ export default {
},
},
size
:
{
size
:
{
type
:
String
,
type
:
String
,
default
:
"default
"
default
:
"default"
},
},
height
:
{
height
:
{
type
:
Number
,
type
:
Number
,
...
...
pages/aps/aps/api.js
View file @
de5747d5
...
@@ -2,20 +2,20 @@ import Api from '@/plugins/request'
...
@@ -2,20 +2,20 @@ import Api from '@/plugins/request'
export
default
{
export
default
{
index
:
`
${
resourceUrl
}
mesparttaskplansimulate/paged`
,
index
:
`
${
resourceUrl
}
mesparttaskplansimulate/paged`
,
paged
(
params
)
{
paged
(
params
)
{
return
Api
.
post
(
`
${
resourceUrl
}
mesparttaskplansimulate/paged`
,
params
);
return
Api
.
post
(
`
${
resourceUrl
}
/
mesparttaskplansimulate/paged`
,
params
);
},
},
get
(
params
)
{
get
(
params
)
{
return
Api
.
get
(
`
${
resourceUrl
}
mesparttaskplansimulate/get`
,
params
);
return
Api
.
get
(
`
${
resourceUrl
}
/
mesparttaskplansimulate/get`
,
params
);
},
},
create
(
params
)
{
create
(
params
)
{
return
Api
.
post
(
`
${
resourceUrl
}
mesparttaskplansimulate/create`
,
params
);
return
Api
.
post
(
`
${
resourceUrl
}
/
mesparttaskplansimulate/create`
,
params
);
},
},
update
(
params
)
{
update
(
params
)
{
return
Api
.
post
(
`
${
resourceUrl
}
mesparttaskplansimulate/update`
,
params
);
return
Api
.
post
(
`
${
resourceUrl
}
/
mesparttaskplansimulate/update`
,
params
);
},
},
//删除:
//删除:
delete
(
params
)
{
delete
(
params
)
{
return
Api
.
delete
(
`
${
resourceUrl
}
mesparttaskplansimulate/delete`
,
{
return
Api
.
delete
(
`
${
resourceUrl
}
/
mesparttaskplansimulate/delete`
,
{
params
:
params
params
:
params
});
});
},
},
...
@@ -76,4 +76,13 @@ export default {
...
@@ -76,4 +76,13 @@ export default {
userdepartmentsofworkshop
(
params
)
{
userdepartmentsofworkshop
(
params
)
{
return
Api
.
get
(
`
${
systemUrl
}
/user/userdepartmentsofworkshop`
,
params
);
return
Api
.
get
(
`
${
systemUrl
}
/user/userdepartmentsofworkshop`
,
params
);
},
},
//工时修改
updatesetuptimeandfirstequip
(
params
)
{
return
Api
.
post
(
`
${
apsUrl
}
/mes_op_task_plan_simulate/updatesetuptimeandfirstequip`
,
params
);
},
//工时同步到原始工艺
apsupdate
(
params
)
{
return
Api
.
post
(
`
${
designUrl
}
/routingdetail/apsupdate `
,
params
);
},
}
}
pages/aps/aps/components/edit.vue
View file @
de5747d5
...
@@ -2,46 +2,27 @@
...
@@ -2,46 +2,27 @@
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"100"
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"100"
>
<Row>
<Row>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('tASKSEQ')"
prop=
"tASKSEQ"
>
<FormItem
:label=
"l('tASKSEQ')"
prop=
"tASKSEQ"
>
{{
this
.
entity
.
task_seq
}}
</FormItem>
<Input
v-model=
"entity.task_seq"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('tASKNAME')"
prop=
"tASKNAME"
>
<Input
v-model=
"entity.task_name"
></Input>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('sHOPID')"
prop=
"sHOPID"
>
<FormItem
:label=
"l('tASKNAME')"
prop=
"tASKNAME"
>
{{
this
.
entity
.
task_name
}}
</FormItem>
<!-- v-model="orderSearchForm.orderCat" -->
<Select
v-model=
"entity.sHOPID"
>
<Option
value=
""
class=
"option-text"
>
请选择
</Option>
<Option
v-for=
"item in orderCatList"
:value=
"item"
:key=
"item"
>
{{
item
}}
</Option>
</Select>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('eQUIPID')"
prop=
"eQUIPID"
>
<FormItem
label=
"生产设备"
>
<Select
v-model=
"entity.eQUIPID"
>
<EquipSelect
v-model=
"entity.eQUIPID"
></EquipSelect>
<Option
value=
""
class=
"option-text"
>
请选择
</Option>
<Option
v-for=
"item in orderCatList"
:value=
"item"
:key=
"item"
>
{{
item
}}
</Option>
</Select>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
label=
"关重资源名称"
prop=
"rUNTIME"
>
<Select
v-model=
"entity.run_time"
>
<Option
value=
""
class=
"option-text"
>
请选择
</Option>
<Option
v-for=
"item in orderCatList"
:value=
"item"
:key=
"item"
>
{{
item
}}
</Option>
</Select>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
v-model=
"entity.rUNTIME"
>
<Col
:span=
"12"
v-model=
"entity.rUNTIME"
>
<FormItem
:label=
"l('rUNTIME')"
prop=
"rUNTIME"
>
<FormItem
:label=
"l('rUNTIME')"
prop=
"rUNTIME"
>
<!-- v-model="value1" -->
<InputNumber
v-model=
"entity.run_time"
:max=
"100"
:min=
"1"
></InputNumber>
<InputNumber
v-model=
"entity.run_time"
:max=
"100"
:min=
"1"
></InputNumber>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
>
<FormItem
label=
" "
>
<Checkbox
v-model=
"single"
>
是否同步到原始工艺
</Checkbox>
</FormItem>
</Col>
</Row>
</Row>
<FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button>
...
@@ -50,70 +31,99 @@
...
@@ -50,70 +31,99 @@
</Form>
</Form>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
'../api'
import
Api
from
"../api"
;
export
default
{
export
default
{
name
:
'Edit'
,
name
:
"Edit"
,
data
()
{
data
()
{
return
{
return
{
disabled
:
false
,
disabled
:
false
,
entity
:
{},
entity
:
{},
orderCatList
:[
orderCatList
:
[],
],
rules
:
{
rules
:
{
name
:
[{
required
:
true
,
message
:
'必填'
,
trigger
:
'blur'
}]
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}]
}
},
}
single
:
false
};
},
},
props
:
{
props
:
{
row
:
{
row
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{
default
:
()
=>
{
return
null
return
null
;
}
}
}
}
},
},
methods
:
{
methods
:
{
load
(
v
)
{
load
(
v
)
{
this
.
entity
=
v
this
.
entity
=
v
;
},
},
handleSubmit
()
{
handleSubmit
()
{
this
.
$refs
.
form
.
validate
(
(
v
)
=>
{
this
.
$refs
.
form
.
validate
(
v
=>
{
if
(
v
)
{
if
(
v
)
{
this
.
disabled
=
true
this
.
disabled
=
true
;
Api
.
update
(
this
.
entity
)
let
parmsUp
=
{
.
then
((
r
)
=>
{
run_time
:
this
.
entity
.
run_time
,
this
.
disabled
=
false
first_equip
:
this
.
entity
.
eQUIPID
,
id
:
this
.
entity
.
id
};
Api
.
updatesetuptimeandfirstequip
(
parmsUp
)
.
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
!
this
.
single
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-option-ok"
);
}
else
{
let
parms
=
{
id
:
this
.
entity
.
routing_detail_id
,
//工序ID
name
:
this
.
entity
.
task_name
,
//工序名
task_seq
:
this
.
entity
.
task_seq
,
//工序号
resource_id
:
this
.
entity
.
eQUIPID
,
//设备id
runtime
:
this
.
entity
.
run_time
,
//单件工时
department_id
:
0
//班组ID
};
Api
.
apsupdate
(
parms
)
.
then
(
r
=>
{
this
.
disabled
=
false
;
if
(
r
.
success
)
{
if
(
r
.
success
)
{
this
.
$Message
.
success
(
'保存成功'
)
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
'on-option-ok'
)
this
.
$emit
(
"on-option-ok"
);
}
else
{
}
else
{
this
.
$Message
.
error
(
'保存失败'
)
this
.
$Message
.
error
(
"保存失败"
);
}
}
})
})
.
catch
((
err
)
=>
{
.
catch
(
err
=>
{
this
.
disabled
=
false
this
.
disabled
=
false
;
this
.
$Message
.
error
(
'保存失败'
)
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
)
console
.
warn
(
err
);
})
});
}
}
else
{
this
.
$Message
.
error
(
"保存失败"
);
}
}
})
})
.
catch
(
err
=>
{
this
.
disabled
=
false
;
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
);
});
}
});
},
},
handleClose
()
{
handleClose
()
{
this
.
$emit
(
'on-close'
)
this
.
$emit
(
"on-close"
);
},
},
l
(
key
)
{
l
(
key
)
{
key
=
'mes_op_task_execute'
+
'.'
+
key
key
=
"mes_op_task_execute"
+
"."
+
key
;
return
this
.
$t
(
key
)
return
this
.
$t
(
key
)
;
}
}
},
},
watch
:
{
watch
:
{
row
(
v
)
{
row
(
v
)
{
if
(
v
!=
{})
{
if
(
v
!=
{})
{
//alert(JSON.stringify(v))
//alert(JSON.stringify(v))
this
.
entity
=
v
this
.
entity
=
v
;
}
}
}
}
}
}
}
}
;
</
script
>
</
script
>
pages/order/orderManager.vue
View file @
de5747d5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
</div>
</div>
</div>
</div>
</Sider>
</Sider>
<Content
class=
"content"
>
<Content
class=
"content"
>
<CustomTable
:tcolumn=
"ocolumn"
:orderSearchForm=
"orderSearchForm"
ref=
"CustomTable"
>
<CustomTable
:tcolumn=
"ocolumn"
:orderSearchForm=
"orderSearchForm"
ref=
"CustomTable"
>
<!-- slot内容 -->
<!-- slot内容 -->
...
...
pages/processManage/Process/processMain.vue
View file @
de5747d5
...
@@ -183,9 +183,9 @@ export default {
...
@@ -183,9 +183,9 @@ export default {
RoutingList
:
{},
RoutingList
:
{},
components
:
{},
components
:
{},
ruleValidate
:
{
ruleValidate
:
{
code
:
[
//
code: [
{
required
:
true
,
message
:
'工艺文件编号不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '工艺文件编号不能为空', trigger: 'blur' }
],
//
],
// number:[{required: true,type:'number'}],
// number:[{required: true,type:'number'}],
name
:
[
name
:
[
{
required
:
true
,
message
:
'工艺文件名称不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'工艺文件名称不能为空'
,
trigger
:
'blur'
}
...
...
pages/processManage/setProcess/index.vue
View file @
de5747d5
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
</FormItem>
</FormItem>
</Col>
</Col>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"
订单
状态"
style=
"width:100%"
>
<FormItem
label=
"状态"
style=
"width:100%"
>
<dictionary
<dictionary
code=
"plan.order.status"
code=
"plan.order.status"
v-model=
"orderSearchForm.status"
v-model=
"orderSearchForm.status"
...
@@ -74,6 +74,28 @@
...
@@ -74,6 +74,28 @@
</Col>
</Col>
</Row>
</Row>
<Row>
<Row>
<Col
span=
"12"
>
<FormItem
label=
"项目号"
style=
"width:100%"
>
<Input
v-model=
"orderSearchForm.projectNumber"
placeholder
style=
"width:240px"
/>
</FormItem>
</Col>
<Col
span=
"12"
>
<FormItem
label=
"批次号"
style=
"width:100%"
>
<Input
v-model=
"orderSearchForm.batchNumber"
placeholder
style=
"width:240px"
/>
</FormItem>
</Col>
</Row>
<Row>
<Col
span=
"12"
>
<FormItem
label=
"紧急程度"
style=
"width:100%"
>
<dictionary
code=
"plan.order.urgencyLevel"
v-model=
"orderSearchForm.urgencyLevel"
style=
"width:240px"
></dictionary>
</FormItem>
</Col>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"任务类型"
style=
"width:100%"
>
<FormItem
label=
"任务类型"
style=
"width:100%"
>
<dictionary
<dictionary
...
@@ -83,6 +105,8 @@
...
@@ -83,6 +105,8 @@
></dictionary>
></dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
<Row>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"阶段"
style=
"width:100%"
>
<FormItem
label=
"阶段"
style=
"width:100%"
>
<dictionary
<dictionary
...
@@ -92,8 +116,6 @@
...
@@ -92,8 +116,6 @@
></dictionary>
></dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
<Row>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"材料"
style=
"width:100%"
>
<FormItem
label=
"材料"
style=
"width:100%"
>
<dictionary
<dictionary
...
@@ -103,13 +125,13 @@
...
@@ -103,13 +125,13 @@
></dictionary>
></dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
<Row>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"数量"
style=
"width:100%"
>
<FormItem
label=
"数量"
style=
"width:100%"
>
<InputNumber
:min=
"0"
v-model=
"orderSearchForm.quantity"
style=
"width:240px"
></InputNumber>
<InputNumber
:min=
"0"
v-model=
"orderSearchForm.quantity"
style=
"width:240px"
></InputNumber>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
<Row>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"甲方客户"
style=
"width:100%"
>
<FormItem
label=
"甲方客户"
style=
"width:100%"
>
<dictionary
<dictionary
...
@@ -119,15 +141,6 @@
...
@@ -119,15 +141,6 @@
></dictionary>
></dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
span=
"12"
>
<FormItem
label=
"3D打印承制单位"
style=
"width:100%"
>
<dictionary
code=
"plan.order.printSupply"
v-model=
"orderSearchForm.printSupply"
style=
"width:240px"
></dictionary>
</FormItem>
</Col>
</Row>
</Row>
<Row>
<Row>
<Col
span=
"12"
>
<Col
span=
"12"
>
...
@@ -185,18 +198,6 @@
...
@@ -185,18 +198,6 @@
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
<Row>
<Col
span=
"12"
>
<FormItem
label=
"工艺状态"
style=
"width:100%"
>
<Select
v-model=
"orderSearchForm.RoutingSetStatus"
style=
"width:200px"
>
<Option
value
>
全部
</Option>
<Option
value=
"1"
>
已设置
</Option>
<Option
value=
"0"
>
未设置
</Option>
</Select>
</FormItem>
</Col>
<Col
span=
"12"
></Col>
</Row>
</Form>
</Form>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<Button
@
click=
"close"
style=
"margin-left:20px;"
>
取消
</Button>
<Button
@
click=
"close"
style=
"margin-left:20px;"
>
取消
</Button>
...
@@ -413,12 +414,12 @@ export default {
...
@@ -413,12 +414,12 @@ export default {
},
//确定保存后返回数据
},
//确定保存后返回数据
orderSearchForm
:
{
orderSearchForm
:
{
productId
:
null
,
//产品id
productId
:
""
,
//产品id
productName
:
""
,
//产品名称
productName
:
""
,
//产品名称
taskType
:
""
,
//任务类型
taskType
:
""
,
//任务类型
stage
:
""
,
//阶段
stage
:
""
,
//阶段
materialId
:
""
,
//材料
materialId
:
""
,
//材料
quantity
:
0
,
//数量
quantity
:
null
,
//数量
guestName
:
""
,
//甲方客户
guestName
:
""
,
//甲方客户
printSupply
:
""
,
//3D打印承制单位
printSupply
:
""
,
//3D打印承制单位
functionaryOffice
:
""
,
//厂内责任机关
functionaryOffice
:
""
,
//厂内责任机关
...
@@ -437,9 +438,11 @@ export default {
...
@@ -437,9 +438,11 @@ export default {
demandStartDate
:
""
,
//开始时间
demandStartDate
:
""
,
//开始时间
demandFinishDate
:
""
,
//完成时间
demandFinishDate
:
""
,
//完成时间
remark
:
""
,
//备注
remark
:
""
,
//备注
MaxResultCount
:
10
,
projectNumber
:
""
,
//项目号
SkipCount
:
0
,
batchNumber
:
""
,
//批次号
RoutingSetStatus
:
""
urgencyLevel
:
null
,
//紧急程度
MaxResultCount
:
10
,
SkipCount
:
0
,
},
},
formValidate
:
{
formValidate
:
{
id
:
""
,
id
:
""
,
...
@@ -516,6 +519,8 @@ export default {
...
@@ -516,6 +519,8 @@ export default {
fixed
:
"left"
fixed
:
"left"
},
},
{
title
:
"图号"
,
key
:
"drawnNumber"
,
width
:
120
},
{
title
:
"图号"
,
key
:
"drawnNumber"
,
width
:
120
},
{
title
:
"项目号"
,
key
:
"projectNumber"
,
width
:
120
},
{
title
:
"批次号"
,
key
:
"batchNumber"
,
width
:
120
},
{
title
:
"数量"
,
key
:
"quantity"
,
width
:
80
,
align
:
"center"
},
{
title
:
"数量"
,
key
:
"quantity"
,
width
:
80
,
align
:
"center"
},
...
@@ -761,7 +766,7 @@ export default {
...
@@ -761,7 +766,7 @@ export default {
this
.
orderSearchForm
.
SkipCount
=
this
.
orderSearchForm
.
SkipCount
=
(
num
-
1
)
*
this
.
orderSearchForm
.
MaxResultCount
;
(
num
-
1
)
*
this
.
orderSearchForm
.
MaxResultCount
;
console
.
log
(
this
.
orderSearchForm
.
SkipCount
);
this
.
loaddata
(
this
.
orderSearchForm
);
this
.
loaddata
(
this
.
orderSearchForm
);
},
},
pageSizeChange
(
limit
)
{
pageSizeChange
(
limit
)
{
...
@@ -776,30 +781,13 @@ export default {
...
@@ -776,30 +781,13 @@ export default {
// url =
// url =
// `${PlanUrl}/mesorder/getpagedmesordersforpdefm?ProcessUserType=` + params
// `${PlanUrl}/mesorder/getpagedmesordersforpdefm?ProcessUserType=` + params
// }else{
// }else{
this
.
orderSearchForm
=
{
productId
:
params
.
productId
,
this
.
orderSearchForm
.
simpleSearch
=
typeof
params
==
"string"
?
params
:
params
.
simpleSearch
,
//快速搜索
taskType
:
params
.
taskType
,
//任务类型
stage
:
params
.
stage
,
//阶段
this
.
orderSearchForm
.
ProcessUserType
=
this
.
tabstatus
,
materialId
:
params
.
materialId
,
//材料
this
.
orderSearchForm
.
ProductingPreparation
=
this
.
ProductingPreparationPeople
,
quantity
:
params
.
quantity
,
//数量
this
.
orderSearchForm
.
RoutingSetStatus
=
this
.
orderSearchForm
.
RoutingSetStatus
guestName
:
params
.
guestName
,
//甲方客户
printSupply
:
params
.
printSupply
,
//3D打印承制单位
functionaryOffice
:
params
.
functionaryOffice
,
//厂内责任机关
mainDepartmentId
:
params
.
mainDepartmentId
,
//厂内责任主体部门ID
taskRequire
:
params
.
taskRequire
,
//任务接点要求
putintDocmentCode
:
params
.
putintDocmentCode
,
//甲方投产输入文件编号
technologyDocmentCode
:
params
.
technologyDocmentCode
,
//甲方技术输入文件编号
outerDrawnNumber
:
params
.
outerDrawnNumber
,
//外部图号/模型号
modelVersion
:
params
.
modelVersion
,
//模型版本
taskCode
:
params
.
taskCode
,
//甲方任务号
status
:
params
.
status
,
//订单状态
simpleSearch
:
typeof
params
==
"string"
?
params
:
params
.
simpleSearch
,
//快速搜索
SkipCount
:
this
.
orderSearchForm
.
SkipCount
,
MaxResultCount
:
this
.
orderSearchForm
.
MaxResultCount
,
ProcessUserType
:
this
.
tabstatus
,
ProductingPreparation
:
this
.
ProductingPreparationPeople
,
RoutingSetStatus
:
this
.
orderSearchForm
.
RoutingSetStatus
};
url
=
url
=
`
${
PlanUrl
}
/mesorder/getpagedmesordersforpdefm?`
+
`
${
PlanUrl
}
/mesorder/getpagedmesordersforpdefm?`
+
...
...
pages/produce/orderscheduling.vue
View file @
de5747d5
This diff is collapsed.
Click to expand it.
pages/produce/scheduling.vue
View file @
de5747d5
<
template
>
<
template
>
<Tabs
:animated=
"false"
>
<orderscheduling
:style=
"
{ height: tabHeight }" ref="orderscheduling">
</orderscheduling>
<!--
<Tabs
:animated=
"false"
>
<TabPane
label=
"排产派工"
name=
"1"
>
<TabPane
label=
"排产派工"
name=
"1"
>
<orderscheduling
:style=
"
{ height: tabHeight }" ref="orderscheduling">
</orderscheduling>
<orderscheduling
:style=
"
{ height: tabHeight }" ref="orderscheduling">
</orderscheduling>
</TabPane>
</TabPane>
<TabPane
label=
"料单确认"
name=
"2"
>
<TabPane
label=
"料单确认"
name=
"2"
>
<ordermaterial
:style=
"
{ height: tabHeight }" ref="ordermaterial">
</ordermaterial>
<ordermaterial
:style=
"
{ height: tabHeight }" ref="ordermaterial">
</ordermaterial>
</TabPane>
</TabPane>
</Tabs>
</Tabs>
-->
</
template
>
</
template
>
<
script
>
<
script
>
import
ordermaterial
from
'./ordermaterial.vue'
//
import ordermaterial from './ordermaterial.vue'
import
orderscheduling
from
'./orderscheduling.vue'
import
orderscheduling
from
'./orderscheduling.vue'
export
default
{
export
default
{
components
:
{
ordermaterial
,
orderscheduling
},
components
:
{
orderscheduling
},
data
()
{
data
()
{
return
{
return
{
tabHeight
:
""
tabHeight
:
""
...
...
pages/produce/taskList.vue
View file @
de5747d5
...
@@ -62,65 +62,106 @@
...
@@ -62,65 +62,106 @@
<Row>
<Row>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"工艺编号"
style=
"width:100%"
>
<FormItem
label=
"工艺编号"
style=
"width:100%"
>
<dictionary
code=
'plan.order.material'
v-model=
"orderSearchForm.materialId"
style=
"width:240px"
></dictionary>
<Input
v-model=
"orderSearchForm.processcode"
placeholder=
"请输入工艺编号"
style=
"width: 240px"
/>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"工艺名称"
style=
"width:100%"
>
<FormItem
label=
"工艺名称"
style=
"width:100%"
>
<dictionary
code=
'plan.order.material'
v-model=
"orderSearchForm.materialId"
style=
"width:240px"
></dictionary>
<Input
v-model=
"orderSearchForm.processname"
placeholder=
"请输入工艺名称"
style=
"width: 240px"
/>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
<Row>
<Row>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"任务类型
"
style=
"width:100%"
>
<FormItem
label=
"项目号
"
style=
"width:100%"
>
<dictionary
code=
'plan.order.taskType'
v-model=
"orderSearchForm.taskType"
style=
"width:240px"
></dictionary
>
<Input
v-model=
"orderSearchForm.projectNumber"
placeholder
style=
"width:240px"
/
>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"阶段
"
style=
"width:100%"
>
<FormItem
label=
"批次号
"
style=
"width:100%"
>
<dictionary
code=
'plan.order.stage'
v-model=
"orderSearchForm.stage"
style=
"width:240px"
></dictionary
>
<Input
v-model=
"orderSearchForm.batchNumber"
placeholder
style=
"width:240px"
/
>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
<Row>
<Row>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"材料"
style=
"width:100%"
>
<FormItem
label=
"紧急程度"
style=
"width:100%"
>
<dictionary
code=
'plan.order.material'
v-model=
"orderSearchForm.materialId"
style=
"width:240px"
></dictionary>
<dictionary
code=
"plan.order.urgencyLevel"
v-model=
"orderSearchForm.urgencyLevel"
style=
"width:240px"
></dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"数量"
style=
"width:100%"
>
<FormItem
label=
"任务类型"
style=
"width:100%"
>
<InputNumber
:min=
"0"
v-model=
"orderSearchForm.quantity"
style=
"width:240px"
></InputNumber>
<dictionary
code=
"plan.order.taskType"
v-model=
"orderSearchForm.taskType"
style=
"width:240px"
></dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
<Row>
<Row>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"甲方客户"
style=
"width:100%"
>
<FormItem
label=
"阶段"
style=
"width:100%"
>
<dictionary
code=
'plan.order.guestName'
v-model=
"orderSearchForm.guestName"
style=
"width:240px"
></dictionary>
<dictionary
code=
"plan.order.stage"
v-model=
"orderSearchForm.stage"
style=
"width:240px"
></dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"3D打印承制单位"
style=
"width:100%"
>
<FormItem
label=
"材料"
style=
"width:100%"
>
<dictionary
code=
'plan.order.printSupply'
v-model=
"orderSearchForm.printSupply"
style=
"width:240px"
></dictionary>
<dictionary
code=
"plan.order.material"
v-model=
"orderSearchForm.materialId"
style=
"width:240px"
></dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
<Row>
<Row>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"厂内责任机关"
style=
"width:100%"
>
<FormItem
label=
"数量"
style=
"width:100%"
>
<Input
<InputNumber
:min=
"0"
v-model=
"orderSearchForm.quantity"
style=
"width:240px"
></InputNumber>
v-model=
"orderSearchForm.functionaryOffice"
</FormItem>
placeholder
</Col>
<Col
span=
"12"
>
<FormItem
label=
"甲方客户"
style=
"width:100%"
>
<dictionary
code=
"plan.order.guestName"
v-model=
"orderSearchForm.guestName"
style=
"width:240px"
style=
"width:240px"
/>
></dictionary>
</FormItem>
</Col>
</Row>
<Row>
<Col
span=
"12"
>
<FormItem
label=
"厂内责任机关"
style=
"width:100%"
>
<Input
v-model=
"orderSearchForm.functionaryOffice"
placeholder
style=
"width:240px"
/>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"厂内责任主体部门"
style=
"width:100%"
>
<FormItem
label=
"厂内责任主体部门"
style=
"width:100%"
>
<dictionary
code=
'plan.order.mainDepartment'
v-model=
"orderSearchForm.mainDepartmentId"
style=
"width:240px"
></dictionary>
<dictionary
</Select>
code=
"plan.order.mainDepartment"
v-model=
"orderSearchForm.mainDepartmentId"
style=
"width:240px"
></dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
...
@@ -132,11 +173,7 @@
...
@@ -132,11 +173,7 @@
</Col>
</Col>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"甲方投产输入文件(编号)"
style=
"width:100%"
>
<FormItem
label=
"甲方投产输入文件(编号)"
style=
"width:100%"
>
<Input
<Input
v-model=
"orderSearchForm.putintDocmentCode"
placeholder
style=
"width:240px"
/>
v-model=
"orderSearchForm.putintDocmentCode"
placeholder
style=
"width:240px"
/>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
...
@@ -152,11 +189,7 @@
...
@@ -152,11 +189,7 @@
</Col>
</Col>
<Col
span=
"12"
>
<Col
span=
"12"
>
<FormItem
label=
"外部图号/模型号"
style=
"width:100%"
>
<FormItem
label=
"外部图号/模型号"
style=
"width:100%"
>
<Input
<Input
v-model=
"orderSearchForm.outerDrawnNumber"
placeholder
style=
"width:240px"
/>
v-model=
"orderSearchForm.outerDrawnNumber"
placeholder
style=
"width:240px"
/>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
...
@@ -230,7 +263,11 @@ export default {
...
@@ -230,7 +263,11 @@ export default {
outer_Envelope_Size
:
''
,
//包装尺寸
outer_Envelope_Size
:
''
,
//包装尺寸
demandStartDate
:
''
,
//开始时间
demandStartDate
:
''
,
//开始时间
demandFinishDate
:
''
,
//完成时间
demandFinishDate
:
''
,
//完成时间
remark
:
''
//备注
remark
:
''
,
//备注,
projectNumber
:
""
,
//项目号
batchNumber
:
""
,
//批次号
urgencyLevel
:
null
//紧急程度
},
},
mColumn
:[
mColumn
:[
{
type
:
'expand'
,
width
:
60
,
{
type
:
'expand'
,
width
:
60
,
...
...
pages/qc/dataTrace/index.vue
View file @
de5747d5
This diff is collapsed.
Click to expand it.
pages/qc/taskList/index.vue
View file @
de5747d5
This diff is collapsed.
Click to expand it.
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