| | |
| | | let filterData = ref({}) |
| | | |
| | | const data = ref({ |
| | | printList: [] |
| | | printList: [], |
| | | landingSequence:null |
| | | }) |
| | | |
| | | let props = defineProps({ |
| | |
| | | lableType:null,//标签类型 |
| | | titleList:null,//标题 |
| | | switch:null,//判断是否为新打印, |
| | | lastList:[] |
| | | lastList:[], |
| | | landingSequence:null |
| | | }) |
| | | |
| | | const {currentRoute} = useRouter() |
| | |
| | | } |
| | | let lableType = props.lableType |
| | | let switchType = props.switch |
| | | let landingSequence = props.landingSequence |
| | | data.value.printList = JSON.parse(props.list) |
| | | data.value.landingSequence = props.landingSequence |
| | | onMounted(() => { |
| | | request.post(`/processCard/getSelectPrintCustomLabelDetails/${type}/${lableType}`, data.value).then((res) => { |
| | | if (res.code == 200) { |
| | |
| | | // 获取映射中所有的键 |
| | | const keys = Object.keys(propertyMapping); |
| | | // 根据 index 获取对应的属性名 |
| | | |
| | | const propertyName = keys[index]; |
| | | // 如果映射中没有该 index,直接返回 |
| | | if (!propertyName) { |