123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <template>
- <dialog-base ref="baseDialog" title="结束报工">
- <view class="list-container">
- <view class="list-title"><text class="label">合格量</text></view>
- <view class="table-item">
- <input class="input" placeholder="请输入合格量" />
- </view>
- <view class="list-title">
- <text class="label">废品量</text>
- </view>
- <view class="table-item"><input class="input" placeholder="请输入废品量" /></view>
- <view class="list-title">
- <text class="label">废品原因</text>
- </view>
- <view class="table-item"><input class="input" placeholder="请输入废品原因" /></view>
- </view>
- <view class="add-btn-container uni-row">
- <button type="default" class="btn">结束报工</button>
- </view>
- </dialog-base>
- </template>
- <script setup>
- import {
- ref,
- getCurrentInstance
- } from 'vue'
- const baseDialog = ref(null)
- const open = (data) => {
- // console.log(dialog.value)
- baseDialog.value.open()
- }
- defineExpose({
- open
- })
- </script>
- <style lang="scss">
- .dialog-body {
- .list-container {
- width: 100%;
- display: flex;
- align-items: flex-start;
- padding: 0 4rpx;
- .list-title {
- margin-top: 24rpx;
- .label {
- font-size: 32rpx;
- }
- }
- .table-item {
- margin-top: 24rpx;
- .input {
- height: 60rpx;
- border: 1px solid #808080;
- }
- }
- }
- .add-btn-container {
- margin-top: 32rpx;
- .btn {
- flex: 1;
- background-color: rgb(255, 121, 1);
- color: #FFFFFF;
- }
- }
- }
- </style>
|