| | |
| | | const paramsId = ref(); |
| | | const model = ref(); |
| | | const oneLength = ref(); |
| | | const isMonofil = ref(); |
| | | const meterWeight = ref(); |
| | | const totalWeight = ref(); |
| | | |
| | | // 父级数据列表 |
| | | const parentDataList = ref<any[]>([]); |
| | |
| | | } |
| | | |
| | | // 跳转到报工管理页面 |
| | | const isMonofilParam = isMonofil.value !== undefined && isMonofil.value !== null ? isMonofil.value : ""; |
| | | const meterWeightParam = meterWeight.value !== undefined && meterWeight.value !== null ? meterWeight.value : ""; |
| | | const totalWeightParam = totalWeight.value !== undefined && totalWeight.value !== null ? totalWeight.value : ""; |
| | | uni.navigateTo({ |
| | | url: `/pages/production/wire/report/reportManage?wireId=${paramsId.value}&parentId=${parentRow.id}&poleNumber=${parentRow.poleNumber}&poleModel=${parentRow.poleModel}&polePackageNumber=${parentRow.polePackageNumber}&poleWeight=${parentRow.poleWeight}&supplier=${parentRow.supplier || ""}`, |
| | | url: `/pages/production/wire/report/reportManage?wireId=${paramsId.value}&parentId=${parentRow.id}&poleNumber=${parentRow.poleNumber}&poleModel=${parentRow.poleModel}&polePackageNumber=${parentRow.polePackageNumber}&poleWeight=${parentRow.poleWeight}&supplier=${parentRow.supplier || ""}&isMonofil=${isMonofilParam}&meterWeight=${meterWeightParam}&totalWeight=${totalWeightParam}`, |
| | | }); |
| | | }; |
| | | |
| | |
| | | |
| | | onLoad(async (options: any) => { |
| | | paramsId.value = options.id; |
| | | model.value = options.model; |
| | | oneLength.value = options.oneLength; |
| | | isMonofil.value = options.isMonofil; |
| | | meterWeight.value = options.meterWeight; |
| | | totalWeight.value = options.totalWeight; |
| | | await getDetailData(options.id); |
| | | await loadSupplierDict(); |
| | | await getData(); |