Browse Source

叫料标签打印合并

hella_online_20240829
TengXF 4 months ago
parent
commit
b81d0ac463
  1. 13
      src/views/wms/basicDataManage/labelManage/callmaterials/index.vue

13
src/views/wms/basicDataManage/labelManage/callmaterials/index.vue

@ -199,7 +199,7 @@ const buttonTableClick = async (val, row) => {
/** 添加/修改操作 */
const basicFormRef = ref()
const openForm = (type: string, row?: any) => {
basicFormRef.value.open(type, row)
if (type == 'create') {
// nextTick(() => {
@ -272,8 +272,17 @@ const BASE_URL = getJmreportBaseUrl()
const src = ref(BASE_URL + '/jmreport/view/924811818898698240?token=' + getAccessToken())
const srcPoint = ref(BASE_URL + '/jmreport/view/940818992169918464?token=' + getAccessToken())
//
// const handlePoint = async (row) => {
// window.open(src.value+'&relateNumber='+row.id)
// }
const handlePoint = async (row) => {
window.open(src.value+'&relateNumber='+row.id)
let rows = [row.id]; // row.id
await PackageApi.batchPrintingLable(rows.join(',')).then(res => {
window.open(srcPoint.value + '&relateNumber=' + res);
message.success('创建标签成功');
}).catch(err => {
message.error('创建标签失败');
});
}
//
const handleSelectionPoint = async ()=>{

Loading…
Cancel
Save