zkTaskDP.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <template>
  2. <view>
  3. <uni-card padding="10rpx 0">
  4. <view class="dp_list" style="margin-top: 20px;">
  5. <image src="/static/time.png" style="height: 20px;width: 20px;"></image>
  6. <view style="font-size: 17px;margin-right: 30px;color: rgba(51, 51, 51, 1);">任务进度</view>
  7. <view class="dp_title_items"> 代配7贴:</view>{{111}}
  8. <text class="dp_title_items"> &nbsp;&nbsp;代配14贴:</text>
  9. <view class="items_right">{{222}}</view>
  10. </view>
  11. <view class="dp_list" style="margin-top: 20px;">
  12. <view style="font-size: 15px;color: rgba(51, 51, 51, 1);">处方编号&nbsp;&nbsp;&nbsp;{{2164832615815}}</view>
  13. <view class="dp_title_items" style="margin-left: 50px;">不合格数<text class="items_right">{{22}}</text>
  14. </view>
  15. </view>
  16. <view style="margin-top: 8px;">
  17. <uni-forms-item label="配方员" name="id" labelWidth="60px">
  18. <uni-easyinput v-model="data.reciper" type="" placeholder="请输入配方员姓名" :inputBorder="false" />
  19. </uni-forms-item>
  20. </view>
  21. <uni-table class="dj_table">
  22. <!-- 表头行 -->
  23. <uni-tr>
  24. <uni-th align="center" width="150rpx">贴序</uni-th>
  25. <uni-th align="center" width="150rpx">应重(克)</uni-th>
  26. <uni-th align="center" width="150rpx">实重(克)</uni-th>
  27. <uni-th align="center" width="150rpx">误差(%))</uni-th>
  28. </uni-tr>
  29. <!-- 表格数据行 -->
  30. <uni-tr v-for="(item, index) in pageData.detailList.dpCfDetail" :key="index">
  31. <uni-td>{{item.tx}}</uni-td>
  32. <uni-td>{{item.yz}}</uni-td>
  33. <uni-td>{{item.xz}}</uni-td>
  34. <uni-td>{{item.wc}}</uni-td>
  35. </uni-tr>
  36. </uni-table>
  37. </uni-card>
  38. <view class="djqyhj_Task">
  39. <uni-card>
  40. <uni-section title="图片上传" type="line">
  41. </uni-section>
  42. <view class="image_upload" style="border-top: 0.5px solid #ebedf0;margin-bottom: 3px;">
  43. <uni-file-picker style="margin-top: 10px;" limit="4" :v-model="pageData.imageList"
  44. @select="selectImg" @delete="deleteImg">
  45. </uni-file-picker>
  46. </view>
  47. </uni-card>
  48. </view>
  49. <!-- 下一个 -->
  50. <view class="finish_button">
  51. <button class="button" @click="finishTask()">下一个</button>
  52. </view>
  53. </view>
  54. </template>
  55. <script setup>
  56. import {
  57. reactive,
  58. onMounted,
  59. ref,
  60. watch,
  61. defineComponent
  62. } from 'vue';
  63. const data = reactive({
  64. reciper: '',
  65. aa: ''
  66. })
  67. const pageData = reactive({
  68. detailList: {},
  69. // 图片列表
  70. imageList: []
  71. })
  72. </script>
  73. <style lang="scss" scoped>
  74. @import 'indexList.scss';
  75. .dp_list {
  76. display: flex;
  77. }
  78. .dp_title_items {
  79. font-size: 15px;
  80. }
  81. .items_right {
  82. position: absolute;
  83. right: 30rpx;
  84. font-size: 15px;
  85. }
  86. ::v-deep.uni-section .uni-section-header__decoration {
  87. background-color: rgba(190, 163, 117, 1);
  88. }
  89. ::v-deep.uni-forms-item__label {
  90. font-size: 15px !important;
  91. color: rgba(51, 51, 51, 1)
  92. }
  93. ::v-deep.uni-input-placeholder {
  94. font-size: 15px;
  95. }
  96. .uni-forms-item {
  97. margin-bottom: 3px;
  98. }
  99. </style>