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.

153 lines
4.0 KiB

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