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
aeaf3799
Commit
aeaf3799
authored
Oct 16, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aps/plan
parent
9d3a9bf5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1219 additions
and
989 deletions
+1219
-989
add.vue
pages/aps/plan/add.vue
+284
-308
edit.vue
pages/aps/plan/edit.vue
+291
-314
index.vue
pages/aps/plan/index.vue
+8
-0
search.vue
pages/aps/plan/search.vue
+636
-367
No files found.
pages/aps/plan/add.vue
View file @
aeaf3799
<
template
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"90"
>
<
template
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"90"
>
<Row>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('upId')"
prop=
"upId"
>
<InputNumber
v-model=
"entity.upId"
></InputNumber>
<InputNumber
v-model=
"entity.upId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mesCode')"
prop=
"mesCode"
>
<Input
v-model=
"entity.mesCode"
></Input>
<Input
v-model=
"entity.mesCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('taskType')"
prop=
"taskType"
>
<Input
v-model=
"entity.taskType"
></Input>
<Input
v-model=
"entity.taskType"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productId')"
prop=
"productId"
>
<InputNumber
v-model=
"entity.productId"
></InputNumber>
<InputNumber
v-model=
"entity.productId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('stage')"
prop=
"stage"
>
<Input
v-model=
"entity.stage"
></Input>
<Input
v-model=
"entity.stage"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('materialId')"
prop=
"materialId"
>
<Input
v-model=
"entity.materialId"
></Input>
<Input
v-model=
"entity.materialId"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('quantity')"
prop=
"quantity"
>
<InputNumber
v-model=
"entity.quantity"
></InputNumber>
<InputNumber
v-model=
"entity.quantity"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('guestName')"
prop=
"guestName"
>
<Input
v-model=
"entity.guestName"
></Input>
<Input
v-model=
"entity.guestName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('printSupply')"
prop=
"printSupply"
>
<Input
v-model=
"entity.printSupply"
></Input>
<Input
v-model=
"entity.printSupply"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('functionaryOffice')"
prop=
"functionaryOffice"
>
<Input
v-model=
"entity.functionaryOffice"
></Input>
<Input
v-model=
"entity.functionaryOffice"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainDepartmentId')"
prop=
"mainDepartmentId"
>
<Input
v-model=
"entity.mainDepartmentId"
></Input>
<Input
v-model=
"entity.mainDepartmentId"
></Input>
</FormItem>
</Col>
<Col
:span=
"24"
>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('remark')"
prop=
"remark"
>
<Input
v-model=
"entity.remark"
type=
"textarea"
:rows=
"5"
></Input>
<Input
v-model=
"entity.remark"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('taskInputDate')"
prop=
"taskInputDate"
>
<DatePicker
type=
"date"
v-model=
"entity.taskInputDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.taskInputDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('taskRequire')"
prop=
"taskRequire"
>
<Input
v-model=
"entity.taskRequire"
></Input>
<Input
v-model=
"entity.taskRequire"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('putintDocmentCode')"
prop=
"putintDocmentCode"
>
<Input
v-model=
"entity.putintDocmentCode"
></Input>
<Input
v-model=
"entity.putintDocmentCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('technologyDocmentCode')"
prop=
"technologyDocmentCode"
>
<Input
v-model=
"entity.technologyDocmentCode"
></Input>
<Input
v-model=
"entity.technologyDocmentCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('outerDrawnNumber')"
prop=
"outerDrawnNumber"
>
<Input
v-model=
"entity.outerDrawnNumber"
></Input>
<Input
v-model=
"entity.outerDrawnNumber"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('modelVersion')"
prop=
"modelVersion"
>
<Input
v-model=
"entity.modelVersion"
></Input>
<Input
v-model=
"entity.modelVersion"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('taskCode')"
prop=
"taskCode"
>
<Input
v-model=
"entity.taskCode"
></Input>
<Input
v-model=
"entity.taskCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('designer')"
prop=
"designer"
>
<Input
v-model=
"entity.designer"
></Input>
<Input
v-model=
"entity.designer"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('officeFunctionary')"
prop=
"officeFunctionary"
>
<Input
v-model=
"entity.officeFunctionary"
></Input>
<Input
v-model=
"entity.officeFunctionary"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingPeople')"
prop=
"mainRoutingPeople"
>
<Input
v-model=
"entity.mainRoutingPeople"
></Input>
<Input
v-model=
"entity.mainRoutingPeople"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.status"
v-model=
"entity.status"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.status"
v-model=
"entity.status"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('workHours')"
prop=
"workHours"
>
<InputNumber
v-model=
"entity.workHours"
></InputNumber>
<InputNumber
v-model=
"entity.workHours"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('printPeriod')"
prop=
"printPeriod"
>
<InputNumber
v-model=
"entity.printPeriod"
></InputNumber>
<InputNumber
v-model=
"entity.printPeriod"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('equipment')"
prop=
"equipment"
>
<Input
v-model=
"entity.equipment"
></Input>
<Input
v-model=
"entity.equipment"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('materialWeight')"
prop=
"materialWeight"
>
<InputNumber
v-model=
"entity.materialWeight"
></InputNumber>
<InputNumber
v-model=
"entity.materialWeight"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('isSupportingFinish')"
prop=
"isSupportingFinish"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_supporting_finish"
v-model=
"entity.isSupportingFinish"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_supporting_finish"
v-model=
"entity.isSupportingFinish"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('demandStartDate')"
prop=
"demandStartDate"
>
<DatePicker
type=
"date"
v-model=
"entity.demandStartDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.demandStartDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('demandFinishDate')"
prop=
"demandFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.demandFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.demandFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('actualStartDate')"
prop=
"actualStartDate"
>
<DatePicker
type=
"date"
v-model=
"entity.actualStartDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.actualStartDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('actualFinishDate')"
prop=
"actualFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.actualFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.actualFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('isDeleted')"
prop=
"isDeleted"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_deleted"
v-model=
"entity.isDeleted"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_deleted"
v-model=
"entity.isDeleted"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('creatorUserId')"
prop=
"creatorUserId"
>
<InputNumber
v-model=
"entity.creatorUserId"
></InputNumber>
<InputNumber
v-model=
"entity.creatorUserId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('creationTime')"
prop=
"creationTime"
>
<DatePicker
type=
"date"
v-model=
"entity.creationTime"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.creationTime"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('lastModifierUserId')"
prop=
"lastModifierUserId"
>
<InputNumber
v-model=
"entity.lastModifierUserId"
></InputNumber>
<InputNumber
v-model=
"entity.lastModifierUserId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('lastModificationTime')"
prop=
"lastModificationTime"
>
<DatePicker
type=
"date"
v-model=
"entity.lastModificationTime"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.lastModificationTime"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('orderQuotationStatus')"
prop=
"orderQuotationStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.order_quotation_status"
v-model=
"entity.orderQuotationStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.order_quotation_status"
v-model=
"entity.orderQuotationStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('distributeMainRouting')"
prop=
"distributeMainRouting"
>
<InputNumber
v-model=
"entity.distributeMainRouting"
></InputNumber>
<InputNumber
v-model=
"entity.distributeMainRouting"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingFinishDate')"
prop=
"mainRoutingFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingPeople')"
prop=
"majorRoutingPeople"
>
<InputNumber
v-model=
"entity.majorRoutingPeople"
></InputNumber>
<InputNumber
v-model=
"entity.majorRoutingPeople"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingFinishDate')"
prop=
"majorRoutingFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('checkUpPeople')"
prop=
"checkUpPeople"
>
<InputNumber
v-model=
"entity.checkUpPeople"
></InputNumber>
<InputNumber
v-model=
"entity.checkUpPeople"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('checkUpFinishDate')"
prop=
"checkUpFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.checkUpFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.checkUpFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productingPreparationPeople')"
prop=
"productingPreparationPeople"
>
<InputNumber
v-model=
"entity.productingPreparationPeople"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productingPreparationFinishDate')"
prop=
"productingPreparationFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.productingPreparationFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
<InputNumber
v-model=
"entity.productingPreparationPeople"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productingPreparationFinishDate')"
prop=
"productingPreparationFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.productingPreparationFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('quotationPeople')"
prop=
"quotationPeople"
>
<InputNumber
v-model=
"entity.quotationPeople"
></InputNumber>
<InputNumber
v-model=
"entity.quotationPeople"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('quotationFinishDate')"
prop=
"quotationFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.quotationFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.quotationFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('routingMethod')"
prop=
"routingMethod"
>
<Input
v-model=
"entity.routingMethod"
></Input>
<Input
v-model=
"entity.routingMethod"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('outerEnvelopeSize')"
prop=
"outerEnvelopeSize"
>
<Input
v-model=
"entity.outerEnvelopeSize"
></Input>
<Input
v-model=
"entity.outerEnvelopeSize"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('divideMark')"
prop=
"divideMark"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.divide_mark"
v-model=
"entity.divideMark"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.divide_mark"
v-model=
"entity.divideMark"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"24"
>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('productCode')"
prop=
"productCode"
>
<Input
v-model=
"entity.productCode"
type=
"textarea"
:rows=
"5"
></Input>
<Input
v-model=
"entity.productCode"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productName')"
prop=
"productName"
>
<Input
v-model=
"entity.productName"
></Input>
<Input
v-model=
"entity.productName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('drawnNumber')"
prop=
"drawnNumber"
>
<Input
v-model=
"entity.drawnNumber"
></Input>
<Input
v-model=
"entity.drawnNumber"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('qualifiedQuantity')"
prop=
"qualifiedQuantity"
>
<InputNumber
v-model=
"entity.qualifiedQuantity"
></InputNumber>
<InputNumber
v-model=
"entity.qualifiedQuantity"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('uncertificateQuantity')"
prop=
"uncertificateQuantity"
>
<InputNumber
v-model=
"entity.uncertificateQuantity"
></InputNumber>
<InputNumber
v-model=
"entity.uncertificateQuantity"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingSetStatus')"
prop=
"mainRoutingSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.main_routing_set_status"
v-model=
"entity.mainRoutingSetStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.main_routing_set_status"
v-model=
"entity.mainRoutingSetStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingSetStatus')"
prop=
"majorRoutingSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_set_status"
v-model=
"entity.majorRoutingSetStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_set_status"
v-model=
"entity.majorRoutingSetStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('materialBillSetStatus')"
prop=
"materialBillSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.material_bill_set_status"
v-model=
"entity.materialBillSetStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.material_bill_set_status"
v-model=
"entity.materialBillSetStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('routingDataSetStatus')"
prop=
"routingDataSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.routing_data_set_status"
v-model=
"entity.routingDataSetStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.routing_data_set_status"
v-model=
"entity.routingDataSetStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('rootId')"
prop=
"rootId"
>
<InputNumber
v-model=
"entity.rootId"
></InputNumber>
<InputNumber
v-model=
"entity.rootId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingExecuteStatus')"
prop=
"mainRoutingExecuteStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.main_routing_execute_status"
v-model=
"entity.mainRoutingExecuteStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.main_routing_execute_status"
v-model=
"entity.mainRoutingExecuteStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingExecuteStatus')"
prop=
"majorRoutingExecuteStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_execute_status"
v-model=
"entity.majorRoutingExecuteStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_execute_status"
v-model=
"entity.majorRoutingExecuteStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingActualStartDate')"
prop=
"mainRoutingActualStartDate"
>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingActualStartDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingActualStartDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingActualFinishDate')"
prop=
"mainRoutingActualFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingActualFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingActualFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingActualStartDate')"
prop=
"majorRoutingActualStartDate"
>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingActualStartDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingActualStartDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingActualFinishDate')"
prop=
"majorRoutingActualFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingActualFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingActualFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('batchNumber')"
prop=
"batchNumber"
>
<Input
v-model=
"entity.batchNumber"
></Input>
<Input
v-model=
"entity.batchNumber"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('projectNumber')"
prop=
"projectNumber"
>
<Input
v-model=
"entity.projectNumber"
></Input>
<Input
v-model=
"entity.projectNumber"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('urgencyLevel')"
prop=
"urgencyLevel"
>
<Input
v-model=
"entity.urgencyLevel"
></Input>
<Input
v-model=
"entity.urgencyLevel"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('materialName')"
prop=
"materialName"
>
<Input
v-model=
"entity.materialName"
></Input>
<Input
v-model=
"entity.materialName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('isPreschedule')"
prop=
"isPreschedule"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_preschedule"
v-model=
"entity.isPreschedule"
></Dictionary>
<Dictionary
code=
"aps.plan.ispreschedule"
v-model=
"entity.isPreschedule"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('spareQty')"
prop=
"spareQty"
>
<InputNumber
v-model=
"entity.spareQty"
></InputNumber>
<InputNumber
v-model=
"entity.spareQty"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('demandStart')"
prop=
"demandStart"
>
<DatePicker
type=
"date"
v-model=
"entity.demandStart"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.demandStart"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('demandFinish')"
prop=
"demandFinish"
>
<DatePicker
type=
"date"
v-model=
"entity.demandFinish"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.demandFinish"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('partNamePro')"
prop=
"partNamePro"
>
<Input
v-model=
"entity.partNamePro"
></Input>
<Input
v-model=
"entity.partNamePro"
></Input>
</FormItem>
</Col>
</Col>
</Row>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</FormItem>
</Form>
</Form>
</
template
>
<
script
>
<
script
>
import
Api
from
"./api"
;
export
default
{
name
:
"Add"
,
data
()
{
return
{
entity
:
{},
rules
:
{
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
},
};
},
props
:
{
v
:
Object
,
},
methods
:
{
handleSubmit
()
{
this
.
$refs
.
form
.
validate
((
v
)
=>
{
if
(
v
)
{
Api
.
create
(
this
.
entity
)
.
then
((
r
)
=>
{
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-ok"
);
}
else
{
this
.
$Message
.
error
(
"保存失败"
);
}
})
.
catch
((
err
)
=>
{
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
);
});
}
});
name
:
"Add"
,
data
()
{
return
{
entity
:
{},
rules
:
{
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
},
};
},
handleClose
()
{
this
.
$emit
(
"on-close"
);
props
:
{
v
:
Object
,
},
l
(
key
)
{
key
=
"mes_order"
+
"."
+
key
;
return
this
.
$t
(
key
);
methods
:
{
handleSubmit
()
{
this
.
$refs
.
form
.
validate
((
v
)
=>
{
if
(
v
)
{
Api
.
create
(
this
.
entity
)
.
then
((
r
)
=>
{
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-ok"
);
}
else
{
this
.
$Message
.
error
(
"保存失败"
);
}
})
.
catch
((
err
)
=>
{
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
);
});
}
});
},
handleClose
()
{
this
.
$emit
(
"on-close"
);
},
l
(
key
)
{
key
=
"mes_order"
+
"."
+
key
;
return
this
.
$t
(
key
);
},
},
},
watch
:
{
v
()
{
this
.
entity
=
this
.
$u
.
clone
(
this
.
v
);
watch
:
{
v
()
{
this
.
entity
=
this
.
$u
.
clone
(
this
.
v
);
},
},
},
};
</
script
>
pages/aps/plan/edit.vue
View file @
aeaf3799
<
template
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"90"
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"90"
>
<Row>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('upId')"
prop=
"upId"
>
<InputNumber
v-model=
"entity.upId"
></InputNumber>
<InputNumber
v-model=
"entity.upId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mesCode')"
prop=
"mesCode"
>
<Input
v-model=
"entity.mesCode"
></Input>
<Input
v-model=
"entity.mesCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('taskType')"
prop=
"taskType"
>
<Input
v-model=
"entity.taskType"
></Input>
<Input
v-model=
"entity.taskType"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productId')"
prop=
"productId"
>
<InputNumber
v-model=
"entity.productId"
></InputNumber>
<InputNumber
v-model=
"entity.productId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('stage')"
prop=
"stage"
>
<Input
v-model=
"entity.stage"
></Input>
<Input
v-model=
"entity.stage"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('materialId')"
prop=
"materialId"
>
<Input
v-model=
"entity.materialId"
></Input>
<Input
v-model=
"entity.materialId"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('quantity')"
prop=
"quantity"
>
<InputNumber
v-model=
"entity.quantity"
></InputNumber>
<InputNumber
v-model=
"entity.quantity"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('guestName')"
prop=
"guestName"
>
<Input
v-model=
"entity.guestName"
></Input>
<Input
v-model=
"entity.guestName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('printSupply')"
prop=
"printSupply"
>
<Input
v-model=
"entity.printSupply"
></Input>
<Input
v-model=
"entity.printSupply"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('functionaryOffice')"
prop=
"functionaryOffice"
>
<Input
v-model=
"entity.functionaryOffice"
></Input>
<Input
v-model=
"entity.functionaryOffice"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainDepartmentId')"
prop=
"mainDepartmentId"
>
<Input
v-model=
"entity.mainDepartmentId"
></Input>
<Input
v-model=
"entity.mainDepartmentId"
></Input>
</FormItem>
</Col>
<Col
:span=
"24"
>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('remark')"
prop=
"remark"
>
<Input
v-model=
"entity.remark"
type=
"textarea"
:rows=
"5"
></Input>
<Input
v-model=
"entity.remark"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('taskInputDate')"
prop=
"taskInputDate"
>
<DatePicker
type=
"date"
v-model=
"entity.taskInputDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.taskInputDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('taskRequire')"
prop=
"taskRequire"
>
<Input
v-model=
"entity.taskRequire"
></Input>
<Input
v-model=
"entity.taskRequire"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('putintDocmentCode')"
prop=
"putintDocmentCode"
>
<Input
v-model=
"entity.putintDocmentCode"
></Input>
<Input
v-model=
"entity.putintDocmentCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('technologyDocmentCode')"
prop=
"technologyDocmentCode"
>
<Input
v-model=
"entity.technologyDocmentCode"
></Input>
<Input
v-model=
"entity.technologyDocmentCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('outerDrawnNumber')"
prop=
"outerDrawnNumber"
>
<Input
v-model=
"entity.outerDrawnNumber"
></Input>
<Input
v-model=
"entity.outerDrawnNumber"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('modelVersion')"
prop=
"modelVersion"
>
<Input
v-model=
"entity.modelVersion"
></Input>
<Input
v-model=
"entity.modelVersion"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('taskCode')"
prop=
"taskCode"
>
<Input
v-model=
"entity.taskCode"
></Input>
<Input
v-model=
"entity.taskCode"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('designer')"
prop=
"designer"
>
<Input
v-model=
"entity.designer"
></Input>
<Input
v-model=
"entity.designer"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('officeFunctionary')"
prop=
"officeFunctionary"
>
<Input
v-model=
"entity.officeFunctionary"
></Input>
<Input
v-model=
"entity.officeFunctionary"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingPeople')"
prop=
"mainRoutingPeople"
>
<Input
v-model=
"entity.mainRoutingPeople"
></Input>
<Input
v-model=
"entity.mainRoutingPeople"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.status"
v-model=
"entity.status"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.status"
v-model=
"entity.status"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('workHours')"
prop=
"workHours"
>
<InputNumber
v-model=
"entity.workHours"
></InputNumber>
<InputNumber
v-model=
"entity.workHours"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('printPeriod')"
prop=
"printPeriod"
>
<InputNumber
v-model=
"entity.printPeriod"
></InputNumber>
<InputNumber
v-model=
"entity.printPeriod"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('equipment')"
prop=
"equipment"
>
<Input
v-model=
"entity.equipment"
></Input>
<Input
v-model=
"entity.equipment"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('materialWeight')"
prop=
"materialWeight"
>
<InputNumber
v-model=
"entity.materialWeight"
></InputNumber>
<InputNumber
v-model=
"entity.materialWeight"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('isSupportingFinish')"
prop=
"isSupportingFinish"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_supporting_finish"
v-model=
"entity.isSupportingFinish"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_supporting_finish"
v-model=
"entity.isSupportingFinish"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('demandStartDate')"
prop=
"demandStartDate"
>
<DatePicker
type=
"date"
v-model=
"entity.demandStartDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.demandStartDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('demandFinishDate')"
prop=
"demandFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.demandFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.demandFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('actualStartDate')"
prop=
"actualStartDate"
>
<DatePicker
type=
"date"
v-model=
"entity.actualStartDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.actualStartDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('actualFinishDate')"
prop=
"actualFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.actualFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.actualFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('isDeleted')"
prop=
"isDeleted"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_deleted"
v-model=
"entity.isDeleted"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_deleted"
v-model=
"entity.isDeleted"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('creatorUserId')"
prop=
"creatorUserId"
>
<InputNumber
v-model=
"entity.creatorUserId"
></InputNumber>
<InputNumber
v-model=
"entity.creatorUserId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('creationTime')"
prop=
"creationTime"
>
<DatePicker
type=
"date"
v-model=
"entity.creationTime"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.creationTime"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('lastModifierUserId')"
prop=
"lastModifierUserId"
>
<InputNumber
v-model=
"entity.lastModifierUserId"
></InputNumber>
<InputNumber
v-model=
"entity.lastModifierUserId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('lastModificationTime')"
prop=
"lastModificationTime"
>
<DatePicker
type=
"date"
v-model=
"entity.lastModificationTime"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.lastModificationTime"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('orderQuotationStatus')"
prop=
"orderQuotationStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.order_quotation_status"
v-model=
"entity.orderQuotationStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.order_quotation_status"
v-model=
"entity.orderQuotationStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('distributeMainRouting')"
prop=
"distributeMainRouting"
>
<InputNumber
v-model=
"entity.distributeMainRouting"
></InputNumber>
<InputNumber
v-model=
"entity.distributeMainRouting"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingFinishDate')"
prop=
"mainRoutingFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingPeople')"
prop=
"majorRoutingPeople"
>
<InputNumber
v-model=
"entity.majorRoutingPeople"
></InputNumber>
<InputNumber
v-model=
"entity.majorRoutingPeople"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingFinishDate')"
prop=
"majorRoutingFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('checkUpPeople')"
prop=
"checkUpPeople"
>
<InputNumber
v-model=
"entity.checkUpPeople"
></InputNumber>
<InputNumber
v-model=
"entity.checkUpPeople"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('checkUpFinishDate')"
prop=
"checkUpFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.checkUpFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.checkUpFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productingPreparationPeople')"
prop=
"productingPreparationPeople"
>
<InputNumber
v-model=
"entity.productingPreparationPeople"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productingPreparationFinishDate')"
prop=
"productingPreparationFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.productingPreparationFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
<InputNumber
v-model=
"entity.productingPreparationPeople"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productingPreparationFinishDate')"
prop=
"productingPreparationFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.productingPreparationFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('quotationPeople')"
prop=
"quotationPeople"
>
<InputNumber
v-model=
"entity.quotationPeople"
></InputNumber>
<InputNumber
v-model=
"entity.quotationPeople"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('quotationFinishDate')"
prop=
"quotationFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.quotationFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.quotationFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('routingMethod')"
prop=
"routingMethod"
>
<Input
v-model=
"entity.routingMethod"
></Input>
<Input
v-model=
"entity.routingMethod"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('outerEnvelopeSize')"
prop=
"outerEnvelopeSize"
>
<Input
v-model=
"entity.outerEnvelopeSize"
></Input>
<Input
v-model=
"entity.outerEnvelopeSize"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('divideMark')"
prop=
"divideMark"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.divide_mark"
v-model=
"entity.divideMark"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.divide_mark"
v-model=
"entity.divideMark"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"24"
>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('productCode')"
prop=
"productCode"
>
<Input
v-model=
"entity.productCode"
type=
"textarea"
:rows=
"5"
></Input>
<Input
v-model=
"entity.productCode"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productName')"
prop=
"productName"
>
<Input
v-model=
"entity.productName"
></Input>
<Input
v-model=
"entity.productName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('drawnNumber')"
prop=
"drawnNumber"
>
<Input
v-model=
"entity.drawnNumber"
></Input>
<Input
v-model=
"entity.drawnNumber"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('qualifiedQuantity')"
prop=
"qualifiedQuantity"
>
<InputNumber
v-model=
"entity.qualifiedQuantity"
></InputNumber>
<InputNumber
v-model=
"entity.qualifiedQuantity"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('uncertificateQuantity')"
prop=
"uncertificateQuantity"
>
<InputNumber
v-model=
"entity.uncertificateQuantity"
></InputNumber>
<InputNumber
v-model=
"entity.uncertificateQuantity"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingSetStatus')"
prop=
"mainRoutingSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.main_routing_set_status"
v-model=
"entity.mainRoutingSetStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.main_routing_set_status"
v-model=
"entity.mainRoutingSetStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingSetStatus')"
prop=
"majorRoutingSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_set_status"
v-model=
"entity.majorRoutingSetStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_set_status"
v-model=
"entity.majorRoutingSetStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('materialBillSetStatus')"
prop=
"materialBillSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.material_bill_set_status"
v-model=
"entity.materialBillSetStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.material_bill_set_status"
v-model=
"entity.materialBillSetStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('routingDataSetStatus')"
prop=
"routingDataSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.routing_data_set_status"
v-model=
"entity.routingDataSetStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.routing_data_set_status"
v-model=
"entity.routingDataSetStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('rootId')"
prop=
"rootId"
>
<InputNumber
v-model=
"entity.rootId"
></InputNumber>
<InputNumber
v-model=
"entity.rootId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingExecuteStatus')"
prop=
"mainRoutingExecuteStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.main_routing_execute_status"
v-model=
"entity.mainRoutingExecuteStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.main_routing_execute_status"
v-model=
"entity.mainRoutingExecuteStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingExecuteStatus')"
prop=
"majorRoutingExecuteStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_execute_status"
v-model=
"entity.majorRoutingExecuteStatus"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_execute_status"
v-model=
"entity.majorRoutingExecuteStatus"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingActualStartDate')"
prop=
"mainRoutingActualStartDate"
>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingActualStartDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingActualStartDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('mainRoutingActualFinishDate')"
prop=
"mainRoutingActualFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingActualFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.mainRoutingActualFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingActualStartDate')"
prop=
"majorRoutingActualStartDate"
>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingActualStartDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingActualStartDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('majorRoutingActualFinishDate')"
prop=
"majorRoutingActualFinishDate"
>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingActualFinishDate"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.majorRoutingActualFinishDate"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('batchNumber')"
prop=
"batchNumber"
>
<Input
v-model=
"entity.batchNumber"
></Input>
<Input
v-model=
"entity.batchNumber"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('projectNumber')"
prop=
"projectNumber"
>
<Input
v-model=
"entity.projectNumber"
></Input>
<Input
v-model=
"entity.projectNumber"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('urgencyLevel')"
prop=
"urgencyLevel"
>
<Input
v-model=
"entity.urgencyLevel"
></Input>
<Input
v-model=
"entity.urgencyLevel"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('materialName')"
prop=
"materialName"
>
<Input
v-model=
"entity.materialName"
></Input>
<Input
v-model=
"entity.materialName"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('isPreschedule')"
prop=
"isPreschedule"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_preschedule"
v-model=
"entity.isPreschedule"
></Dictionary>
<Dictionary
code=
"aps.plan.ispreschedule"
v-model=
"entity.isPreschedule"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('spareQty')"
prop=
"spareQty"
>
<InputNumber
v-model=
"entity.spareQty"
></InputNumber>
<InputNumber
v-model=
"entity.spareQty"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('demandStart')"
prop=
"demandStart"
>
<DatePicker
type=
"date"
v-model=
"entity.demandStart"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.demandStart"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('demandFinish')"
prop=
"demandFinish"
>
<DatePicker
type=
"date"
v-model=
"entity.demandFinish"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.demandFinish"
></DatePicker>
</FormItem>
</Col>
<Col
:span=
"12"
>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('partNamePro')"
prop=
"partNamePro"
>
<Input
v-model=
"entity.partNamePro"
></Input>
<Input
v-model=
"entity.partNamePro"
></Input>
</FormItem>
</Col>
</Col>
</Row>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</FormItem>
</Form>
</Form>
</
template
>
<
script
>
import
Api
from
"./api"
;
export
default
{
name
:
"Edit"
,
data
()
{
return
{
entity
:
{},
rules
:
{
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
},
};
},
props
:
{
eid
:
Number
,
},
methods
:
{
load
(
v
)
{
Api
.
get
({
id
:
v
}).
then
((
r
)
=>
{
this
.
entity
=
r
.
result
;
this
.
$emit
(
"on-load"
);
});
},
handleSubmit
()
{
this
.
$refs
.
form
.
validate
((
v
)
=>
{
if
(
v
)
{
Api
.
update
(
this
.
entity
)
.
then
((
r
)
=>
{
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-ok"
);
}
else
{
this
.
$Message
.
error
(
"保存失败"
);
}
})
.
catch
((
err
)
=>
{
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
);
});
}
});
name
:
"Edit"
,
data
()
{
return
{
entity
:
{},
rules
:
{
name
:
[{
required
:
true
,
message
:
"必填"
,
trigger
:
"blur"
}],
},
};
},
handleClose
()
{
this
.
$emit
(
"on-close"
);
props
:
{
eid
:
Number
,
},
l
(
key
)
{
key
=
"mes_order"
+
"."
+
key
;
return
this
.
$t
(
key
);
methods
:
{
load
(
v
)
{
Api
.
get
({
id
:
v
}).
then
((
r
)
=>
{
this
.
entity
=
r
.
result
;
this
.
$emit
(
"on-load"
);
});
},
handleSubmit
()
{
this
.
$refs
.
form
.
validate
((
v
)
=>
{
if
(
v
)
{
Api
.
update
(
this
.
entity
)
.
then
((
r
)
=>
{
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-ok"
);
}
else
{
this
.
$Message
.
error
(
"保存失败"
);
}
})
.
catch
((
err
)
=>
{
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
);
});
}
});
},
handleClose
()
{
this
.
$emit
(
"on-close"
);
},
l
(
key
)
{
key
=
"mes_order"
+
"."
+
key
;
return
this
.
$t
(
key
);
},
},
},
watch
:
{
eid
(
v
)
{
if
(
v
!=
0
)
{
this
.
load
(
v
);
}
watch
:
{
eid
(
v
)
{
if
(
v
!=
0
)
{
this
.
load
(
v
);
}
},
},
},
};
</
script
>
pages/aps/plan/index.vue
View file @
aeaf3799
...
...
@@ -266,6 +266,14 @@ export default {
high
:
true
,
hide
:
true
,
},
{
key
:
"isPreschedule"
,
title
:
this
.
l
(
"isPreschedule"
),
align
:
"center"
,
width
:
100
,
high
:
true
,
code
:
"aps.plan.ispreschedule"
,
},
{
key
:
"demandStart"
,
title
:
this
.
l
(
"demandStart"
),
...
...
pages/aps/plan/search.vue
View file @
aeaf3799
<
template
>
<Form
ref=
"form"
:model=
"condition"
:label-width=
"90"
>
<Form
ref=
"form"
:model=
"condition"
:label-width=
"90"
>
<Row>
<Col
span=
"8"
v-if=
"condition.id.show"
>
<Col
span=
"8"
v-if=
"condition.id.show"
>
<FormItem
:label=
"l('id')"
prop=
"id"
>
<Input
v-model=
"condition.id.value"
></Input>
<Input
v-model=
"condition.id.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.upId.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.upId.show"
>
<FormItem
:label=
"l('upId')"
prop=
"upId"
>
<Input
v-model=
"condition.upId.value"
></Input>
<Input
v-model=
"condition.upId.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.mesCode.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.mesCode.show"
>
<FormItem
:label=
"l('mesCode')"
prop=
"mesCode"
>
<Input
v-model=
"condition.mesCode.value"
></Input>
<Input
v-model=
"condition.mesCode.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.taskType.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.taskType.show"
>
<FormItem
:label=
"l('taskType')"
prop=
"taskType"
>
<Input
v-model=
"condition.taskType.value"
></Input>
<Input
v-model=
"condition.taskType.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.productId.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.productId.show"
>
<FormItem
:label=
"l('productId')"
prop=
"productId"
>
<Input
v-model=
"condition.productId.value"
></Input>
<Input
v-model=
"condition.productId.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.stage.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.stage.show"
>
<FormItem
:label=
"l('stage')"
prop=
"stage"
>
<Input
v-model=
"condition.stage.value"
></Input>
<Input
v-model=
"condition.stage.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.materialId.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.materialId.show"
>
<FormItem
:label=
"l('materialId')"
prop=
"materialId"
>
<Input
v-model=
"condition.materialId.value"
></Input>
<Input
v-model=
"condition.materialId.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.quantity.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.quantity.show"
>
<FormItem
:label=
"l('quantity')"
prop=
"quantity"
>
<Input
v-model=
"condition.quantity.value"
></Input>
<Input
v-model=
"condition.quantity.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.guestName.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.guestName.show"
>
<FormItem
:label=
"l('guestName')"
prop=
"guestName"
>
<Input
v-model=
"condition.guestName.value"
></Input>
<Input
v-model=
"condition.guestName.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.printSupply.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.printSupply.show"
>
<FormItem
:label=
"l('printSupply')"
prop=
"printSupply"
>
<Input
v-model=
"condition.printSupply.value"
></Input>
<Input
v-model=
"condition.printSupply.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.functionaryOffice.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.functionaryOffice.show"
>
<FormItem
:label=
"l('functionaryOffice')"
prop=
"functionaryOffice"
>
<Input
v-model=
"condition.functionaryOffice.value"
></Input>
<Input
v-model=
"condition.functionaryOffice.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.mainDepartmentId.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.mainDepartmentId.show"
>
<FormItem
:label=
"l('mainDepartmentId')"
prop=
"mainDepartmentId"
>
<Input
v-model=
"condition.mainDepartmentId.value"
></Input>
<Input
v-model=
"condition.mainDepartmentId.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.remark.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.remark.show"
>
<FormItem
:label=
"l('remark')"
prop=
"remark"
>
<Input
v-model=
"condition.remark.value"
></Input>
<Input
v-model=
"condition.remark.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.taskInputDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.taskInputDate.show"
>
<FormItem
:label=
"l('taskInputDate')"
prop=
"taskInputDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.taskInputDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.taskInputDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.taskRequire.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.taskRequire.show"
>
<FormItem
:label=
"l('taskRequire')"
prop=
"taskRequire"
>
<Input
v-model=
"condition.taskRequire.value"
></Input>
<Input
v-model=
"condition.taskRequire.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.putintDocmentCode.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.putintDocmentCode.show"
>
<FormItem
:label=
"l('putintDocmentCode')"
prop=
"putintDocmentCode"
>
<Input
v-model=
"condition.putintDocmentCode.value"
></Input>
<Input
v-model=
"condition.putintDocmentCode.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.technologyDocmentCode.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.technologyDocmentCode.show"
>
<FormItem
:label=
"l('technologyDocmentCode')"
prop=
"technologyDocmentCode"
>
<Input
v-model=
"condition.technologyDocmentCode.value"
></Input>
<Input
v-model=
"condition.technologyDocmentCode.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.outerDrawnNumber.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.outerDrawnNumber.show"
>
<FormItem
:label=
"l('outerDrawnNumber')"
prop=
"outerDrawnNumber"
>
<Input
v-model=
"condition.outerDrawnNumber.value"
></Input>
<Input
v-model=
"condition.outerDrawnNumber.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.modelVersion.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.modelVersion.show"
>
<FormItem
:label=
"l('modelVersion')"
prop=
"modelVersion"
>
<Input
v-model=
"condition.modelVersion.value"
></Input>
<Input
v-model=
"condition.modelVersion.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.taskCode.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.taskCode.show"
>
<FormItem
:label=
"l('taskCode')"
prop=
"taskCode"
>
<Input
v-model=
"condition.taskCode.value"
></Input>
<Input
v-model=
"condition.taskCode.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.designer.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.designer.show"
>
<FormItem
:label=
"l('designer')"
prop=
"designer"
>
<Input
v-model=
"condition.designer.value"
></Input>
<Input
v-model=
"condition.designer.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.officeFunctionary.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.officeFunctionary.show"
>
<FormItem
:label=
"l('officeFunctionary')"
prop=
"officeFunctionary"
>
<Input
v-model=
"condition.officeFunctionary.value"
></Input>
<Input
v-model=
"condition.officeFunctionary.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingPeople.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingPeople.show"
>
<FormItem
:label=
"l('mainRoutingPeople')"
prop=
"mainRoutingPeople"
>
<Input
v-model=
"condition.mainRoutingPeople.value"
></Input>
<Input
v-model=
"condition.mainRoutingPeople.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.status.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.status.show"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<Dictionary
code=
"plan.order.status"
v-model=
"condition.status.value"
></Dictionary>
<Dictionary
code=
"plan.order.status"
v-model=
"condition.status.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.workHours.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.workHours.show"
>
<FormItem
:label=
"l('workHours')"
prop=
"workHours"
>
<Input
v-model=
"condition.workHours.value"
></Input>
<Input
v-model=
"condition.workHours.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.printPeriod.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.printPeriod.show"
>
<FormItem
:label=
"l('printPeriod')"
prop=
"printPeriod"
>
<Input
v-model=
"condition.printPeriod.value"
></Input>
<Input
v-model=
"condition.printPeriod.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.equipment.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.equipment.show"
>
<FormItem
:label=
"l('equipment')"
prop=
"equipment"
>
<Input
v-model=
"condition.equipment.value"
></Input>
<Input
v-model=
"condition.equipment.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.materialWeight.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.materialWeight.show"
>
<FormItem
:label=
"l('materialWeight')"
prop=
"materialWeight"
>
<Input
v-model=
"condition.materialWeight.value"
></Input>
<Input
v-model=
"condition.materialWeight.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.isSupportingFinish.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.isSupportingFinish.show"
>
<FormItem
:label=
"l('isSupportingFinish')"
prop=
"isSupportingFinish"
>
<Dictionary
code=
"aps.plan.supportingStatus"
v-model=
"condition.isSupportingFinish.value"
></Dictionary>
<Dictionary
code=
"aps.plan.supportingStatus"
v-model=
"condition.isSupportingFinish.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.demandStartDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.demandStartDate.show"
>
<FormItem
:label=
"l('demandStartDate')"
prop=
"demandStartDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.demandStartDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.demandStartDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.demandFinishDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.demandFinishDate.show"
>
<FormItem
:label=
"l('demandFinishDate')"
prop=
"demandFinishDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.demandFinishDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.demandFinishDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.actualStartDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.actualStartDate.show"
>
<FormItem
:label=
"l('actualStartDate')"
prop=
"actualStartDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.actualStartDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.actualStartDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.actualFinishDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.actualFinishDate.show"
>
<FormItem
:label=
"l('actualFinishDate')"
prop=
"actualFinishDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.actualFinishDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.actualFinishDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.isDeleted.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.isDeleted.show"
>
<FormItem
:label=
"l('isDeleted')"
prop=
"isDeleted"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_deleted"
v-model=
"condition.isDeleted.value"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_deleted"
v-model=
"condition.isDeleted.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.creatorUserId.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.creatorUserId.show"
>
<FormItem
:label=
"l('creatorUserId')"
prop=
"creatorUserId"
>
<Input
v-model=
"condition.creatorUserId.value"
></Input>
<Input
v-model=
"condition.creatorUserId.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.creationTime.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.creationTime.show"
>
<FormItem
:label=
"l('creationTime')"
prop=
"creationTime"
>
<DatePicker
type=
"daterange"
v-model=
"condition.creationTime.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.creationTime.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.lastModifierUserId.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.lastModifierUserId.show"
>
<FormItem
:label=
"l('lastModifierUserId')"
prop=
"lastModifierUserId"
>
<Input
v-model=
"condition.lastModifierUserId.value"
></Input>
<Input
v-model=
"condition.lastModifierUserId.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.lastModificationTime.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.lastModificationTime.show"
>
<FormItem
:label=
"l('lastModificationTime')"
prop=
"lastModificationTime"
>
<DatePicker
type=
"daterange"
v-model=
"condition.lastModificationTime.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.lastModificationTime.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.orderQuotationStatus.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.orderQuotationStatus.show"
>
<FormItem
:label=
"l('orderQuotationStatus')"
prop=
"orderQuotationStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.order_quotation_status"
v-model=
"condition.orderQuotationStatus.value"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.order_quotation_status"
v-model=
"condition.orderQuotationStatus.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.distributeMainRouting.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.distributeMainRouting.show"
>
<FormItem
:label=
"l('distributeMainRouting')"
prop=
"distributeMainRouting"
>
<Input
v-model=
"condition.distributeMainRouting.value"
></Input>
<Input
v-model=
"condition.distributeMainRouting.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingFinishDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingFinishDate.show"
>
<FormItem
:label=
"l('mainRoutingFinishDate')"
prop=
"mainRoutingFinishDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.mainRoutingFinishDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.mainRoutingFinishDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingPeople.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingPeople.show"
>
<FormItem
:label=
"l('majorRoutingPeople')"
prop=
"majorRoutingPeople"
>
<Input
v-model=
"condition.majorRoutingPeople.value"
></Input>
<Input
v-model=
"condition.majorRoutingPeople.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingFinishDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingFinishDate.show"
>
<FormItem
:label=
"l('majorRoutingFinishDate')"
prop=
"majorRoutingFinishDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.majorRoutingFinishDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.majorRoutingFinishDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.checkUpPeople.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.checkUpPeople.show"
>
<FormItem
:label=
"l('checkUpPeople')"
prop=
"checkUpPeople"
>
<Input
v-model=
"condition.checkUpPeople.value"
></Input>
<Input
v-model=
"condition.checkUpPeople.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.checkUpFinishDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.checkUpFinishDate.show"
>
<FormItem
:label=
"l('checkUpFinishDate')"
prop=
"checkUpFinishDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.checkUpFinishDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.checkUpFinishDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.productingPreparationPeople.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.productingPreparationPeople.show"
>
<FormItem
:label=
"l('productingPreparationPeople')"
prop=
"productingPreparationPeople"
>
<Input
v-model=
"condition.productingPreparationPeople.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.productingPreparationFinishDate.show"
>
<FormItem
:label=
"l('productingPreparationFinishDate')"
prop=
"productingPreparationFinishDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.productingPreparationFinishDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.quotationPeople.show"
>
<Input
v-model=
"condition.productingPreparationPeople.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.productingPreparationFinishDate.show"
>
<FormItem
:label=
"l('productingPreparationFinishDate')"
prop=
"productingPreparationFinishDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.productingPreparationFinishDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.quotationPeople.show"
>
<FormItem
:label=
"l('quotationPeople')"
prop=
"quotationPeople"
>
<Input
v-model=
"condition.quotationPeople.value"
></Input>
<Input
v-model=
"condition.quotationPeople.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.quotationFinishDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.quotationFinishDate.show"
>
<FormItem
:label=
"l('quotationFinishDate')"
prop=
"quotationFinishDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.quotationFinishDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.quotationFinishDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.routingMethod.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.routingMethod.show"
>
<FormItem
:label=
"l('routingMethod')"
prop=
"routingMethod"
>
<Input
v-model=
"condition.routingMethod.value"
></Input>
<Input
v-model=
"condition.routingMethod.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.outerEnvelopeSize.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.outerEnvelopeSize.show"
>
<FormItem
:label=
"l('outerEnvelopeSize')"
prop=
"outerEnvelopeSize"
>
<Input
v-model=
"condition.outerEnvelopeSize.value"
></Input>
<Input
v-model=
"condition.outerEnvelopeSize.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.divideMark.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.divideMark.show"
>
<FormItem
:label=
"l('divideMark')"
prop=
"divideMark"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.divide_mark"
v-model=
"condition.divideMark.value"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.divide_mark"
v-model=
"condition.divideMark.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.productCode.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.productCode.show"
>
<FormItem
:label=
"l('productCode')"
prop=
"productCode"
>
<Input
v-model=
"condition.productCode.value"
></Input>
<Input
v-model=
"condition.productCode.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.productName.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.productName.show"
>
<FormItem
:label=
"l('productName')"
prop=
"productName"
>
<Input
v-model=
"condition.productName.value"
></Input>
<Input
v-model=
"condition.productName.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.drawnNumber.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.drawnNumber.show"
>
<FormItem
:label=
"l('drawnNumber')"
prop=
"drawnNumber"
>
<Input
v-model=
"condition.drawnNumber.value"
></Input>
<Input
v-model=
"condition.drawnNumber.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.qualifiedQuantity.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.qualifiedQuantity.show"
>
<FormItem
:label=
"l('qualifiedQuantity')"
prop=
"qualifiedQuantity"
>
<Input
v-model=
"condition.qualifiedQuantity.value"
></Input>
<Input
v-model=
"condition.qualifiedQuantity.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.uncertificateQuantity.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.uncertificateQuantity.show"
>
<FormItem
:label=
"l('uncertificateQuantity')"
prop=
"uncertificateQuantity"
>
<Input
v-model=
"condition.uncertificateQuantity.value"
></Input>
<Input
v-model=
"condition.uncertificateQuantity.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingSetStatus.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingSetStatus.show"
>
<FormItem
:label=
"l('mainRoutingSetStatus')"
prop=
"mainRoutingSetStatus"
>
<Dictionary
code=
"aps.plan.mainRoutingStatus"
v-model=
"condition.mainRoutingSetStatus.value"
></Dictionary>
<Dictionary
code=
"aps.plan.mainRoutingStatus"
v-model=
"condition.mainRoutingSetStatus.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingSetStatus.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingSetStatus.show"
>
<FormItem
:label=
"l('majorRoutingSetStatus')"
prop=
"majorRoutingSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_set_status"
v-model=
"condition.majorRoutingSetStatus.value"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_set_status"
v-model=
"condition.majorRoutingSetStatus.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.materialBillSetStatus.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.materialBillSetStatus.show"
>
<FormItem
:label=
"l('materialBillSetStatus')"
prop=
"materialBillSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.material_bill_set_status"
v-model=
"condition.materialBillSetStatus.value"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.material_bill_set_status"
v-model=
"condition.materialBillSetStatus.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.routingDataSetStatus.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.routingDataSetStatus.show"
>
<FormItem
:label=
"l('routingDataSetStatus')"
prop=
"routingDataSetStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.routing_data_set_status"
v-model=
"condition.routingDataSetStatus.value"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.routing_data_set_status"
v-model=
"condition.routingDataSetStatus.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.rootId.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.rootId.show"
>
<FormItem
:label=
"l('rootId')"
prop=
"rootId"
>
<Input
v-model=
"condition.rootId.value"
></Input>
<Input
v-model=
"condition.rootId.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingExecuteStatus.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingExecuteStatus.show"
>
<FormItem
:label=
"l('mainRoutingExecuteStatus')"
prop=
"mainRoutingExecuteStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.main_routing_execute_status"
v-model=
"condition.mainRoutingExecuteStatus.value"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.main_routing_execute_status"
v-model=
"condition.mainRoutingExecuteStatus.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingExecuteStatus.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingExecuteStatus.show"
>
<FormItem
:label=
"l('majorRoutingExecuteStatus')"
prop=
"majorRoutingExecuteStatus"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_execute_status"
v-model=
"condition.majorRoutingExecuteStatus.value"
></Dictionary>
<Dictionary
code=
"mes_xingchi_plan.mes_order.major_routing_execute_status"
v-model=
"condition.majorRoutingExecuteStatus.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingActualStartDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingActualStartDate.show"
>
<FormItem
:label=
"l('mainRoutingActualStartDate')"
prop=
"mainRoutingActualStartDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.mainRoutingActualStartDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.mainRoutingActualStartDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingActualFinishDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.mainRoutingActualFinishDate.show"
>
<FormItem
:label=
"l('mainRoutingActualFinishDate')"
prop=
"mainRoutingActualFinishDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.mainRoutingActualFinishDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.mainRoutingActualFinishDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingActualStartDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingActualStartDate.show"
>
<FormItem
:label=
"l('majorRoutingActualStartDate')"
prop=
"majorRoutingActualStartDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.majorRoutingActualStartDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.majorRoutingActualStartDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingActualFinishDate.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.majorRoutingActualFinishDate.show"
>
<FormItem
:label=
"l('majorRoutingActualFinishDate')"
prop=
"majorRoutingActualFinishDate"
>
<DatePicker
type=
"daterange"
v-model=
"condition.majorRoutingActualFinishDate.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.majorRoutingActualFinishDate.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.batchNumber.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.batchNumber.show"
>
<FormItem
:label=
"l('batchNumber')"
prop=
"batchNumber"
>
<Input
v-model=
"condition.batchNumber.value"
></Input>
<Input
v-model=
"condition.batchNumber.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.projectNumber.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.projectNumber.show"
>
<FormItem
:label=
"l('projectNumber')"
prop=
"projectNumber"
>
<Input
v-model=
"condition.projectNumber.value"
></Input>
<Input
v-model=
"condition.projectNumber.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.urgencyLevel.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.urgencyLevel.show"
>
<FormItem
:label=
"l('urgencyLevel')"
prop=
"urgencyLevel"
>
<Dictionary
code=
"plan.order.urgencyLevel"
v-model=
"condition.urgencyLevel.value"
></Dictionary>
<Dictionary
code=
"plan.order.urgencyLevel"
v-model=
"condition.urgencyLevel.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.materialName.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.materialName.show"
>
<FormItem
:label=
"l('materialName')"
prop=
"materialName"
>
<Input
v-model=
"condition.materialName.value"
></Input>
<Input
v-model=
"condition.materialName.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.isPreschedule.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.isPreschedule.show"
>
<FormItem
:label=
"l('isPreschedule')"
prop=
"isPreschedule"
>
<Dictionary
code=
"mes_xingchi_plan.mes_order.is_preschedule"
v-model=
"condition.isPreschedule.value"
></Dictionary>
<Dictionary
code=
"aps.plan.ispreschedule"
v-model=
"condition.isPreschedule.value"
></Dictionary>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.spareQty.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.spareQty.show"
>
<FormItem
:label=
"l('spareQty')"
prop=
"spareQty"
>
<Input
v-model=
"condition.spareQty.value"
></Input>
<Input
v-model=
"condition.spareQty.value"
></Input>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.demandStart.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.demandStart.show"
>
<FormItem
:label=
"l('demandStart')"
prop=
"demandStart"
>
<DatePicker
type=
"daterange"
v-model=
"condition.demandStart.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.demandStart.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.demandFinish.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.demandFinish.show"
>
<FormItem
:label=
"l('demandFinish')"
prop=
"demandFinish"
>
<DatePicker
type=
"daterange"
v-model=
"condition.demandFinish.value"
></DatePicker>
<DatePicker
type=
"daterange"
v-model=
"condition.demandFinish.value"
></DatePicker>
</FormItem>
</Col>
<Col
span=
"8"
v-if=
"condition.partNamePro.show"
>
</Col>
<Col
span=
"8"
v-if=
"condition.partNamePro.show"
>
<FormItem
:label=
"l('partNamePro')"
prop=
"partNamePro"
>
<Input
v-model=
"condition.partNamePro.value"
></Input>
<Input
v-model=
"condition.partNamePro.value"
></Input>
</FormItem>
</Col>
</Col>
</Row>
</Form>
</Form>
</
template
>
<
script
>
import
Api
from
'./api'
export
default
{
name
:
'Add'
,
data
()
{
return
{
condition
:
{
id
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
upId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mesCode
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
taskType
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
productId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
stage
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
materialId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
quantity
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
guestName
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
printSupply
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
functionaryOffice
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mainDepartmentId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
remark
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
taskInputDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
true
},
taskRequire
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
putintDocmentCode
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
technologyDocmentCode
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
outerDrawnNumber
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
modelVersion
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
taskCode
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
designer
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
officeFunctionary
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mainRoutingPeople
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
status
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
workHours
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
printPeriod
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
equipment
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
materialWeight
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
isSupportingFinish
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
demandStartDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
true
},
demandFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
true
},
actualStartDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
actualFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
isDeleted
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
creatorUserId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
creationTime
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
lastModifierUserId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
lastModificationTime
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
orderQuotationStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
distributeMainRouting
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mainRoutingFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
majorRoutingPeople
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
majorRoutingFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
checkUpPeople
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
checkUpFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
productingPreparationPeople
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
productingPreparationFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
quotationPeople
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
quotationFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
routingMethod
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
outerEnvelopeSize
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
divideMark
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
productCode
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
productName
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
drawnNumber
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
qualifiedQuantity
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
uncertificateQuantity
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
mainRoutingSetStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
majorRoutingSetStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
materialBillSetStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
routingDataSetStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
rootId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mainRoutingExecuteStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
majorRoutingExecuteStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mainRoutingActualStartDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
mainRoutingActualFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
majorRoutingActualStartDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
majorRoutingActualFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
batchNumber
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
projectNumber
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
urgencyLevel
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
materialName
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
isPreschedule
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
spareQty
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
demandStart
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
demandFinish
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
partNamePro
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
}
}
}
},
methods
:
{
handleClose
()
{
this
.
$emit
(
'on-close'
)
name
:
'Add'
,
data
()
{
return
{
condition
:
{
id
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
upId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mesCode
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
taskType
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
productId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
stage
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
materialId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
quantity
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
guestName
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
printSupply
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
functionaryOffice
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mainDepartmentId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
remark
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
taskInputDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
true
},
taskRequire
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
putintDocmentCode
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
technologyDocmentCode
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
outerDrawnNumber
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
modelVersion
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
taskCode
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
designer
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
officeFunctionary
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mainRoutingPeople
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
status
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
workHours
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
printPeriod
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
equipment
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
materialWeight
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
isSupportingFinish
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
demandStartDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
true
},
demandFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
true
},
actualStartDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
actualFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
isDeleted
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
creatorUserId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
creationTime
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
lastModifierUserId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
lastModificationTime
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
orderQuotationStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
distributeMainRouting
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mainRoutingFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
majorRoutingPeople
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
majorRoutingFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
checkUpPeople
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
checkUpFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
productingPreparationPeople
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
productingPreparationFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
quotationPeople
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
quotationFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
routingMethod
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
outerEnvelopeSize
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
divideMark
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
productCode
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
productName
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
drawnNumber
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
qualifiedQuantity
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
uncertificateQuantity
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
mainRoutingSetStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
majorRoutingSetStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
materialBillSetStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
routingDataSetStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
rootId
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mainRoutingExecuteStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
majorRoutingExecuteStatus
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
mainRoutingActualStartDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
mainRoutingActualFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
majorRoutingActualStartDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
majorRoutingActualFinishDate
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
batchNumber
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
projectNumber
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
urgencyLevel
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
materialName
:
{
op
:
'Equal'
,
value
:
null
,
show
:
true
},
isPreschedule
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
spareQty
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
},
demandStart
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
demandFinish
:
{
op
:
'Range'
,
value
:
null
,
show
:
false
},
partNamePro
:
{
op
:
'Equal'
,
value
:
null
,
show
:
false
}
}
}
},
l
(
key
)
{
key
=
'mes_order'
+
'.'
+
key
return
this
.
$t
(
key
)
methods
:
{
handleClose
()
{
this
.
$emit
(
'on-close'
)
},
l
(
key
)
{
key
=
'mes_order'
+
'.'
+
key
return
this
.
$t
(
key
)
}
}
}
}
</
script
>
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