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.

135 lines
3.2 KiB

4 years ago
4 years ago
  1. <template>
  2. <div class="customer-css">
  3. <el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners"
  4. width="210px" style="height: 680px;" class="customer-dialog">
  5. <el-form :inline="true" label-position="top" style="height: 60px;"
  6. label-width="80px">
  7. <!-- 半成品卷卷号 -->
  8. <el-row style="">
  9. <el-col :span="24">
  10. <el-form-item :label="'半成品卷卷号:'">
  11. <el-input v-model="scheduleData.orderNo" style="width: 120px;" ></el-input>
  12. </el-form-item>
  13. </el-col>
  14. </el-row>
  15. </el-form>
  16. <span slot="footer" class="dialog-footer">
  17. <el-button type="primary" @click=""> </el-button>
  18. <el-button type="primary" @click="closeDialog">关闭</el-button>
  19. </span>
  20. </el-dialog>
  21. </div>
  22. </template>
  23. <script>
  24. export default {
  25. name: "com_merge_roll",
  26. data() {
  27. return {
  28. titleCon: '切换卷',
  29. sfdcTimeList: [],
  30. scheduleData: {
  31. site: this.$store.state.user.site,
  32. userName: this.$store.state.user.name,
  33. seqNo: '',
  34. orderNo: '',
  35. partNo: '',
  36. rollNo: '',
  37. partDesc: '',
  38. reportTime: this.dayjs(new Date()).format('YYYY-MM-DD HH:mm:ss'),
  39. reportedFlag: 'N',
  40. qtyRequiredOriginal: 0,
  41. scheduledDate: '',
  42. shiftNo: '',
  43. preItemDesc: '',
  44. nextItemDesc: '',
  45. nextItemNo: 0,
  46. currentRollFlag: false
  47. },
  48. currentRollOps: {
  49. site: this.$store.state.user.site,
  50. seqNo: '',
  51. rollNo: '',
  52. finishedFlag: '',
  53. },
  54. operatorData: {
  55. site: this.$store.state.user.site,
  56. username: this.$store.state.user.name,
  57. operatorId: '',
  58. operatorName: '',
  59. status: '',
  60. seqNo: '',
  61. showFlag: false
  62. },
  63. buttonTags:{
  64. createRollFlag: true,
  65. switchRollFlag: true,
  66. separatorRollFlag: true,
  67. finishRollFlag: true,
  68. mergeRollFlag: true,
  69. tuningFlag: true,
  70. produceFlag: true,
  71. defectFlag: true,
  72. toolFlag: true,
  73. materialFlag: true,
  74. downTimeFlag: true
  75. },
  76. dataListLoading: false,
  77. }
  78. },
  79. methods: {
  80. /*关闭modal*/
  81. closeDialog(){
  82. this.$emit('update:visible', false);
  83. },
  84. init(seqNo, operatorData) {
  85. //初始化参数
  86. this.scheduleData.seqNo = seqNo;
  87. //初始化操作员对象
  88. this.operatorData = JSON.parse(JSON.stringify(operatorData));
  89. // this.currentRollOps.seqNo = seqNo;
  90. // this.currentRollOps.rollNo = rollNo;
  91. //刷新当前派工单的信息
  92. //this.refreshPageData();
  93. },
  94. },
  95. created() {
  96. // this.factoryList()
  97. // this.getLanguageList()
  98. }
  99. }
  100. </script>
  101. <style scoped lang="scss">
  102. /*调节页面button和input的上下间距*/
  103. .customer-css .customer-button{
  104. margin-top: 25px;
  105. }
  106. /*调节fieldset下的样式*/
  107. .customer-fieldset .customer-item{
  108. margin-top: -15px;
  109. }
  110. /*fieldset下table的样式*/
  111. .customer-fieldset /deep/ .el-table__header th.is-leaf{
  112. line-height: 16px;
  113. }
  114. /deep/ .customer-tab .el-tabs__content{
  115. padding: 0px !important;
  116. }
  117. </style>