修复模板bug
This commit is contained in:
@@ -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未配置模板')
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user