|
|
|
@ -41,6 +41,9 @@
|
|
|
|
|
<!-- v-hasPermi="['mes:prepare:export']"-->
|
|
|
|
|
<!-- >打印出库单</el-button>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button type="success" plain icon="el-icon-edit" size="mini" @click="handleSAP">过账</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
|
|
|
|
|
v-hasPermi="['wms:outorder:export']">导出</el-button>
|
|
|
|
@ -334,6 +337,7 @@ import {
|
|
|
|
|
listReturnBC,
|
|
|
|
|
OutboundPostingSAP,
|
|
|
|
|
OutboundPostingzcSAP,
|
|
|
|
|
OutboundPostingzcSAPTS,
|
|
|
|
|
listOutorderZC,
|
|
|
|
|
listProduct,
|
|
|
|
|
listckTS,
|
|
|
|
@ -939,7 +943,7 @@ export default {
|
|
|
|
|
let postData = this.selectabletrows.map(item => ({ id: item.id }));
|
|
|
|
|
//let postData = this.ids.map(id => ({ id: id }));
|
|
|
|
|
console.log(postData)
|
|
|
|
|
OutboundPostingzcSAP(JSON.stringify(postData)).then(response => {
|
|
|
|
|
OutboundPostingzcSAPTS(JSON.stringify(postData)).then(response => {
|
|
|
|
|
this.$modal.msgSuccess("操作完成");
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|