|
|
@ -78,10 +78,8 @@ export default { |
|
|
params: { |
|
|
params: { |
|
|
asc: '', |
|
|
asc: '', |
|
|
desc: '', |
|
|
desc: '', |
|
|
customerEnterpriseId: this.$store.state.supplierInfo.id || null, |
|
|
|
|
|
|
|
|
customerEnterpriseId: null, |
|
|
mallSupplierId: this.$store.state.supplierInfo.supplierId || null |
|
|
mallSupplierId: this.$store.state.supplierInfo.supplierId || null |
|
|
// enterpriseIds : ['651107734133018624'], |
|
|
|
|
|
// mallSupplierId : '670334117090562048', |
|
|
|
|
|
}, |
|
|
}, |
|
|
pagination: { |
|
|
pagination: { |
|
|
pageNum: 0, // 初始会执行一次下拉加载 |
|
|
pageNum: 0, // 初始会执行一次下拉加载 |
|
|
@ -103,9 +101,9 @@ export default { |
|
|
this.downCallback() |
|
|
this.downCallback() |
|
|
}, |
|
|
}, |
|
|
onLoad(option) { |
|
|
onLoad(option) { |
|
|
// if (option.customerEnterpriseId) { |
|
|
|
|
|
// this.params.customerEnterpriseId = option.customerEnterpriseId |
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
if (option.customerEnterpriseId) { |
|
|
|
|
|
this.params.customerEnterpriseId = option.customerEnterpriseId |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
back, |
|
|
back, |
|
|
@ -133,7 +131,7 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
addTap() { |
|
|
addTap() { |
|
|
go2('add-record') |
|
|
|
|
|
|
|
|
go2('add-record', { customerEnterpriseId: this.params.customerEnterpriseId }) |
|
|
}, |
|
|
}, |
|
|
downCallback() { |
|
|
downCallback() { |
|
|
this.pagination.pageNum = 1 |
|
|
this.pagination.pageNum = 1 |
|
|
|