Browse Source

叫料标签打印合并

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

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

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