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

  1. <template>
  2. <div class="produce-report">
  3. <el-dialog v-drag
  4. width="320px" class="customer-dialog"
  5. :title="titleCon" v-bind="$attrs" v-on="$listeners">
  6. <el-form :inline="true" label-position="top" style="height: 330px;"
  7. label-width="80px">
  8. <!-- 菜单 -->
  9. <fieldset class="customer-fieldset"
  10. style="margin-left: 0px; margin-top: 10px; width: 300px; height: 320px;">
  11. <el-form>
  12. <el-form-item>
  13. <el-button class="customer-bun-mid" type="primary" @click="choseMethod('splitSchedule')" style="margin-left: 20px; margin-top: 20px; margin-bottom: 25px;">
  14. 分批排产
  15. </el-button>
  16. </el-form-item>
  17. <el-form-item>
  18. <el-button class="customer-bun-mid" type="primary" @click="choseMethod('reSchedule')" style="margin-left: 20px; margin-top: 20px;">
  19. 重新排产
  20. </el-button>
  21. </el-form-item>
  22. <el-form-item style="margin-top: 20px;">
  23. <el-button class="customer-bun-mid" type="primary" @click="" style="margin-left: 20px; margin-bottom: 5px;">
  24. 开始调机
  25. </el-button>
  26. </el-form-item>
  27. <el-form-item style="margin-top: 30px;">
  28. <el-button class="customer-bun-mid" type="primary" @click="" style="margin-left: 20px; margin-bottom: 5px;">
  29. 开始生产
  30. </el-button>
  31. </el-form-item>
  32. </el-form>
  33. </fieldset>
  34. </el-form>
  35. </el-dialog>
  36. </div>
  37. </template>
  38. <script>
  39. /*生产过程的停机组件*/
  40. export default {
  41. name: "com_open_routing_menu",
  42. data() {
  43. return {
  44. titleCon: '主表菜单',
  45. pageData: {
  46. site: this.$store.state.user.site,
  47. userName: this.$store.state.user.name,
  48. seqNo: '',
  49. orderNo: '',
  50. itemNo: 0,
  51. resourceId: '',
  52. shiftNo: '',
  53. partNo: '',
  54. workCenterNo: '',
  55. operatorId: ''
  56. },
  57. operatorData: {
  58. site: this.$store.state.user.site,
  59. username: this.$store.state.user.name,
  60. operatorId: '',
  61. operatorName: '',
  62. status: '',
  63. showFlag: false
  64. },
  65. }
  66. },
  67. methods: {
  68. /*初始化页面的方法*/
  69. init(routingRow){
  70. },
  71. /*关闭modal*/
  72. closeDialog(){
  73. this.$emit('update:visible', false);
  74. },
  75. /*选择方法 回调方法*/
  76. choseMethod(methodName){
  77. //关闭当前的组件
  78. this.closeDialog();
  79. //处理结束卷组件的方法
  80. this.$emit('initProcessRoutingMenu', methodName);
  81. },
  82. },
  83. created() {
  84. // this.factoryList()
  85. // this.getLanguageList()
  86. }
  87. }
  88. </script>
  89. <style scoped lang="scss">
  90. /deep/ .customer-tab .el-tabs__content {
  91. padding: 0px !important;
  92. }
  93. /*当前按钮的通用样式*/
  94. .customer-css .customer-bun-mid{
  95. width: 60px;
  96. text-align: center;
  97. }
  98. .customer-css .customer-bun-min{
  99. width: 50px;
  100. text-align: center;
  101. }
  102. .customer-css .customer-bun-max{
  103. width: 80px;
  104. text-align: center;
  105. }
  106. /*当前按钮的通用样式*/
  107. .customer-css .el-button--medium {
  108. padding: 5px 5px;
  109. }
  110. .customer-css .customer-roll-css span{
  111. font-size: 16px;
  112. color: #387877;
  113. }
  114. </style>