修复bug
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user