Browse Source

二维码切换表单bug

lwx_16
liwenxuan 10 months ago
parent
commit
3163cdbec2
  1. 12
      src/components/DesignForm/tableListPage/index.vue

12
src/components/DesignForm/tableListPage/index.vue

@ -459,7 +459,6 @@ const setUpClick = (val: string, id: string) => {
openTaskDrawer.value = true; openTaskDrawer.value = true;
} else if(val.key == "showQrCode"){ } else if(val.key == "showQrCode"){
//liwenxuan 20250114 start //liwenxuan 20250114 start
//, //,
let idArray = state.selectionChecked.map(item => item.id); let idArray = state.selectionChecked.map(item => item.id);
if(idArray.length>0){ if(idArray.length>0){
@ -560,7 +559,6 @@ const setUpClick = (val: string, id: string) => {
if(item1.field==element.name){ if(item1.field==element.name){
fieldCount++ fieldCount++
} }
}); });
if(fieldCount>0){ if(fieldCount>0){
// //
@ -572,7 +570,6 @@ const setUpClick = (val: string, id: string) => {
asfMasterAndAsfId1.asfMasterId = key+""; asfMasterAndAsfId1.asfMasterId = key+"";
item1.asfToSelectIds.push(asfMasterAndAsfId1) item1.asfToSelectIds.push(asfMasterAndAsfId1)
} }
}); });
}else{ }else{
// //
@ -592,12 +589,9 @@ const setUpClick = (val: string, id: string) => {
}) })
} }
} }
setTimeout(()=>{ setTimeout(()=>{
getDetailQrCodesData[key].fieldsMap = modifyFieldsMap4(currentFieldsMap) getDetailQrCodesData[key].fieldsMap = modifyFieldsMap4(currentFieldsMap)
},800) },800)
} }
} }
@ -635,7 +629,10 @@ const setUpClick = (val: string, id: string) => {
qrCodesPrintDialogFlag.value = true qrCodesPrintDialogFlag.value = true
} }
}) })/* .finally(()=>{
loadingInstance1.close()
qrCodesPrintDialogFlag.value = true
}) */
}else{ }else{
alert("未选中任何一条,请先选择") alert("未选中任何一条,请先选择")
@ -865,6 +862,7 @@ const getPageData = () => {
}) })
.finally(() => { .finally(() => {
state.loading = false; state.loading = false;
getAsfs()
}); });
} }
}; };

Loading…
Cancel
Save