|
@@ -137,7 +137,7 @@
|
|
|
<a-button type="primary" @click="addBookDrawer" icon="plus">新增</a-button>
|
|
|
<a-button type="primary" @click="batchSubmit()" icon="plus">批量提交</a-button>
|
|
|
<a-button type="primary" @click="batchCanaleSubmit()" icon="plus">批量取消提交</a-button>
|
|
|
- <a-button type="primary" @click="batchPushU8()" icon="plus">批量推送U8</a-button>
|
|
|
+ <a-button type="primary" @click="batchPushU8()" icon="plus" :disabled="loadingU8">批量推送U8</a-button>
|
|
|
<a-button type="primary" @click="batchPushInvoice()" icon="plus">批量推送装箱单发票 </a-button>
|
|
|
</div>
|
|
|
|
|
@@ -366,6 +366,7 @@ export default {
|
|
|
shippingOrderDate:[], //单据日期区间
|
|
|
id: '',
|
|
|
selectedRowKeys:[],//选中行id
|
|
|
+ loadingU8:false,
|
|
|
loading: false, // 表格加载
|
|
|
pagination:{
|
|
|
pageSizeOptions: ["50", "100", "150"],
|
|
@@ -559,13 +560,16 @@ export default {
|
|
|
if(this.selectedRowKeys.length==0){
|
|
|
this.$message.success('请勾选数据')
|
|
|
}else{
|
|
|
+ this.loadingU8 = true
|
|
|
getAction('/syShippingOrder/syShippingOrder/expensesU8Batch',{ids:this.selectedRowKeys.join(',')}).then((res) => {
|
|
|
if (res.success) {
|
|
|
this.getBookList('await')
|
|
|
}else{
|
|
|
this.$message.warning(res.message);
|
|
|
}
|
|
|
- })
|
|
|
+ }).finally(() => {
|
|
|
+ this.loadingU8 = false
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
//批量推送装箱单发票
|