|
|
@ -90,7 +90,7 @@ |
|
|
|
}]" |
|
|
|
annexAliasLabel="其他附件" |
|
|
|
:otherHeadButttonData="[{ |
|
|
|
label: '打印', |
|
|
|
label: '打印明细', |
|
|
|
name: 'printing', |
|
|
|
hide: false, |
|
|
|
type: 'primary', |
|
|
@ -98,6 +98,26 @@ |
|
|
|
color: '', |
|
|
|
float:'left', |
|
|
|
hasPermi: '' |
|
|
|
},{ |
|
|
|
label: '打印全部发货单', |
|
|
|
name: 'printing-all', |
|
|
|
hide: false, |
|
|
|
type: 'primary', |
|
|
|
// icon: 'ep:operation', |
|
|
|
color: '', |
|
|
|
float:'left', |
|
|
|
hasPermi: '' |
|
|
|
}]" |
|
|
|
:buttondataTable = "[{ |
|
|
|
label: '打印', |
|
|
|
name: 'print', |
|
|
|
hide: false, |
|
|
|
type: 'primary', |
|
|
|
// icon: 'ep:operation', |
|
|
|
color: '', |
|
|
|
float:'left', |
|
|
|
link: true, // 文本展现按钮 |
|
|
|
hasPermi: '' |
|
|
|
}]" |
|
|
|
:isBasic="false" |
|
|
|
:allSchemas="SupplierinvoiceRequestMain.allSchemas" |
|
|
@ -110,6 +130,7 @@ |
|
|
|
:apiDelete="SupplierinvoiceRequestDetailApi.deleteSupplierinvoiceRequestDetail" |
|
|
|
:Echo="Echo" |
|
|
|
@buttonBaseClick="detailButtonBaseClick" |
|
|
|
@tableFormButton="tableFormButton" |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 导入 --> |
|
|
@ -632,9 +653,18 @@ const importSuccess = () => { |
|
|
|
if(val == 'printing'){ |
|
|
|
// 单据打印 |
|
|
|
handleDocumentPrint(clicKRowId.value) |
|
|
|
}else if(val === 'printing-all'){ |
|
|
|
//打印全部发货单 |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const tableFormButton = (val, item) => { |
|
|
|
console.log("点击的按钮",val) |
|
|
|
if(val == 'print'){ |
|
|
|
// 打印 |
|
|
|
} |
|
|
|
} |
|
|
|
// 单据打印 |
|
|
|
const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL |
|
|
|
const documentSrc = ref(BASE_URL + '/jmreport/view/936875675614240768?token=' + getAccessToken()) |
|
|
|