| | |
| | | <wd-icon name="a-rootlist" color="#0D867F"></wd-icon> |
| | | <text class="text-[#252525] ml-2 font-medium">{{ item.diskMaterial }}</text> |
| | | </view> |
| | | <view class="text-[#A8A8A8]" @click="toEdit">编辑</view> |
| | | <view class="text-[#A8A8A8]" @click="toEdit(item.id)">编辑</view> |
| | | </view> |
| | | </template> |
| | | <ProductionCard :data="cardAttr" :value="item" color="#0D867F" /> |
| | | </wd-card> |
| | | </z-paging> |
| | | <wd-popup v-model="dialog.visible" position="bottom" custom-class="yl-popup"> |
| | | <view class="action px-3"> |
| | | <wd-button type="text" @click="cancel">取消</wd-button> |
| | | <wd-button type="text" @click="submit">确定</wd-button> |
| | | </view> |
| | | <PlateForm ref="plateFormRef" @refresh="reloadList" /> |
| | | </wd-popup> |
| | | <wd-toast /> |
| | | </view> |
| | | <wd-popup v-model="dialog.visible" position="bottom" custom-class="yl-popup"> |
| | | <view class="action px-3"> |
| | | <wd-button type="text" @click="cancel">取消</wd-button> |
| | | <wd-button type="text" @click="submit">确定</wd-button> |
| | | </view> |
| | | <PlateForm ref="plateFormRef" @refresh="reloadList" /> |
| | | </wd-popup> |
| | | <wd-toast /> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | |
| | | }, |
| | | ]); |
| | | |
| | | const toEdit = () => { |
| | | const toEdit = (id: number) => { |
| | | uni.navigateTo({ |
| | | url: "/pages/production/twist/receive/plate/edit", |
| | | url: `/pages/production/twist/receive/plate/edit?id=${id}`, |
| | | }); |
| | | }; |
| | | |