|
@@ -42,6 +42,10 @@ export default {
|
|
|
isEnabled: { // 是否只查启用状态
|
|
|
type: Boolean,
|
|
|
default: false
|
|
|
+ },
|
|
|
+ mainFlag: {
|
|
|
+ type: Number,
|
|
|
+ default: 1
|
|
|
}
|
|
|
},
|
|
|
data () {
|
|
@@ -61,7 +65,7 @@ export default {
|
|
|
const fetchId = this.lastFetchId
|
|
|
this.data = []
|
|
|
this.fetching = true
|
|
|
- const params = { pageNo: 1, pageSize: 20 }
|
|
|
+ const params = { pageNo: 1, pageSize: 20, mainFlag: this.mainFlag }
|
|
|
if (this.itemSn) {
|
|
|
params.customerSn = this.itemSn
|
|
|
} else {
|