| | |
| | | <wd-button size="small" plain style="margin-right: 10px" @click="toAttachment(item)"> |
| | | 附件 |
| | | </wd-button> |
| | | <wd-button size="small" plain @click="toCheck(item.id)">自检</wd-button> |
| | | <wd-button size="small" plain @click="handleSelfCheck(item.id)">自检</wd-button> |
| | | </template> |
| | | </wd-card> |
| | | </z-paging> |
| | |
| | | import { useToast } from "wot-design-uni"; |
| | | import ProductionCard from "../../components/ProductionCard.vue"; |
| | | import { onLoad } from "@dcloudio/uni-app"; |
| | | import { ref } from "vue"; |
| | | import { ref, reactive } from "vue"; |
| | | import ManageApi from "@/api/product/manage"; |
| | | import TwistApi from "@/api/product/twist"; |
| | | import Draw from "./draw.vue"; |
| | |
| | | const handleDrawClose = () => { |
| | | // 确保弹窗被正确关闭 |
| | | drawFormRef.visible = false; |
| | | console.log('Draw popup closed'); |
| | | }; |
| | | const pagingRef = ref(); |
| | | const paramsId = ref(); |
| | |
| | | console.error("获取领用信息失败:", error); |
| | | toast.error("获取信息失败,请重试"); |
| | | } |
| | | }; |
| | | |
| | | const closeDrawPopup = () => { |
| | | drawDialogVisible.value = false; |
| | | }; |
| | | |
| | | const handleSelfCheck = (id: string) => { |