| | |
| | | unAmount: 'unAmount', |
| | | poleModel: 'poleModel', |
| | | contractNo: 'contractNo', |
| | | isMonofil: 'isMonofil', |
| | | totalWeight: 'totalWeight', |
| | | }" |
| | | /> |
| | | <view class="mx-3"> |
| | |
| | | oneLength: undefined, |
| | | poleModel: undefined, |
| | | contractNo: undefined, |
| | | isMonofil: undefined, |
| | | totalWeight: undefined, |
| | | meterWeight: undefined, |
| | | type: "拉丝", |
| | | }); |
| | | const detailData = ref<any>({}); |
| | |
| | | cardData.oneLength = data.oneLength; |
| | | cardData.poleModel = data.poleModel; |
| | | cardData.contractNo = data.contractNo; |
| | | cardData.isMonofil = data.isMonofil; |
| | | cardData.totalWeight = data.totalWeight; |
| | | cardData.meterWeight = data.meterWeight; |
| | | cardData.type = data.type || "拉丝"; |
| | | }; |
| | | |
| | |
| | | } |
| | | |
| | | // 如果有 prepareId,正常跳转 |
| | | const isMonofil = |
| | | cardData.isMonofil !== undefined && cardData.isMonofil !== null ? cardData.isMonofil : ""; |
| | | const meterWeight = |
| | | cardData.meterWeight !== undefined && cardData.meterWeight !== null ? cardData.meterWeight : ""; |
| | | const totalWeight = |
| | | cardData.totalWeight !== undefined && cardData.totalWeight !== null ? cardData.totalWeight : ""; |
| | | uni.navigateTo({ |
| | | url: `/pages/production/wire/report/wire?id=${paramsId.value}&model=${cardData.model}&oneLength=${cardData.oneLength}`, |
| | | url: `/pages/production/wire/report/wire?id=${paramsId.value}&model=${cardData.model}&oneLength=${cardData.oneLength}&isMonofil=${isMonofil}&meterWeight=${meterWeight}&totalWeight=${totalWeight}`, |
| | | }); |
| | | }; |
| | | |