|
|
@ -59,7 +59,7 @@ |
|
|
|
width="180"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="status" |
|
|
|
prop="state" |
|
|
|
label="状态" |
|
|
|
align="center" |
|
|
|
width="180"> |
|
|
@ -150,7 +150,7 @@ export default { |
|
|
|
supplierName:'', |
|
|
|
count: '', |
|
|
|
storehouse: '', |
|
|
|
status: '', |
|
|
|
state: '', |
|
|
|
products:[] |
|
|
|
}, |
|
|
|
pirce:'', |
|
|
@ -194,10 +194,14 @@ export default { |
|
|
|
}, |
|
|
|
async getPurchaseList () { |
|
|
|
const { data: result } = await this.$http.post('/purchasenew/listPage', this.queryInfo) |
|
|
|
|
|
|
|
console.log(result); |
|
|
|
if (result.code == 200){ |
|
|
|
console.log(result); |
|
|
|
this.queryInfo.total=result.data.total |
|
|
|
this.purchaseList = result.data.records |
|
|
|
} |
|
|
|
console.log(this.purchaseList); |
|
|
|
}, |
|
|
|
clearList(){ |
|
|
|
this.purchaseForm={ |
|
|
@ -211,7 +215,7 @@ export default { |
|
|
|
supplierName:'', |
|
|
|
count: '', |
|
|
|
storehouse: '', |
|
|
|
status: '', |
|
|
|
state: '', |
|
|
|
products:[] |
|
|
|
|
|
|
|
} |
|
|
|