huxy 1 неделя назад
Родитель
Сommit
2cc1791f32
1 измененных файлов с 21 добавлено и 0 удалено
  1. 21 0
      src/views/book/book-list.vue

+ 21 - 0
src/views/book/book-list.vue

@@ -187,6 +187,7 @@
         <a-button type="primary" @click="batchCanaleSubmit()" icon="plus">批量取消提交</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>
+        <a-button type="primary" @click="batchPushPurchasesettle()" icon="plus">推送结算单  </a-button>
       </div>
 
       <!-- 子表 -->
@@ -664,6 +665,26 @@ export default {
         })
       }
     },
+    batchPushPurchasesettle(){
+      getAction('/syShippingOrder/syShippingOrder/pushPurchasesettle',{ids:this.selectedRowKeys.join(',')}).then((res) => {
+        // if (res.success) {
+        //   this.getBookList('await')
+        // }else{
+        //   this.$message.warning(res.message);
+        // }
+      })
+      // if(this.selectedRowKeys.length==0){
+      //   this.$message.success('请勾选数据')
+      // }else{
+      //   getAction('/syShippingOrder/syShippingOrder/pushPurchasesettle',{ids:this.selectedRowKeys.join(',')}).then((res) => {
+      //     if (res.success) {
+      //       this.getBookList('await')
+      //     }else{
+      //       this.$message.warning(res.message);
+      //     }
+      //   })
+      // }
+    },
     //推送U8
     pushU8(record){
       pushU8({ id: record.id}).then(res => {