|
@@ -205,10 +205,12 @@
|
|
|
/* 表格数据源 */
|
|
/* 表格数据源 */
|
|
|
datasource({ page, limit, where, order }) {
|
|
datasource({ page, limit, where, order }) {
|
|
|
if (this.purchasePlanId) {
|
|
if (this.purchasePlanId) {
|
|
|
- where['planId'] = this.purchasePlanId;
|
|
|
|
|
|
|
+ // where['planId'] = this.purchasePlanId;
|
|
|
|
|
+ where['planIds'] = this.purchasePlanId;
|
|
|
}
|
|
}
|
|
|
|
|
+ console.log('where', where, this.sonPurchasePlanIds);
|
|
|
if (this.sonPurchasePlanIds) {
|
|
if (this.sonPurchasePlanIds) {
|
|
|
- where['planIds'] = this.sonPurchasePlanIds;
|
|
|
|
|
|
|
+ where['planIds'] = [...this.sonPurchasePlanIds, this.purchasePlanId];
|
|
|
}
|
|
}
|
|
|
return getTableList({
|
|
return getTableList({
|
|
|
pageNum: page,
|
|
pageNum: page,
|