|
|
@ -23,9 +23,9 @@ |
|
|
|
:primarySearchOption="primarySearchOption" |
|
|
|
@overallSearchFormClick="overallSearchFormClick" |
|
|
|
:httpOverallSearchData="httpOverallSearchData" |
|
|
|
:buttonOperationList_right="buttonOperationList_right" |
|
|
|
@buttonOperationClick_right="buttonOperationClick_right" |
|
|
|
></tablePagination> |
|
|
|
<!-- @buttonOperationClick_left="buttonOperationClick_left" |
|
|
|
:buttonOperationList_left="operationButtonsTable" --> |
|
|
|
<curren-Drawer |
|
|
|
ref="currenDrawer_Ref" |
|
|
|
:title="apiColumns_DesTions" |
|
|
@ -67,7 +67,7 @@ import { getToken } from '@/utils/auth' |
|
|
|
import * as tableColumns_api from "@/utils/tableColumns_api/index" //全局从接口缓存的表头 |
|
|
|
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //全局从接口缓存的详情 |
|
|
|
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //全局从接口缓存的详情 |
|
|
|
|
|
|
|
import { resetHandle } from "@/api/wms-business" |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "OutgoingDataHistory", |
|
|
@ -98,6 +98,30 @@ export default { |
|
|
|
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api) |
|
|
|
this.paging(); |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
buttonOperationList_right(data){ |
|
|
|
let _btn = [{ |
|
|
|
label:'重新推送', |
|
|
|
name:'isRepush', |
|
|
|
hide:true |
|
|
|
}] |
|
|
|
if(data.status == '-1'){ |
|
|
|
_btn[0].hide = false |
|
|
|
} |
|
|
|
return _btn |
|
|
|
}, |
|
|
|
buttonOperationClick_right(row, item, index){ |
|
|
|
if(item.name == 'isRepush'){ |
|
|
|
this.Loading.tableLoading = true; |
|
|
|
resetHandle({remark:null},[row.id],'out-going-data-history').then(result => { |
|
|
|
this.$successMsg("重推成功"); |
|
|
|
this.paging() |
|
|
|
}).catch(()=>{ |
|
|
|
this.Loading.tableLoading = false; |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
|
|