|
|
@ -1,5 +1,5 @@ |
|
|
|
<template> |
|
|
|
<div class="InventoryBookDetail_innerPage" v-loading="loading"> |
|
|
|
<div class="InventoryBookDetail_innerPage_old" v-loading="loading"> |
|
|
|
<!-- 修改前 --> |
|
|
|
<!-- 搜索 --> |
|
|
|
<el-form ref="searchForm" :inline="true" :rules="formRule" :model="searchForm" size="small" class="searchHeader"> |
|
|
@ -121,7 +121,7 @@ import { getInventoryTransactionSerials,getInterfaceCalendar } from '@/api/wms-a |
|
|
|
import { formatTimeStampToNorm,formatTimeStrToStr } from '@/utils/formatTime' |
|
|
|
|
|
|
|
export default { |
|
|
|
name:"InventoryBookDetail_innerPage", |
|
|
|
name:"InventoryBookDetail_innerPage_old", |
|
|
|
data(){ |
|
|
|
return{ |
|
|
|
loading:false,//页面加载 |
|
|
@ -314,12 +314,16 @@ export default { |
|
|
|
getTableData(){ |
|
|
|
this.loading = true |
|
|
|
let _itemCodes = this.searchForm.itemCode ? this.searchForm.itemCode.split(',') : [] |
|
|
|
// getInventoryTransactionSerials( |
|
|
|
// _itemCodes,{ |
|
|
|
// startDateTime:this.searchForm.beginDate, |
|
|
|
// endDateTime:this.initEndTime(this.searchForm.endDate), |
|
|
|
// erpLocatioCode:this.searchForm.erpLocatioCode, |
|
|
|
// }).then(res => { |
|
|
|
getInventoryTransactionSerials( |
|
|
|
_itemCodes,{ |
|
|
|
startDateTime:this.searchForm.beginDate, |
|
|
|
endDateTime:this.initEndTime(this.searchForm.endDate), |
|
|
|
erpLocatioCode:this.searchForm.erpLocatioCode, |
|
|
|
}).then(res => { |
|
|
|
`wms/inventory/inventory-transaction/item-serial-list?startDateTime=${this.searchForm.beginDate}&endDateTime=${this.initEndTime(this.searchForm.endDate)}&erpLocationCode=${this.searchForm.erpLocatioCode}`, |
|
|
|
_itemCodes |
|
|
|
).then(res => { |
|
|
|
this.tableData = null |
|
|
|
this.tableHeader.beginDate = this.searchForm.beginDate |
|
|
|
this.tableHeader.endDate = this.searchForm.endDate |
|
|
@ -487,7 +491,7 @@ export default { |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style lang="scss"> |
|
|
|
.InventoryBookDetail_innerPage{ |
|
|
|
.InventoryBookDetail_innerPage_old{ |
|
|
|
background: #fff; |
|
|
|
height: 100%; |
|
|
|
|