From 7fb0a8f0ab16c149484bf043754cd10cfa94de2f Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期一, 19 一月 2026 14:48:05 +0800
Subject: [PATCH] 增加了业务员,保管员和验收员的对应的显示
---
src/views/component/printList/index.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/component/printList/index.vue b/src/views/component/printList/index.vue
index 635d36d..7e2d9d7 100644
--- a/src/views/component/printList/index.vue
+++ b/src/views/component/printList/index.vue
@@ -3,6 +3,7 @@
<el-form ref="formData" :model="formData" label-width="100px">
<div style="padding: 10px; ">
<el-button type="primary" size="small" @click="printClick">鎶ヨ〃鎵撳嵃</el-button>
+ <el-button type="primary" size="small" @click="printClickWeb">鎶ヨ〃鎵撳嵃(缃戦〉)</el-button>
</div>
<el-table v-loading="loading" :data="printdata" ref="printTable" max-height="540"
@selection-change="handleSelectionChange" :row-class-name="rowSysIndex" border>
@@ -66,13 +67,17 @@
handlePrint() {
this.openPrint = true
},
+ printClickWeb() {
+ const routeUrl = this.$router.resolve({ path: '/hBarPlanPrintWeb',query:{linterid:this.linterid.toString(),Type:this.Type.toString(),OpenTmp: encodeURIComponent(this.rowForm.妯℃澘鍚嶇О)} });
+ window.open(routeUrl.href, '_blank');
+ },
printClick() {
const routeUrl = this.$router.resolve({ path: '/hBarPlanPrint',query:{linterid:this.linterid.toString(),Type:this.Type.toString(),OpenTmp: encodeURIComponent(this.rowForm.妯℃澘鍚嶇О)} });
window.open(routeUrl.href, '_blank');
},
getDisplay() {
this.loading = true
- axios.get(this.baseURL + '/Open_PrintTem/GetOpenTmpList_Json', {
+ axios.get(this.$baseUrl + '/Open_PrintTem/GetOpenTmpList_Json', {
params: { "HNumber": this.Type },
}).then(response => {
console.log(response)
@@ -165,7 +170,7 @@
const sMainSub = `${sMainStr};${sSubStr};${this.HModName};${OperationType};${this.user}`
axios({
method: 'post',
- url: this.baseURL + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
+ url: this.$baseUrl + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
data: {
'sMainSub': sMainSub
},
@@ -190,7 +195,7 @@
handleDel() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
console.log(this.rowForm.hmainid.toString())
- axios.get(this.baseURL + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
+ axios.get(this.$baseUrl + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
params: { "HModName": this.HModName, "user": this.user }
}).then(response => {
let result = response.data
--
Gitblit v1.9.1