You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

131 lines
3.2 KiB

<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>