修复模板bug
This commit is contained in:
@@ -153,7 +153,7 @@
|
|||||||
toPrint(row) {
|
toPrint(row) {
|
||||||
this.isLoading = true
|
this.isLoading = true
|
||||||
if (this.addType === '1') {
|
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) {
|
if (!res.data.records.length) {
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
return this.$message.error('该SKU未配置模板')
|
return this.$message.error('该SKU未配置模板')
|
||||||
|
|||||||
@@ -117,7 +117,7 @@
|
|||||||
|
|
||||||
getList () {
|
getList () {
|
||||||
this.isLoading = true
|
this.isLoading = true
|
||||||
this.$http.post('/api/template/getPage', null, {
|
this.$http.post('/api/template/myTemplate', null, {
|
||||||
params: {
|
params: {
|
||||||
...this.search
|
...this.search
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user