From 7a5fc104a312606f689340322b33201086babc1b Mon Sep 17 00:00:00 2001 From: chenfang Date: Sat, 3 Aug 2024 21:30:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=8F=98=E6=9B=B4=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E5=88=B6=E9=80=A0=E6=A0=87=E7=AD=BE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../itemManage/relegate/relegateRequest/index.vue | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue b/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue index 537083042..51a9c00ee 100644 --- a/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue +++ b/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue @@ -154,11 +154,7 @@ const handlePoint = async (row) => { }).then((res) => { if(res.list.length > 0) { isCreateLabel.value = true - if (res.list[0].productionLineCode != null) { labelType.value = 'zz' - } else { - labelType.value = 'cg' - } } else { isCreateLabel.value = false } @@ -662,13 +658,8 @@ const searchTableSuccess1 = async (formField, searchField, val, formRef, type, r await PackageApi.batchPrintingLable(val.map(item1=>item1.number).join(',')).then(res => { console.log(res) - if (labelType.value == 'cg') { - const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken()) + const src = ref(BASE_URL + '/jmreport/view/922734157577715712?token=' + getAccessToken()) window.open(src.value+'&asn_number='+res) - } else { - const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken()) - window.open(src.value+'&asn_number='+res) - } }).catch(err => { console.log(err) message.error('创建标签失败')