9 changed files with 469 additions and 28 deletions
-
6src/api/schedule/order_schedule.js
-
2src/api/yieldReport/produce_report_normal.js
-
1src/icons/svg/icon-open-menu.svg
-
131src/views/modules/schedule/com_open_routing_menu.vue
-
119src/views/modules/schedule/com_open_schedule_menu.vue
-
9src/views/modules/schedule/com_split_schedule.vue
-
184src/views/modules/schedule/order_schedule.vue
-
11src/views/modules/yieldReport/com_produce_report_normal.vue
-
34src/views/modules/yieldReport/com_switch_operator.vue
@ -0,0 +1 @@ |
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1646126361695" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2246" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M192.037 287.953h640.124c17.673 0 32-14.327 32-32s-14.327-32-32-32H192.037c-17.673 0-32 14.327-32 32s14.327 32 32 32zM192.028 543.17h393.608c17.673 0 32-14.327 32-32s-14.327-32-32-32H192.028c-17.673 0-32 14.327-32 32s14.327 32 32 32zM832.161 735.802H192.037c-17.673 0-32 14.327-32 32s14.327 32 32 32h640.124c17.673 0 32-14.327 32-32s-14.327-32-32-32zM705.162 671.594l160-160-160-160z" fill="" p-id="2247"></path></svg> |
|||
@ -0,0 +1,131 @@ |
|||
<template> |
|||
<div class="produce-report"> |
|||
<el-dialog v-drag |
|||
width="320px" class="customer-dialog" |
|||
:title="titleCon" v-bind="$attrs" v-on="$listeners"> |
|||
<el-form :inline="true" label-position="top" style="height: 330px;" |
|||
label-width="80px"> |
|||
<!-- 菜单 --> |
|||
<fieldset class="customer-fieldset" |
|||
style="margin-left: 0px; margin-top: 10px; width: 300px; height: 320px;"> |
|||
<el-form> |
|||
<el-form-item> |
|||
<el-button class="customer-bun-mid" type="primary" @click="choseMethod('splitSchedule')" style="margin-left: 20px; margin-top: 20px; margin-bottom: 25px;"> |
|||
分批排产 |
|||
</el-button> |
|||
</el-form-item> |
|||
<el-form-item> |
|||
<el-button class="customer-bun-mid" type="primary" @click="choseMethod('reSchedule')" style="margin-left: 20px; margin-top: 20px;"> |
|||
重新排产 |
|||
</el-button> |
|||
</el-form-item> |
|||
<el-form-item style="margin-top: 20px;"> |
|||
<el-button class="customer-bun-mid" type="primary" @click="" style="margin-left: 20px; margin-bottom: 5px;"> |
|||
开始调机 |
|||
</el-button> |
|||
</el-form-item> |
|||
<el-form-item style="margin-top: 30px;"> |
|||
<el-button class="customer-bun-mid" type="primary" @click="" style="margin-left: 20px; margin-bottom: 5px;"> |
|||
开始生产 |
|||
</el-button> |
|||
</el-form-item> |
|||
</el-form> |
|||
</fieldset> |
|||
</el-form> |
|||
</el-dialog> |
|||
|
|||
|
|||
|
|||
</div> |
|||
|
|||
</template> |
|||
|
|||
<script> |
|||
/*生产过程的停机组件*/ |
|||
export default { |
|||
name: "com_open_routing_menu", |
|||
data() { |
|||
return { |
|||
titleCon: '主表菜单', |
|||
pageData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
itemNo: 0, |
|||
resourceId: '', |
|||
shiftNo: '', |
|||
partNo: '', |
|||
workCenterNo: '', |
|||
operatorId: '' |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
showFlag: false |
|||
}, |
|||
} |
|||
}, |
|||
methods: { |
|||
/*初始化页面的方法*/ |
|||
init(routingRow){ |
|||
|
|||
}, |
|||
/*关闭modal*/ |
|||
closeDialog(){ |
|||
this.$emit('update:visible', false); |
|||
}, |
|||
|
|||
/*选择方法 回调方法*/ |
|||
choseMethod(methodName){ |
|||
//关闭当前的组件 |
|||
this.closeDialog(); |
|||
//处理结束卷组件的方法 |
|||
this.$emit('initProcessRoutingMenu', methodName); |
|||
}, |
|||
|
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
/deep/ .customer-tab .el-tabs__content { |
|||
padding: 0px !important; |
|||
} |
|||
|
|||
/*当前按钮的通用样式*/ |
|||
.customer-css .customer-bun-mid{ |
|||
width: 60px; |
|||
text-align: center; |
|||
} |
|||
|
|||
.customer-css .customer-bun-min{ |
|||
width: 50px; |
|||
text-align: center; |
|||
} |
|||
|
|||
.customer-css .customer-bun-max{ |
|||
width: 80px; |
|||
text-align: center; |
|||
} |
|||
/*当前按钮的通用样式*/ |
|||
.customer-css .el-button--medium { |
|||
padding: 5px 5px; |
|||
} |
|||
|
|||
.customer-css .customer-roll-css span{ |
|||
font-size: 16px; |
|||
color: #387877; |
|||
} |
|||
|
|||
|
|||
</style> |
|||
@ -0,0 +1,119 @@ |
|||
<template> |
|||
<div class="produce-report"> |
|||
<el-dialog v-drag |
|||
width="320px" class="customer-dialog" |
|||
:title="titleCon" v-bind="$attrs" v-on="$listeners"> |
|||
<el-form :inline="true" label-position="top" style="height: 330px;" |
|||
label-width="80px"> |
|||
<!-- 菜单 --> |
|||
<fieldset class="customer-fieldset" |
|||
style="margin-left: 0px; margin-top: 10px; width: 300px; height: 320px;"> |
|||
<el-form> |
|||
<el-form-item> |
|||
<el-button class="customer-bun-mid" type="primary" style="margin-left: 20px; margin-top: 20px; margin-bottom: 25px;"> |
|||
分批排产 |
|||
</el-button> |
|||
</el-form-item> |
|||
<el-form-item> |
|||
<el-button class="customer-bun-mid" type="primary" @click="" style="margin-left: 20px; margin-top: 20px;"> |
|||
切换用户 |
|||
</el-button> |
|||
</el-form-item> |
|||
<el-form-item style="margin-top: 20px;"> |
|||
<el-button class="customer-bun-mid" type="primary" @click="" style="margin-left: 20px; margin-bottom: 5px;"> |
|||
开始调机 |
|||
</el-button> |
|||
</el-form-item> |
|||
<el-form-item style="margin-top: 30px;"> |
|||
<el-button class="customer-bun-mid" type="primary" @click="" style="margin-left: 20px; margin-bottom: 5px;"> |
|||
开始生产 |
|||
</el-button> |
|||
</el-form-item> |
|||
</el-form> |
|||
</fieldset> |
|||
</el-form> |
|||
</el-dialog> |
|||
|
|||
|
|||
|
|||
</div> |
|||
|
|||
</template> |
|||
|
|||
<script> |
|||
/*生产过程的停机组件*/ |
|||
export default { |
|||
name: "com_open_schedule_menu", |
|||
data() { |
|||
return { |
|||
titleCon: '派工单菜单', |
|||
pageData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
itemNo: 0, |
|||
resourceId: '', |
|||
shiftNo: '', |
|||
partNo: '', |
|||
workCenterNo: '', |
|||
operatorId: '' |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
showFlag: false |
|||
}, |
|||
} |
|||
}, |
|||
methods: { |
|||
/*初始化页面的方法*/ |
|||
init(routingRow){ |
|||
|
|||
}, |
|||
|
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
/deep/ .customer-tab .el-tabs__content { |
|||
padding: 0px !important; |
|||
} |
|||
|
|||
/*当前按钮的通用样式*/ |
|||
.customer-css .customer-bun-mid{ |
|||
width: 60px; |
|||
text-align: center; |
|||
} |
|||
|
|||
.customer-css .customer-bun-min{ |
|||
width: 50px; |
|||
text-align: center; |
|||
} |
|||
|
|||
.customer-css .customer-bun-max{ |
|||
width: 80px; |
|||
text-align: center; |
|||
} |
|||
/*当前按钮的通用样式*/ |
|||
.customer-css .el-button--medium { |
|||
padding: 5px 5px; |
|||
} |
|||
|
|||
.customer-css .customer-roll-css span{ |
|||
font-size: 16px; |
|||
color: #387877; |
|||
} |
|||
|
|||
|
|||
</style> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue