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
3871b4e8
Commit
3871b4e8
authored
May 11, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
technology/details/add....
parent
9ba0bbcd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1268 additions
and
293 deletions
+1268
-293
zh-CN.js
i18n/locale/zh-CN.js
+99
-56
changelist.vue
pages/processDesign/Process/changelist.vue
+202
-214
index.vue
pages/processManage/Process/index.vue
+1
-0
details.vue
pages/technology/details.vue
+1
-0
add.vue
pages/technology/details/add.vue
+15
-8
edit.vue
pages/technology/details/edit.vue
+10
-5
index.vue
pages/technology/details/index.vue
+3
-3
add.vue
pages/technology/details/routinghcorder/add.vue
+226
-0
api.js
pages/technology/details/routinghcorder/api.js
+26
-0
detail.vue
pages/technology/details/routinghcorder/detail.vue
+75
-0
edit.vue
pages/technology/details/routinghcorder/edit.vue
+196
-0
index.vue
pages/technology/details/routinghcorder/index.vue
+233
-0
search.vue
pages/technology/details/routinghcorder/search.vue
+174
-0
index.vue
pages/technology/details/routingqccard/index.vue
+7
-7
No files found.
i18n/locale/zh-CN.js
View file @
3871b4e8
...
...
@@ -1171,12 +1171,12 @@ export default {
name
:
'工艺名称'
,
code
:
'工艺文件编号'
,
productId
:
'产品id'
,
productName
:
'产品名称'
,
drawingNo
:
'图号'
,
productName
:
'产品名称'
,
drawingNo
:
'图号'
,
version
:
'版本'
,
author
:
'编制人'
,
departmentId
:
'主制车间'
,
departmentName
:
'主制车间'
,
departmentName
:
'主制车间'
,
isMain
:
'主工艺'
,
upId
:
'父工艺'
,
upDetailId
:
'上级工序'
,
...
...
@@ -1194,56 +1194,56 @@ export default {
phase
:
'工艺阶段'
,
versionid
:
'版本ID'
,
isSendPpm
:
'发送PPM'
,
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
lastModificationTime
:
'最近修改时间'
,
lastModifierUserId
:
'最近修改人'
,
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
lastModificationTime
:
'最近修改时间'
,
lastModifierUserId
:
'最近修改人'
,
},
routing_detail
:
{
id
:
''
,
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
lastModificationTime
:
'最近修改时间'
,
lastModifierUserId
:
'最近修改人'
,
isDeleted
:
'是否删除'
,
deleterUserId
:
'删除人'
,
deletionTime
:
'删除时间'
,
classId
:
'classId'
,
routingHeaderId
:
'工艺规程id'
,
name
:
'工序名称'
,
taskSeq
:
'工序号'
,
description
:
'描述'
,
taskContent
:
'工序内容'
,
resourceId
:
'资源ID'
,
resourceType
:
'资源类型'
,
resourceCode
:
'资源类型'
,
runtime
:
'排产单件工时'
,
setupTime
:
'准备工时'
,
transportTime
:
'转运工时'
,
checkTime
:
'检验工时'
,
checkFlag
:
'检验标识'
,
efficiencyValue
:
'效率系数'
,
singleOut
:
'单件产出'
,
isOutside
:
'是否外协'
,
departmentId
:
'承制车间'
,
isImportant
:
'关键工序'
,
milestoneId
:
'里程碑'
,
phaseId
:
'工艺阶段'
,
status
:
'状态'
,
remark
:
'备注'
,
extend
:
'扩展字段'
,
outsideTime
:
'外协工期'
,
performanceHours
:
'绩效工时'
,
isImportantResources
:
'关重资源'
,
schedulingWorkingHours
:
'排产准结工时'
,
realWorkingHours
:
'实作准结工时'
,
realRuntime
:
'实作单件工时'
,
performanceWorkingHours
:
'绩效准结工时'
,
isParticipateIntime
:
'参与工时分配'
,
equipType
:
'设备类型'
,
equipTypeId
:
'设备类型ID'
,
note
:
'备注'
,
},
routing_detail
:{
id
:
''
,
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
lastModificationTime
:
'最近修改时间'
,
lastModifierUserId
:
'最近修改人'
,
isDeleted
:
'是否删除'
,
deleterUserId
:
'删除人'
,
deletionTime
:
'删除时间'
,
classId
:
'classId'
,
routingHeaderId
:
'工艺规程id'
,
name
:
'工序名称'
,
taskSeq
:
'工序号'
,
description
:
'描述'
,
taskContent
:
'工序内容'
,
resourceId
:
'资源ID'
,
resourceType
:
'资源类型'
,
runtime
:
'排产单件工时'
,
setupTime
:
'准备工时'
,
transportTime
:
'转运工时'
,
checkTime
:
'检验工时'
,
checkFlag
:
'检验标识'
,
efficiencyValue
:
'效率系数'
,
singleOut
:
'单件产出'
,
isOutside
:
'是否外协'
,
departmentId
:
'承制车间'
,
isImportant
:
'关键工序'
,
milestoneId
:
'里程碑'
,
phaseId
:
'工艺阶段'
,
status
:
'状态'
,
remark
:
'备注'
,
extend
:
'扩展字段'
,
outsideTime
:
'外协工期'
,
performanceHours
:
'绩效工时'
,
resourceCode
:
'资源编号'
,
isImportantResources
:
'关重资源'
,
schedulingWorkingHours
:
'排产准结工时'
,
realWorkingHours
:
'实作准结工时'
,
realRuntime
:
'实作单件工时'
,
performanceWorkingHours
:
'绩效准结工时'
,
isParticipateIntime
:
'参与工时分配'
,
equipType
:
'设备类型'
,
equipTypeId
:
'设备类型ID'
,
note
:
'备注'
,
},
RoutingSupporting
:
{
id
:
''
,
routingHeaderId
:
'工艺规程ID'
,
...
...
@@ -1257,7 +1257,7 @@ export default {
quantity
:
'数量'
,
singlequantity
:
'总计数量'
,
routingDetailName
:
'工序名称'
,
routingDetailNo
:
'工序号'
,
routingDetailNo
:
'工序号'
,
materialId
:
'物料id'
,
materialType
:
'物料类型'
,
materialNumber
:
'物料编号'
,
...
...
@@ -1330,7 +1330,7 @@ export default {
routingHeaderName
:
'工艺'
,
routingDetailId
:
'工序ID'
,
routingDetailName
:
'工序名称'
,
routingDetailNo
:
'工序号'
,
routingDetailNo
:
'工序号'
,
routingStepId
:
'工步ID'
,
checkContent
:
'检测内容'
,
checkType
:
'检测类型'
,
...
...
@@ -1352,7 +1352,7 @@ export default {
sampling
:
'抽检'
,
samplingBatch
:
'抽检批次'
,
},
routingsupporting
:
{
//工艺BOM
routingsupporting
:
{
//工艺BOM
id
:
''
,
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
...
...
@@ -1365,7 +1365,7 @@ export default {
routingHeaderName
:
'工艺'
,
routingDetailId
:
'工序ID'
,
routingDetailName
:
'工序名称'
,
routingDetailNo
:
'工序号'
,
routingDetailNo
:
'工序号'
,
routingStepId
:
'工步ID'
,
quantity
:
'数量'
,
materialId
:
'物料id'
,
...
...
@@ -1382,5 +1382,48 @@ export default {
extend
:
'扩展字段'
,
remark
:
'备注'
,
drawNum
:
'产品图号'
,
},
routing_header_changeorder
:
{
//工艺更改单
routingHeaderId
:
'工艺Id'
,
classId
:
''
,
proposeUserId
:
''
,
proposeUserName
:
'提出人'
,
departmentId
:
'申请部门Id'
,
departmentName
:
'申请部门'
,
technicalName
:
'技术文件名称'
,
technicalCode
:
'技术文件编号'
,
changedVersion
:
'更改后的版本号'
,
quantity
:
'数量'
,
printData
:
'发行日期'
,
executiveBranch
:
'执行部门'
,
executiveBranchId
:
'执行部门Id'
,
handlingOpinionsId
:
''
,
handlingOpinions
:
'在制品处理意见'
,
beforeChangeContent
:
'变更前内容描述(附图)'
,
afterChangeContent
:
'变更后内容描述(附图)'
,
changeorderCode
:
'更改单编号'
,
changeReason
:
'更改原因'
,
effectiveDate
:
'有效日期'
,
checkPerson
:
'校对人'
,
approvalPerson
:
'批准人'
,
status
:
'状态'
,
note
:
''
,
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
lastModificationTime
:
'更新时间'
,
lastModifierUserId
:
'更新人'
,
isDeleted
:
'删除人'
,
deletionTime
:
'删除时间'
,
deleterUserId
:
'删除人'
,
//
changeorder_code
:
'更改单编号'
,
print_data
:
'发行日期'
,
department_name
:
'申请部门'
,
propose_user_name
:
'提出人'
,
technical_name
:
'技术文件名称'
,
technical_code
:
'技术文件编号'
,
check_person
:
'校对人'
,
executive_branch
:
'执行部门'
,
}
}
pages/processDesign/Process/changelist.vue
View file @
3871b4e8
This diff is collapsed.
Click to expand it.
pages/processManage/Process/index.vue
View file @
3871b4e8
...
...
@@ -941,6 +941,7 @@ export default {
});
var
url1
=
`
${
designUrl
}
/routingheader/GetCodeByType?code=JSWJGGD`
;
service
.
get
(
`
${
url1
}
`
).
then
(
response
=>
{
alert
(
JSON
.
stringify
(
response
))
this
.
$refs
.
routingchangeorder
.
changeorder_code
=
response
.
result
;
});
this
.
$refs
.
routingchangeorder
.
modelChange
=
true
;
...
...
pages/technology/details.vue
View file @
3871b4e8
...
...
@@ -48,6 +48,7 @@
<MenuItem
name=
"2"
:to=
"'/technology/details/routingqccard?id='+headerId"
>
质控卡
</MenuItem>
<MenuItem
name=
"3"
:to=
"'/technology/details/routingsupporting?id='+headerId"
>
工艺BOM
</MenuItem>
<!--
<MenuItem
name=
"4"
to=
"/technology/details/setup/setupDetails"
>
生产准备
</MenuItem>
-->
<MenuItem
name=
"5"
:to=
"'/technology/details/routinghcorder?id='+headerId"
>
工艺更改单
</MenuItem>
</Menu>
</div>
<div
class=
"bottom_box"
>
...
...
pages/technology/details/add.vue
View file @
3871b4e8
...
...
@@ -91,7 +91,7 @@
<Col
:span=
"8"
>
<FormItem
:label=
"l('resourceType')"
prop=
"resourceType"
>
<!--
<Dictionary
code=
"Process.routing_detail.resource_type"
v-model=
"entity.resourceType"
></Dictionary>
-->
<ResourceSelect
v-model=
"entity.resourceTyp
e"
></ResourceSelect>
<ResourceSelect
v-model=
"entity.resourceId"
@
on-change=
"resourceChang
e"
></ResourceSelect>
</FormItem>
</Col>
<Col
:span=
"8"
>
...
...
@@ -147,12 +147,12 @@
</Col>
<Col
:span=
"8"
>
<FormItem
:label=
"l('efficiencyValue')"
prop=
"efficiencyValue"
>
<InputNumber
v-model=
"entity.efficiencyValue"
style=
"width:100%"
></InputNumber>
<InputNumber
v-model=
"entity.efficiencyValue"
style=
"width:100%"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"8"
>
<FormItem
:label=
"l('singleOut')"
prop=
"singleOut"
>
<InputNumber
v-model=
"entity.singleOut"
style=
"width:100%"
></InputNumber>
<InputNumber
v-model=
"entity.singleOut"
style=
"width:100%"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"24"
>
...
...
@@ -182,7 +182,9 @@ export default {
name
:
""
,
taskSeq
:
null
,
taskContent
:
""
,
resourceId
:
null
,
resourceType
:
null
,
resourceCode
:
""
,
runtime
:
0
,
efficiencyValue
:
null
,
singleOut
:
null
,
...
...
@@ -205,7 +207,7 @@ export default {
v
:
Object
,
eid
:
Number
,
headid
:
Number
,
maxNum
:
Number
,
maxNum
:
Number
},
mounted
()
{
if
(
this
.
eid
>
0
)
{
...
...
@@ -218,7 +220,7 @@ export default {
if
(
v
)
{
this
.
disabled
=
true
;
this
.
entity
.
routingHeaderId
=
this
.
headid
;
this
.
entity
.
taskSeq
=
this
.
maxNum
this
.
entity
.
taskSeq
=
this
.
maxNum
;
Api
.
create
(
this
.
entity
)
.
then
(
r
=>
{
this
.
disabled
=
false
;
...
...
@@ -271,9 +273,14 @@ export default {
key = "routing_detail" + "." + key;
return this.$t(key);
},
equipChange(v,items)
{
this.entity.equipType=items.equip_name
equipChange(v, items) {
this.entity.equipType = items.equip_name;
this.entity.equipTypeId = items.id;
},
resourceChange(v, items) {
this.entity.resourceId = items[1].value;
this.entity.resourceType =Number(items[0].value);
this.entity.resourceCode = items[1].__label;
}
},
watch: {
...
...
pages/technology/details/edit.vue
View file @
3871b4e8
...
...
@@ -13,12 +13,12 @@
</Col>
<Col
:span=
"8"
>
<FormItem
:label=
"l('equipType')"
prop=
"equipTypeId"
>
<EquipSelect
v-model=
"entity.equipTypeId"
@
on-change=
"equipChange"
></EquipSelect>
<EquipSelect
v-model=
"entity.equipTypeId"
@
on-change=
"equipChange"
></EquipSelect>
</FormItem>
</Col>
<Col
:span=
"8"
>
<FormItem
:label=
"l('resourceType')"
prop=
"resourceType"
>
<
Dictionary
code=
"Process.routing_detail.resource_type"
v-model=
"entity.resourceType"
></Dictionary
>
<
ResourceSelect
v-model=
"entity.resourceId"
@
on-change=
"resourceChange"
></ResourceSelect
>
</FormItem>
</Col>
<Col
:span=
"8"
>
...
...
@@ -155,9 +155,14 @@ export default {
key
=
"routing_detail"
+
"."
+
key
;
return
this
.
$t
(
key
);
},
equipChange
(
v
,
items
)
{
this
.
entity
.
equipType
=
items
.
equip_name
equipChange
(
v
,
items
)
{
this
.
entity
.
equipType
=
items
.
equip_name
;
this
.
entity
.
equipTypeId
=
items
.
id
;
},
resourceChange
(
v
,
items
)
{
this
.
entity
.
resourceType
=
Number
(
items
[
0
].
value
);
this
.
entity
.
resourceId
=
items
[
1
].
value
;
this
.
entity
.
resourceCode
=
items
[
1
].
__label
;
}
},
watch
:
{
...
...
pages/technology/details/index.vue
View file @
3871b4e8
...
...
@@ -91,10 +91,10 @@ export default {
hide
:
true
},
{
key
:
"resource
Typ
e"
,
title
:
this
.
l
(
"resource
Typ
e"
),
key
:
"resource
Cod
e"
,
title
:
this
.
l
(
"resource
Cod
e"
),
align
:
"left"
,
code
:
"Process.routing_detail.resource_type"
easy
:
true
,
},
{
key
:
"isImportantResources"
,
...
...
pages/technology/details/routinghcorder/add.vue
0 → 100644
View file @
3871b4e8
<
template
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"90"
>
<Row>
<Col
:span=
"12"
>
<FormItem
:label=
"l('routingHeaderId')"
prop=
"routingHeaderId"
>
<InputNumber
v-model=
"entity.routingHeaderId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('classId')"
prop=
"classId"
>
<InputNumber
v-model=
"entity.classId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('proposeUserId')"
prop=
"proposeUserId"
>
<InputNumber
v-model=
"entity.proposeUserId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('proposeUserName')"
prop=
"proposeUserName"
>
<Input
v-model=
"entity.proposeUserName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('departmentId')"
prop=
"departmentId"
>
<InputNumber
v-model=
"entity.departmentId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('departmentName')"
prop=
"departmentName"
>
<Input
v-model=
"entity.departmentName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('technicalName')"
prop=
"technicalName"
>
<Input
v-model=
"entity.technicalName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('technicalCode')"
prop=
"technicalCode"
>
<Input
v-model=
"entity.technicalCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('changedVersion')"
prop=
"changedVersion"
>
<Input
v-model=
"entity.changedVersion"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('quantity')"
prop=
"quantity"
>
<InputNumber
v-model=
"entity.quantity"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('printData')"
prop=
"printData"
>
<Input
v-model=
"entity.printData"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('executiveBranch')"
prop=
"executiveBranch"
>
<Input
v-model=
"entity.executiveBranch"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('executiveBranchId')"
prop=
"executiveBranchId"
>
<InputNumber
v-model=
"entity.executiveBranchId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('handlingOpinionsId')"
prop=
"handlingOpinionsId"
>
<InputNumber
v-model=
"entity.handlingOpinionsId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('handlingOpinions')"
prop=
"handlingOpinions"
>
<Input
v-model=
"entity.handlingOpinions"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('beforeChangeContent')"
prop=
"beforeChangeContent"
>
<Input
v-model=
"entity.beforeChangeContent"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('afterChangeContent')"
prop=
"afterChangeContent"
>
<Input
v-model=
"entity.afterChangeContent"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('changeorderCode')"
prop=
"changeorderCode"
>
<Input
v-model=
"entity.changeorderCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('changeReason')"
prop=
"changeReason"
>
<Input
v-model=
"entity.changeReason"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('effectiveDate')"
prop=
"effectiveDate"
>
<Input
v-model=
"entity.effectiveDate"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('checkPerson')"
prop=
"checkPerson"
>
<InputNumber
v-model=
"entity.checkPerson"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('approvalPerson')"
prop=
"approvalPerson"
>
<InputNumber
v-model=
"entity.approvalPerson"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<InputNumber
v-model=
"entity.status"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('note')"
prop=
"note"
>
<Input
v-model=
"entity.note"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</Col>
</Row>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</FormItem>
</Form>
</
template
>
<
script
>
import
Api
from
"./api"
;
export
default
{
name
:
"Add"
,
data
()
{
return
{
disabled
:
false
,
entity
:
{
routingHeaderId
:
null
,
classId
:
null
,
proposeUserId
:
null
,
proposeUserName
:
""
,
departmentId
:
null
,
departmentName
:
""
,
technicalName
:
""
,
technicalCode
:
""
,
changedVersion
:
""
,
quantity
:
null
,
printData
:
""
,
executiveBranch
:
""
,
executiveBranchId
:
null
,
handlingOpinionsId
:
null
,
handlingOpinions
:
""
,
beforeChangeContent
:
""
,
afterChangeContent
:
""
,
changeorderCode
:
""
,
changeReason
:
""
,
effectiveDate
:
""
,
checkPerson
:
null
,
approvalPerson
:
null
,
status
:
null
,
note
:
""
},
rules
:
{
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}]
}
};
},
props
:
{
v
:
Object
,
eid
:
Number
},
mounted
()
{
if
(
this
.
eid
>
0
)
{
this
.
load
(
this
.
eid
);
}
},
methods
:
{
handleSubmit
()
{
this
.
$refs
.
form
.
validate
(
v
=>
{
if
(
v
)
{
this
.
disabled
=
true
;
Api
.
create
(
this
.
entity
)
.
then
(
r
=>
{
this
.
disabled
=
false
;
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-ok"
);
}
else
{
this
.
$Message
.
error
(
"保存失败"
);
}
})
.
catch
(
err
=>
{
this
.
disabled
=
false
;
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
);
});
}
});
},
handleClose
()
{
this
.
$emit
(
"on-close"
);
},
load
(
v
)
{
Api
.
get
({
id
:
v
}).
then
(
r
=>
{
this
.
entity
=
r
.
result
;
this
.
entity
.
id
=
0
;
});
},
l
(
key
)
{
key
=
"routing_header_changeorder"
+
"."
+
key
;
return
this
.
$t
(
key
);
}
},
watch
:
{
v
()
{
this
.
entity
=
this
.
$u
.
clone
(
this
.
v
);
},
eid
(
v
)
{
if
(
v
>
0
)
{
this
.
load
(
v
);
}
}
}
};
</
script
>
pages/technology/details/routinghcorder/api.js
0 → 100644
View file @
3871b4e8
import
Api
from
'@/plugins/request'
export
default
{
index
:
`
${
technologyUrl
}
routingheaderchangeorder/paged`
,
paged
(
params
)
{
return
Api
.
post
(
`
${
technologyUrl
}
routingheaderchangeorder/paged`
,
params
);
},
get
(
params
)
{
return
Api
.
get
(
`
${
technologyUrl
}
routingheaderchangeorder/get`
,
params
);
},
create
(
params
)
{
return
Api
.
post
(
`
${
technologyUrl
}
routingheaderchangeorder/create`
,
params
);
},
update
(
params
)
{
return
Api
.
post
(
`
${
technologyUrl
}
routingheaderchangeorder/update`
,
params
);
},
delete
(
id
)
{
return
Api
.
delete
(
`
${
technologyUrl
}
routingheaderchangeorder/delete`
,
{
params
:
{
id
:
id
}
});
},
deletes
(
params
)
{
return
Api
.
post
(
`
${
technologyUrl
}
routingheaderchangeorder/batchdelete`
,
params
);
}
}
pages/technology/details/routinghcorder/detail.vue
0 → 100644
View file @
3871b4e8
<
template
>
<div
class=
"detail"
>
<Row>
<Filed
:span=
"12"
:name=
"l('routingHeaderId')"
>
{{
entity
.
routingHeaderId
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('classId')"
>
{{
entity
.
classId
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('proposeUserId')"
>
{{
entity
.
proposeUserId
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('proposeUserName')"
>
{{
entity
.
proposeUserName
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('departmentId')"
>
{{
entity
.
departmentId
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('departmentName')"
>
{{
entity
.
departmentName
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('technicalName')"
>
{{
entity
.
technicalName
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('technicalCode')"
>
{{
entity
.
technicalCode
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('changedVersion')"
>
{{
entity
.
changedVersion
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('quantity')"
>
{{
entity
.
quantity
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('printData')"
>
{{
entity
.
printData
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('executiveBranch')"
>
{{
entity
.
executiveBranch
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('executiveBranchId')"
>
{{
entity
.
executiveBranchId
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('handlingOpinionsId')"
>
{{
entity
.
handlingOpinionsId
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('handlingOpinions')"
>
{{
entity
.
handlingOpinions
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('beforeChangeContent')"
>
{{
entity
.
beforeChangeContent
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('afterChangeContent')"
>
{{
entity
.
afterChangeContent
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('changeorderCode')"
>
{{
entity
.
changeorderCode
}}
</Filed>
<Filed
:span=
"24"
:name=
"l('changeReason')"
>
{{
entity
.
changeReason
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('effectiveDate')"
>
{{
entity
.
effectiveDate
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('checkPerson')"
>
{{
entity
.
checkPerson
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('approvalPerson')"
>
{{
entity
.
approvalPerson
}}
</Filed>
<Filed
:span=
"12"
:name=
"l('status')"
>
{{
entity
.
status
}}
</Filed>
<Filed
:span=
"24"
:name=
"l('note')"
>
{{
entity
.
note
}}
</Filed>
</Row>
</div>
</
template
>
<
script
>
import
Api
from
"./api"
;
export
default
{
name
:
"Add"
,
data
()
{
return
{
entity
:
{},
rules
:
{
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
code
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}]
}
};
},
props
:
{
eid
:
Number
},
mounted
()
{
if
(
this
.
eid
>
0
)
{
this
.
load
(
this
.
eid
);
}
},
methods
:
{
load
(
v
)
{
Api
.
get
({
id
:
v
}).
then
(
r
=>
{
this
.
entity
=
r
.
result
;
this
.
$emit
(
"on-load"
);
});
},
handleClose
()
{
this
.
$emit
(
"on-close"
);
},
l
(
key
)
{
key
=
"routing_header_changeorder"
+
"."
+
key
;
return
this
.
$t
(
key
);
}
},
watch
:
{
eid
(
v
)
{
if
(
v
>
0
)
{
this
.
load
(
v
);
}
}
}
};
</
script
>
pages/technology/details/routinghcorder/edit.vue
0 → 100644
View file @
3871b4e8
<
template
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"90"
>
<Row>
<Col
:span=
"12"
>
<FormItem
:label=
"l('routingHeaderId')"
prop=
"routingHeaderId"
>
<InputNumber
v-model=
"entity.routingHeaderId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('classId')"
prop=
"classId"
>
<InputNumber
v-model=
"entity.classId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('proposeUserId')"
prop=
"proposeUserId"
>
<InputNumber
v-model=
"entity.proposeUserId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('proposeUserName')"
prop=
"proposeUserName"
>
<Input
v-model=
"entity.proposeUserName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('departmentId')"
prop=
"departmentId"
>
<InputNumber
v-model=
"entity.departmentId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('departmentName')"
prop=
"departmentName"
>
<Input
v-model=
"entity.departmentName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('technicalName')"
prop=
"technicalName"
>
<Input
v-model=
"entity.technicalName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('technicalCode')"
prop=
"technicalCode"
>
<Input
v-model=
"entity.technicalCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('changedVersion')"
prop=
"changedVersion"
>
<Input
v-model=
"entity.changedVersion"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('quantity')"
prop=
"quantity"
>
<InputNumber
v-model=
"entity.quantity"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('printData')"
prop=
"printData"
>
<Input
v-model=
"entity.printData"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('executiveBranch')"
prop=
"executiveBranch"
>
<Input
v-model=
"entity.executiveBranch"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('executiveBranchId')"
prop=
"executiveBranchId"
>
<InputNumber
v-model=
"entity.executiveBranchId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('handlingOpinionsId')"
prop=
"handlingOpinionsId"
>
<InputNumber
v-model=
"entity.handlingOpinionsId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('handlingOpinions')"
prop=
"handlingOpinions"
>
<Input
v-model=
"entity.handlingOpinions"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('beforeChangeContent')"
prop=
"beforeChangeContent"
>
<Input
v-model=
"entity.beforeChangeContent"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('afterChangeContent')"
prop=
"afterChangeContent"
>
<Input
v-model=
"entity.afterChangeContent"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('changeorderCode')"
prop=
"changeorderCode"
>
<Input
v-model=
"entity.changeorderCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('changeReason')"
prop=
"changeReason"
>
<Input
v-model=
"entity.changeReason"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('effectiveDate')"
prop=
"effectiveDate"
>
<Input
v-model=
"entity.effectiveDate"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('checkPerson')"
prop=
"checkPerson"
>
<InputNumber
v-model=
"entity.checkPerson"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('approvalPerson')"
prop=
"approvalPerson"
>
<InputNumber
v-model=
"entity.approvalPerson"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<InputNumber
v-model=
"entity.status"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('note')"
prop=
"note"
>
<Input
v-model=
"entity.note"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</Col>
</Row>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</FormItem>
</Form>
</
template
>
<
script
>
import
Api
from
"./api"
;
export
default
{
name
:
"Edit"
,
data
()
{
return
{
disabled
:
false
,
entity
:
{},
rules
:
{
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}]
}
};
},
props
:
{
eid
:
Number
},
mounted
()
{
if
(
this
.
eid
>
0
)
{
this
.
load
(
this
.
eid
);
}
},
methods
:
{
load
(
v
)
{
Api
.
get
({
id
:
v
}).
then
(
r
=>
{
this
.
entity
=
r
.
result
;
});
},
handleSubmit
()
{
this
.
$refs
.
form
.
validate
(
v
=>
{
if
(
v
)
{
this
.
disabled
=
true
;
Api
.
update
(
this
.
entity
)
.
then
(
r
=>
{
this
.
disabled
=
false
;
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-ok"
);
}
else
{
this
.
$Message
.
error
(
"保存失败"
);
}
})
.
catch
(
err
=>
{
this
.
disabled
=
false
;
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
);
});
}
});
},
handleClose
()
{
this
.
$emit
(
"on-close"
);
},
l
(
key
)
{
key
=
"routing_header_changeorder"
+
"."
+
key
;
return
this
.
$t
(
key
);
}
},
watch
:
{
eid
(
v
)
{
if
(
v
!=
0
)
{
this
.
load
(
v
);
}
}
}
};
</
script
>
pages/technology/details/routinghcorder/index.vue
0 → 100644
View file @
3871b4e8
<
template
>
<div>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
>
<template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<FormItem
prop=
"keys"
>
<Input
placeholder=
"请输入关键字更改单编号"
v-model=
"easySearch.keys.value"
/>
</FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
</FormItem>
</Form>
</
template
>
<
template
slot=
"searchForm"
>
<Search
/>
</
template
>
<
template
slot=
"buttons"
>
<Button
type=
"primary"
@
click=
"add"
>
新增
</Button>
</
template
>
</DataGrid>
<Modal
v-model=
"modal"
:title=
"title"
width=
"1200"
footer-hide
>
<component
:is=
"detail"
:eid=
"curId"
@
on-close=
"cancel"
@
on-ok=
"ok"
/>
</Modal>
</div>
</template>
<
script
>
import
Api
from
"./api"
;
import
Search
from
"./search"
;
export
default
{
name
:
"list"
,
components
:
{
Search
},
head
:
{
title
:
"工艺变更单"
,
author
:
"henq"
,
description
:
"routing_header_changeorder 5/11/2020 9:39:04 AM"
},
data
()
{
return
{
action
:
Api
.
index
,
easySearch
:
{
keys
:
{
op
:
"changeorderCode,"
,
value
:
null
}
},
modal
:
false
,
title
:
"新增"
,
detail
:
null
,
curId
:
0
,
columns
:
[
{
key
:
"changeorderCode"
,
title
:
this
.
l
(
"changeorderCode"
),
align
:
"left"
,
high
:
true
},
{
key
:
"printData"
,
title
:
this
.
l
(
"printData"
),
align
:
"left"
,
high
:
true
},
{
key
:
"departmentName"
,
title
:
this
.
l
(
"departmentName"
),
align
:
"left"
,
easy
:
true
,
high
:
true
},
{
key
:
"proposeUserId"
,
title
:
this
.
l
(
"proposeUserName"
),
align
:
"left"
,
high
:
true
,
type
:
"user"
},
{
key
:
"technicalName"
,
title
:
this
.
l
(
"technicalName"
),
align
:
"left"
,
easy
:
true
,
high
:
true
},
{
key
:
"technicalCode"
,
title
:
this
.
l
(
"technicalCode"
),
align
:
"left"
,
easy
:
true
,
high
:
true
},
{
key
:
"checkPerson"
,
title
:
this
.
l
(
"checkPerson"
),
align
:
"left"
,
high
:
true
},
{
key
:
"quantity"
,
title
:
this
.
l
(
"quantity"
),
align
:
"left"
,
high
:
true
},
{
key
:
"status"
,
title
:
this
.
l
(
"status"
),
align
:
"left"
,
high
:
true
},
{
key
:
"creationTime"
,
title
:
this
.
l
(
"creationTime"
),
hide
:
true
,
align
:
"left"
,
hide
:
true
,
},
{
key
:
"creatorUserId"
,
title
:
this
.
l
(
"creatorUserId"
),
hide
:
true
,
align
:
"left"
,
hide
:
true
,
type
:
'user'
,
},
{
key
:
"lastModificationTime"
,
title
:
this
.
l
(
"lastModificationTime"
),
hide
:
true
,
align
:
"left"
,
hide
:
true
,
},
{
key
:
"lastModifierUserId"
,
title
:
this
.
l
(
"lastModifierUserId"
),
hide
:
true
,
align
:
"left"
,
hide
:
true
,
type
:
'user'
,
},
{
title
:
"操作"
,
key
:
"action"
,
width
:
140
,
align
:
"center"
,
render
:
(
h
,
params
)
=>
{
return
h
(
"div"
,
{
class
:
"action"
},
[
h
(
"op"
,
{
attrs
:
{
oprate
:
"detail"
},
on
:
{
click
:
()
=>
this
.
view
(
params
.
row
.
id
)
}
},
"查看"
),
//h('op', { attrs: { oprate: 'copy' }, on: { click: () => this.copy(params.row.id) } }, '克隆'),
h
(
"op"
,
{
attrs
:
{
oprate
:
"edit"
},
on
:
{
click
:
()
=>
this
.
edit
(
params
.
row
.
id
)
}
},
"编辑"
),
h
(
"op"
,
{
attrs
:
{
oprate
:
"delete"
},
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
}
},
"删除"
)
]);
}
}
]
};
},
mounted
()
{
console
.
log
(
this
);
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
methods
:
{
ok
()
{
this
.
$refs
.
grid
.
load
();
this
.
modal
=
false
;
this
.
curId
=
0
;
},
search
()
{
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
},
add
()
{
this
.
curId
=
0
;
this
.
title
=
"新增"
;
this
.
detail
=
()
=>
import
(
"./add"
);
this
.
modal
=
true
;
},
copy
(
id
)
{
this
.
curId
=
id
;
this
.
title
=
"克隆"
;
this
.
detail
=
()
=>
import
(
"./add"
);
this
.
modal
=
true
;
},
view
(
id
)
{
this
.
curId
=
id
;
this
.
title
=
"详情"
;
this
.
detail
=
()
=>
import
(
"./detail"
);
this
.
modal
=
true
;
},
edit
(
id
)
{
this
.
curId
=
id
;
this
.
title
=
"编辑"
;
this
.
detail
=
()
=>
import
(
"./edit"
);
this
.
modal
=
true
;
},
remove
(
id
)
{
Api
.
delete
(
id
).
then
(
r
=>
{
if
(
r
.
success
)
{
this
.
$refs
.
grid
.
load
();
this
.
$Message
.
success
(
"删除成功"
);
}
});
},
cancel
()
{
this
.
curId
=
0
;
this
.
modal
=
false
;
},
l
(
key
)
{
let
vkey
=
"routing_header_changeorder"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
;
}
}
};
</
script
>
<
style
lang=
"less"
>
</
style
>
\ No newline at end of file
pages/technology/details/routinghcorder/search.vue
0 → 100644
View file @
3871b4e8
<
template
>
<Form
ref=
"form"
:model=
"condition"
:label-width=
"110"
>
<Row>
<Col
:span=
"12"
v-if=
"condition.id.show"
>
<FormItem
:label=
"l('id')"
prop=
"id"
>
<Input
v-model=
"condition.id.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.routingHeaderId.show"
>
<FormItem
:label=
"l('routingHeaderId')"
prop=
"routingHeaderId"
>
<Input
v-model=
"condition.routingHeaderId.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.classId.show"
>
<FormItem
:label=
"l('classId')"
prop=
"classId"
>
<Input
v-model=
"condition.classId.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.proposeUserId.show"
>
<FormItem
:label=
"l('proposeUserId')"
prop=
"proposeUserId"
>
<Input
v-model=
"condition.proposeUserId.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.proposeUserName.show"
>
<FormItem
:label=
"l('proposeUserName')"
prop=
"proposeUserName"
>
<Input
v-model=
"condition.proposeUserName.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.departmentId.show"
>
<FormItem
:label=
"l('departmentId')"
prop=
"departmentId"
>
<Input
v-model=
"condition.departmentId.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.departmentName.show"
>
<FormItem
:label=
"l('departmentName')"
prop=
"departmentName"
>
<Input
v-model=
"condition.departmentName.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.technicalName.show"
>
<FormItem
:label=
"l('technicalName')"
prop=
"technicalName"
>
<Input
v-model=
"condition.technicalName.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.technicalCode.show"
>
<FormItem
:label=
"l('technicalCode')"
prop=
"technicalCode"
>
<Input
v-model=
"condition.technicalCode.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.changedVersion.show"
>
<FormItem
:label=
"l('changedVersion')"
prop=
"changedVersion"
>
<Input
v-model=
"condition.changedVersion.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.quantity.show"
>
<FormItem
:label=
"l('quantity')"
prop=
"quantity"
>
<Input
v-model=
"condition.quantity.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.executiveBranch.show"
>
<FormItem
:label=
"l('executiveBranch')"
prop=
"executiveBranch"
>
<Input
v-model=
"condition.executiveBranch.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.executiveBranchId.show"
>
<FormItem
:label=
"l('executiveBranchId')"
prop=
"executiveBranchId"
>
<Input
v-model=
"condition.executiveBranchId.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.handlingOpinionsId.show"
>
<FormItem
:label=
"l('handlingOpinionsId')"
prop=
"handlingOpinionsId"
>
<Input
v-model=
"condition.handlingOpinionsId.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.handlingOpinions.show"
>
<FormItem
:label=
"l('handlingOpinions')"
prop=
"handlingOpinions"
>
<Input
v-model=
"condition.handlingOpinions.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"24"
v-if=
"condition.changeReason.show"
>
<FormItem
:label=
"l('changeReason')"
prop=
"changeReason"
>
<Input
v-model=
"condition.changeReason.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.checkPerson.show"
>
<FormItem
:label=
"l('checkPerson')"
prop=
"checkPerson"
>
<Input
v-model=
"condition.checkPerson.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.approvalPerson.show"
>
<FormItem
:label=
"l('approvalPerson')"
prop=
"approvalPerson"
>
<Input
v-model=
"condition.approvalPerson.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.status.show"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<Input
v-model=
"condition.status.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"24"
v-if=
"condition.note.show"
>
<FormItem
:label=
"l('note')"
prop=
"note"
>
<Input
v-model=
"condition.note.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.creationTime.show"
>
<FormItem
:label=
"$t('creationTime')"
prop=
"creationTime"
>
<DatePicker
type=
"daterange"
v-model=
"condition.creationTime.value"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.creatorUserId.show"
>
<FormItem
:label=
"$t('creatorUserId')"
prop=
"creatorUserId"
>
<Input
v-model=
"condition.creatorUserId.value"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.lastModificationTime.show"
>
<FormItem
:label=
"$t('lastModificationTime')"
prop=
"lastModificationTime"
>
<DatePicker
type=
"daterange"
v-model=
"condition.lastModificationTime.value"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
v-if=
"condition.lastModifierUserId.show"
>
<FormItem
:label=
"$t('lastModifierUserId')"
prop=
"lastModifierUserId"
>
<Input
v-model=
"condition.lastModifierUserId.value"
></Input>
</FormItem>
</Col>
</Row>
</Form>
</
template
>
<
script
>
import
Api
from
"./api"
;
export
default
{
name
:
"Add"
,
data
()
{
return
{
condition
:
{
id
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
routingHeaderId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
classId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
proposeUserId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
proposeUserName
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
departmentId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
departmentName
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
technicalName
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
technicalCode
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
changedVersion
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
quantity
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
executiveBranch
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
executiveBranchId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
handlingOpinionsId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
handlingOpinions
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
changeReason
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
checkPerson
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
approvalPerson
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
status
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
note
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
creationTime
:
{
op
:
"Range"
,
value
:
null
,
show
:
true
},
creatorUserId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
lastModificationTime
:
{
op
:
"Range"
,
value
:
null
,
show
:
true
},
lastModifierUserId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
}
};
},
methods
:
{
handleClose
()
{
this
.
$emit
(
"on-close"
);
},
l
(
key
)
{
key
=
"routing_header_changeorder"
+
"."
+
key
;
return
this
.
$t
(
key
);
}
}
};
</
script
>
pages/technology/details/routingqccard/index.vue
View file @
3871b4e8
...
...
@@ -128,13 +128,13 @@ export default {
high
:
true
,
hide
:
true
},
{
key
:
"standard"
,
title
:
this
.
l
(
"standard"
),
align
:
"left"
,
easy
:
true
,
high
:
true
,
},
//
{
//
key: "standard",
//
title: this.l("standard"),
//
align: "left",
//
easy: true,
//
high: true,
//
},
{
key
:
"qualityTemplateName"
,
title
:
this
.
l
(
"qualityTemplateName"
),
...
...
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