Browse Source

打印明细,打印全部发货单

master_hella_20240701
yufei0306 7 months ago
parent
commit
073727f5d7
  1. 32
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
  2. 2
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

32
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -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())

2
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -1005,7 +1005,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
isDetail: false,
isForm: false,
table: {
width: 150,
width: 250,
fixed: 'right'
},
hiddenInMain:true,

Loading…
Cancel
Save