| | |
| | | <view class="flex justify-between"> |
| | | <view> |
| | | <wd-icon name="a-rootlist" color="#0D867F"></wd-icon> |
| | | <text class="text-[#252525] ml-2 font-medium">JX28201021-1</text> |
| | | <text class="text-[#252525] ml-2 font-medium">{{ item.model }}</text> |
| | | </view> |
| | | <view class="text-[#A8A8A8]" @click="toEdit">编辑</view> |
| | | </view> |
| | | </template> |
| | | <ProductionCard :data="cardAttr" color="#0D867F" /> |
| | | <ProductionCard :data="cardAttr" :value="item" color="#0D867F" /> |
| | | </wd-card> |
| | | </z-paging> |
| | | </view> |
| | |
| | | <wd-button type="text" @click="cancel">取消</wd-button> |
| | | <wd-button type="text" @click="submit">确定</wd-button> |
| | | </view> |
| | | <PlateForm /> |
| | | <SteelCore ref="steelCoreRef" /> |
| | | </wd-popup> |
| | | <wd-toast /> |
| | | </template> |
| | |
| | | import CardTitle from "@/components/card-title/index.vue"; |
| | | import ProductionCard from "../../../components/ProductionCard.vue"; |
| | | import { useToast } from "wot-design-uni"; |
| | | import PlateForm from "./form.vue"; |
| | | import SteelCore from "./form.vue"; |
| | | import { onLoad } from "@dcloudio/uni-app"; |
| | | import ManageApi from "@/api/product/manage"; |
| | | import zPaging from "@/components/z-paging/z-paging.vue"; |
| | | |
| | | const paramsId = ref(); |
| | | const pagingRef = ref(); |
| | | const steelCoreRef = ref(); |
| | | const toast = useToast(); |
| | | const dialog = reactive({ |
| | | visible: false, |
| | |
| | | |
| | | const cardAttr = ref<any[]>([ |
| | | { |
| | | label: "盘号", |
| | | value: "1902101", |
| | | label: "样品编号", |
| | | prop: "monofilamentNumber", |
| | | }, |
| | | { |
| | | label: "长度", |
| | | value: "46kg", |
| | | }, |
| | | { |
| | | label: "重量", |
| | | value: "10kg", |
| | | }, |
| | | { |
| | | label: undefined, |
| | | value: undefined, |
| | | label: "数量", |
| | | prop: "amount", |
| | | unitProp: "unit", |
| | | }, |
| | | { |
| | | label: "厂家", |
| | | value: "江苏省南通市芯导数字厂", |
| | | prop: "supplier", |
| | | span: 16, |
| | | }, |
| | | ]); |
| | |
| | | const getList = async () => { |
| | | const { code, data } = await ManageApi.getStrandedWireDish({ |
| | | wireId: paramsId.value, |
| | | type: "盘具", |
| | | type: "钢芯", |
| | | }); |
| | | if (code == 200) { |
| | | pagingRef.value.complete(data); |