外购件工艺定额制定,查看打回记录

This commit is contained in:
liushuai
2018-12-21 08:41:19 +08:00
parent 249df8f2ed
commit 330d69ccb0
8 changed files with 1869 additions and 653 deletions

View File

@@ -358,6 +358,11 @@ export default {
searchTable2() { // 查询请购单列表
this.PurchaseOrder ? this.check3 = 1 : this.check3 = 0
searchOfflineContract(this.pageCurrent2, this.pageSize2, this.check3, this.PurchaseOrder).then(response => {
for (let i = 0; i < response.data.rows.length; i++) {
if (response.data.rows[i].请购时间 !== '') {
response.data.rows[i].请购时间 = (response.data.rows[i].请购时间).split(' ')[0]
}
}
this.tableData2 = response.data.rows
this.total2 = response.data.total
})