|
|
@ -875,9 +875,7 @@ export default { |
|
|
|
/** 格式化字段 */ |
|
|
|
fieldFormatter(row, column) { |
|
|
|
if (column.property === "state") { |
|
|
|
return { 0: "新建", 2: "成功", 1: "失败" }[ |
|
|
|
row[column.property] |
|
|
|
]; |
|
|
|
return { 0: "新建", 2: "成功", 1: "失败" }[row[column.property]]; |
|
|
|
} |
|
|
|
if ( |
|
|
|
column.property == "settleInputDate" || |
|
|
@ -898,9 +896,13 @@ export default { |
|
|
|
this.showExcelImport = false; |
|
|
|
}, |
|
|
|
|
|
|
|
getList() { |
|
|
|
getList(data) { |
|
|
|
this.listLoading = true; |
|
|
|
this.listQuery.SkipCount = (this.page - 1) * 10; |
|
|
|
if (data != undefined) { |
|
|
|
this.listQuery.SkipCount = (this.page - 1) * data.limit; |
|
|
|
} else { |
|
|
|
this.listQuery.SkipCount = (this.page - 1) * 15; |
|
|
|
} |
|
|
|
if (this.JobversionValue != "") { |
|
|
|
this.listQuery.version = this.JobversionValue; |
|
|
|
} |
|
|
@ -921,6 +923,9 @@ export default { |
|
|
|
.catch(() => { |
|
|
|
this.listLoading = false; |
|
|
|
}); |
|
|
|
//清空 同步WMS至SAP信息 |
|
|
|
this.resultData.errSize = 0; |
|
|
|
this.resultData.successMessage = ""; |
|
|
|
}, |
|
|
|
/** 筛选操作 */ |
|
|
|
handleFilter() { |
|
|
|