north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabelSemi1.vue
@@ -42,6 +42,7 @@ }else{ localStorage.setItem('hasRefreshed', 'false'); } //流程卡编辑打印标签 常州 if (printType == 1) { request.post(`/processCard/getSelectPrintCustomLabel2/${type}/1`, data.value).then((res) => { if (res.code == 200) { @@ -64,7 +65,9 @@ } }) }else if(printType==2){ } //明细分架打印标签 常州 else if(printType==2){ request.post(`/processCard/getSelectPrintCustomLabelDetails/${type}/1`, data.value).then((res) => { if (res.code == 200) { produceList.value = deepClone(res.data.title) north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabelSemi2.vue
@@ -45,6 +45,7 @@ }else{ localStorage.setItem('hasRefreshed', 'false'); } //工程打印成品标签 if(projectNo.value!=null){ request.post(`/processCard/getSelectPrintLabel/${projectNo.value}/${type.value}`).then((res) => { if (res.code == 200) { @@ -57,6 +58,7 @@ }else{ data.value.printList = JSON.parse(route.query.printList) //流程卡编辑打印标签 常州 if (printType == 1) { request.post(`/processCard/getSelectPrintLabel1`, data.value).then((res) => { if (res.code == 200) { @@ -76,7 +78,9 @@ } }) }else if(printType==2){ } //明细分架打印标签 常州 else if(printType==2){ request.post(`/processCard/getSelectPrintLabelDetails`, data.value).then((res) => { if (res.code == 200) { produceList.value = deepClone(res.data.data) north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCard.vue
@@ -387,6 +387,7 @@ let lableTitle = lableType.text if ($grid) { switch (code) { //打印流程卡 case 'print': { if (selectRecords === null || selectRecords === '' || selectRecords.length === 0) { ElMessage.warning(t('searchOrder.msgList.checkOrder')) @@ -414,7 +415,7 @@ break } //标签打印 case 'printLabel': { if (selectRecords === null || selectRecords === '' || selectRecords.length === 0) { ElMessage.warning(t('searchOrder.msgList.checkOrder')) @@ -436,6 +437,7 @@ break } //标签打印2 case 'printLabel2': { if (selectRecords === null || selectRecords === '' || selectRecords.length === 0) { ElMessage.warning(t('searchOrder.msgList.checkOrder')) @@ -457,6 +459,7 @@ break } //排序汇总 case 'sort': { const $table = xGridDetail.value let data = $table.getTableData().fullData @@ -485,6 +488,7 @@ }) break } //自定义打印 case 'customLabel': { if (selectRecords === null || selectRecords === '' || selectRecords.length === 0) { ElMessage.warning(t('searchOrder.msgList.checkOrder')) @@ -503,6 +507,7 @@ id += selectRecords[i].id + "|" } } //成品标签1 if (lableTypes == 1) { labelRow.value.list = JSON.stringify(selectRecords) @@ -517,7 +522,9 @@ dialogTableVisibleLabel.value = true } } else if (company.label === 2) { } //常州项目 else if (company.label === 2) { router.push({ path: '/main/processCard/PrintCustomLabelCZ', query: { @@ -530,14 +537,18 @@ }) } } else if (lableTypes == 2) { } //成品标签2 else if (lableTypes == 2) { labelRow.value.list = JSON.stringify(selectRecords) labelRow.value.faceOrientation = faceOrientation labelRow.value.type = type labelRow.value.lableType = lableTypes if (company.label === 1) { dialogTableVisibleCustomLabel.value = true } else if (company.label === 2) { } //常州项目 else if (company.label === 2) { router.push({ path: '/main/processCard/PrintCustomLabelSemiCZ', query: { @@ -549,7 +560,9 @@ } }) } } else if (lableTypes == 3) { } //成品标签3 常州项目 else if (lableTypes == 3) { router.push({ path: '/main/processCard/PrintLabel1', query: { north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCardDetails.vue
@@ -459,6 +459,7 @@ let lableTitle = lableType.text if ($grid) { switch (code) { //打印流程卡 case 'print': { if (selectRecords === null || selectRecords === '' || selectRecords.length === 0) { ElMessage.warning(t('searchOrder.msgList.checkOrder')) @@ -480,7 +481,7 @@ dialogTableVisible.value = true break } //标签打印 常州 case 'printLabel': { if (selectRecords === null || selectRecords === '' || selectRecords.length === 0) { ElMessage.warning(t('searchOrder.msgList.checkOrder')) @@ -502,6 +503,7 @@ break } //标签打印2 常州 case 'printLabel2': { if (selectRecords === null || selectRecords === '' || selectRecords.length === 0) { ElMessage.warning(t('searchOrder.msgList.checkOrder')) @@ -551,6 +553,7 @@ }) break } //自定义成品标签打印 case 'customLabel': { if (selectRecords === null || selectRecords === '' || selectRecords.length === 0) { ElMessage.warning(t('searchOrder.msgList.checkOrder')) @@ -569,6 +572,7 @@ id += selectRecords[i].id + "|" } } //成品标签1 if (lableTypes == 1) { labelRow.value.list = JSON.stringify(selectRecords) labelRow.value.faceOrientation = faceOrientation @@ -577,7 +581,9 @@ lastList.value = [] if (company.label === 1) { dialogTableVisibleLabel.value = true } else if (company.label === 2) { } //常州项目 else if (company.label === 2) { router.push({ path: '/main/processCard/PrintCustomLabelCZ', query: { @@ -590,7 +596,9 @@ }) } } else if (lableTypes == 2) { } //成品标签2 else if (lableTypes == 2) { labelRow.value.list = JSON.stringify(selectRecords) labelRow.value.faceOrientation = faceOrientation labelRow.value.type = type @@ -598,7 +606,9 @@ lastList.value = [] if (company.label === 1) { dialogTableVisibleCustomLabel.value = true } else if (company.label === 2) { } //常州项目 else if (company.label === 2) { router.push({ path: '/main/processCard/PrintCustomLabelSemiCZ', query: { @@ -610,7 +620,9 @@ } }) } } else if (lableTypes == 3) { } //成品标签3 else if (lableTypes == 3) { router.push({ path: '/main/processCard/PrintLabel1', query: { north-glass-erp/northglass-erp/src/views/pp/processCard/PrintLabel.vue
@@ -41,6 +41,7 @@ }else{ localStorage.setItem('hasRefreshed', 'false'); } //工程打印 if(projectNo.value!=null){ request.post(`/processCard/getSelectPrintLabel/${projectNo.value}/${type.value}`).then((res) => { if (res.code == 200) { @@ -51,6 +52,7 @@ } }) }else{ //流程卡编辑打印标签 常州 if (printType == 1) { data.value.printList = JSON.parse(route.query.printList) request.post(`/processCard/getSelectPrintLabel1`,data.value).then((res) => { @@ -72,7 +74,9 @@ router.push("/login") } }) }else if(printType==2){ } //明细分架打印标签 常州 else if(printType==2){ data.value.printList = JSON.parse(route.query.printList) request.post(`/processCard/getSelectPrintLabelDetails`, data.value).then((res) => { if (res.code == 200) { north-glass-erp/northglass-erp/src/views/pp/processCard/PrintLabel1.vue
@@ -41,6 +41,7 @@ }else{ localStorage.setItem('hasRefreshed', 'false'); } //流程卡编辑打印标签2 常州 if (printType == 1) { request.post(`/processCard/getSelectPrintCustomLabel2/${type}/1`, data.value).then((res) => { if (res.code == 200) { @@ -63,7 +64,9 @@ } }) }else if(printType==2){ } //明细分架打印标签2 常州 else if(printType==2){ request.post(`/processCard/getSelectPrintCustomLabelDetails/${type}/1`, data.value).then((res) => { if (res.code == 200) { produceList.value = deepClone(res.data.title) north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintFlowCard.vue
@@ -281,6 +281,7 @@ titleStyleVisible.value = true break } //编辑 case 'editCheckbox': { const selectRecords = $grid.getCheckboxRecords() if(selectRecords===null ||selectRecords===''||selectRecords.length===0){ @@ -304,6 +305,7 @@ return; } //明细打印 case 'detailsPrint': { const selectRecords = $grid.getCheckboxRecords() if(selectRecords===null ||selectRecords===''||selectRecords.length===0){ @@ -327,6 +329,7 @@ return; } //明细分架打印 case 'detailsProcessPrint': { const selectRecords = $grid.getCheckboxRecords() if(selectRecords===null ||selectRecords===''||selectRecords.length===0){ @@ -350,6 +353,7 @@ return; } //订单打印 case 'orderPrint': { const selectRecords = $grid.getCheckboxRecords() if(selectRecords===null ||selectRecords===''||selectRecords.length===0){