diff --git a/src/view/lables/Print.vue b/src/view/lables/Print.vue index 93e863c..fc5b9d7 100644 --- a/src/view/lables/Print.vue +++ b/src/view/lables/Print.vue @@ -153,7 +153,7 @@ toPrint(row) { this.isLoading = true if (this.addType === '1') { - this.$http.post(`/api/template/getPage?productSkuId=${row.productSkuId}`).then(res => { + this.$http.post(`/api/template/myTemplate?productSkuId=${row.productSkuId}`).then(res => { if (!res.data.records.length) { this.isLoading = false return this.$message.error('该SKU未配置模板') diff --git a/src/view/lables/Template.vue b/src/view/lables/Template.vue index ccdaf1f..254a909 100644 --- a/src/view/lables/Template.vue +++ b/src/view/lables/Template.vue @@ -117,7 +117,7 @@ getList () { this.isLoading = true - this.$http.post('/api/template/getPage', null, { + this.$http.post('/api/template/myTemplate', null, { params: { ...this.search }