Browse Source

打印全部功能

master_hella_20240701
yufei0306 6 months ago
parent
commit
354eaf340b
  1. 2
      src/components/SearchTable/src/SearchTable.vue
  2. 13
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

2
src/components/SearchTable/src/SearchTable.vue

@ -31,6 +31,8 @@
<div class="flex items-center">
<el-button @click="submitForm" type="primary" :disabled="formLoading"> </el-button>
<el-button @click="searchDialogVisible = false"> </el-button>
<slot name="actions"></slot>
</div>
</template>
</Dialog>

13
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -153,9 +153,11 @@
</BasicForm>
<!-- 标签打印 -->
<SearchTable style="width:905px" ref="searchTableRef" @searchTableSuccess="searchTableSuccess1" />
<SearchTable style="width:905px" ref="searchTableRef" @searchTableSuccess="searchTableSuccess1" >
<!-- <template #actions>
<el-button type="primary" @click="printAllClick">打印全部</el-button>
</template> -->
</SearchTable>
</template>
<script setup lang="ts">
@ -823,6 +825,11 @@ const labelPrint = async (row) => {
searchTableRef.value.openData(t('ts.标签信息'),tableObjectPrint,{tableColumns},true)
}
//
const printAllClick = ()=>{
}
// --
const searchTableSuccess1 = async (formField, searchField, val, formRef, type, row) => {
console.log('批量打印',val)

Loading…
Cancel
Save