积分超市
This commit is contained in:
@@ -259,8 +259,7 @@
|
||||
getList () {
|
||||
this.instance.post(`/app/appintegralsupermarketgoods/list`, null, {
|
||||
params: {
|
||||
...this.search,
|
||||
areaId: this.areaId,
|
||||
...this.search
|
||||
}
|
||||
}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
@@ -288,8 +287,9 @@
|
||||
this.$nextTick(() => {
|
||||
if (this.form.goodsList.length) {
|
||||
this.form.goodsList.map(v => v.goods).forEach(v => {
|
||||
console.log(v)
|
||||
this.$refs.aiTable.toggleRowSelection(v, true)
|
||||
if (this.tableData.filter(e => e.id === v.id).length) {
|
||||
this.$refs.aiTable.toggleRowSelection(this.tableData.filter(e => e.id === v.id)[0], true)
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
@@ -77,8 +77,7 @@
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object,
|
||||
permissions: Function,
|
||||
areaId: String,
|
||||
permissions: Function
|
||||
},
|
||||
|
||||
data() {
|
||||
@@ -116,8 +115,7 @@
|
||||
getList () {
|
||||
this.instance.post(`/app/appintegralsupermarketgoods/list`, null, {
|
||||
params: {
|
||||
...this.search,
|
||||
areaId: this.areaId,
|
||||
...this.search
|
||||
}
|
||||
}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
|
||||
@@ -69,8 +69,7 @@
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object,
|
||||
permissions: Function,
|
||||
areaId: String,
|
||||
permissions: Function
|
||||
},
|
||||
|
||||
data() {
|
||||
@@ -110,8 +109,7 @@
|
||||
getList () {
|
||||
this.instance.post(`/app/appintegralsupermarketshop/list`, null, {
|
||||
params: {
|
||||
...this.search,
|
||||
areaId: this.areaId,
|
||||
...this.search
|
||||
}
|
||||
}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
|
||||
Reference in New Issue
Block a user