修复bug

This commit is contained in:
yanran200730
2024-10-31 21:31:46 +08:00
parent a2bbe798b8
commit ffcebb2913
3 changed files with 3 additions and 3 deletions

View File

@@ -222,7 +222,7 @@
}, },
getList () { getList () {
this.$http.post('/api/templateSku/getPage', null, { this.$http.post('/api/templateSku/getMySkuPage', null, {
params: this.search params: this.search
}).then(res => { }).then(res => {
if (res.code === 0) { if (res.code === 0) {

View File

@@ -499,7 +499,7 @@
getList () { getList () {
this.pageShow = true this.pageShow = true
this.$http.post(`/api/templateSku/getPage`, null, { this.$http.post(`/api/templateSku/getMySkuPage`, null, {
params: { params: {
...this.search, ...this.search,
templateId: this.id templateId: this.id

View File

@@ -125,7 +125,7 @@
if (res.code === 0) { if (res.code === 0) {
const template = JSON.parse(res.data.content) const template = JSON.parse(res.data.content)
this.$http.post(`/api/templateSku/getPage?size=-1&templateId=${id}`).then(res => { this.$http.post(`/api/templateSku/getMySkuPage?size=-1&templateId=${id}`).then(res => {
if (res.code === 0) { if (res.code === 0) {
const html = this.$refs.printRef.toPrint(template, res.data.records) const html = this.$refs.printRef.toPrint(template, res.data.records)
console.log(html) console.log(html)