修复bug
This commit is contained in:
@@ -222,7 +222,7 @@
|
||||
},
|
||||
|
||||
getList () {
|
||||
this.$http.post('/api/templateSku/getPage', null, {
|
||||
this.$http.post('/api/templateSku/getMySkuPage', null, {
|
||||
params: this.search
|
||||
}).then(res => {
|
||||
if (res.code === 0) {
|
||||
|
||||
@@ -499,7 +499,7 @@
|
||||
|
||||
getList () {
|
||||
this.pageShow = true
|
||||
this.$http.post(`/api/templateSku/getPage`, null, {
|
||||
this.$http.post(`/api/templateSku/getMySkuPage`, null, {
|
||||
params: {
|
||||
...this.search,
|
||||
templateId: this.id
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
if (res.code === 0) {
|
||||
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) {
|
||||
const html = this.$refs.printRef.toPrint(template, res.data.records)
|
||||
console.log(html)
|
||||
|
||||
Reference in New Issue
Block a user