|
@ -90,7 +90,7 @@ |
|
|
}]" |
|
|
}]" |
|
|
annexAliasLabel="其他附件" |
|
|
annexAliasLabel="其他附件" |
|
|
:otherHeadButttonData="[{ |
|
|
:otherHeadButttonData="[{ |
|
|
label: '打印', |
|
|
label: '打印明细', |
|
|
name: 'printing', |
|
|
name: 'printing', |
|
|
hide: false, |
|
|
hide: false, |
|
|
type: 'primary', |
|
|
type: 'primary', |
|
@ -98,6 +98,26 @@ |
|
|
color: '', |
|
|
color: '', |
|
|
float:'left', |
|
|
float:'left', |
|
|
hasPermi: '' |
|
|
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" |
|
|
:isBasic="false" |
|
|
:allSchemas="SupplierinvoiceRequestMain.allSchemas" |
|
|
:allSchemas="SupplierinvoiceRequestMain.allSchemas" |
|
@ -110,6 +130,7 @@ |
|
|
:apiDelete="SupplierinvoiceRequestDetailApi.deleteSupplierinvoiceRequestDetail" |
|
|
:apiDelete="SupplierinvoiceRequestDetailApi.deleteSupplierinvoiceRequestDetail" |
|
|
:Echo="Echo" |
|
|
:Echo="Echo" |
|
|
@buttonBaseClick="detailButtonBaseClick" |
|
|
@buttonBaseClick="detailButtonBaseClick" |
|
|
|
|
|
@tableFormButton="tableFormButton" |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
<!-- 导入 --> |
|
|
<!-- 导入 --> |
|
@ -632,9 +653,18 @@ const importSuccess = () => { |
|
|
if(val == 'printing'){ |
|
|
if(val == 'printing'){ |
|
|
// 单据打印 |
|
|
// 单据打印 |
|
|
handleDocumentPrint(clicKRowId.value) |
|
|
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 BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL |
|
|
const documentSrc = ref(BASE_URL + '/jmreport/view/936875675614240768?token=' + getAccessToken()) |
|
|
const documentSrc = ref(BASE_URL + '/jmreport/view/936875675614240768?token=' + getAccessToken()) |
|
|