ソースを参照

预装箱单增加删除条件

jbb 2 年 前
コミット
3481158feb
1 ファイル変更3 行追加0 行削除
  1. 3 0
      src/views/advance-packingList/adPaList-clothes.vue

+ 3 - 0
src/views/advance-packingList/adPaList-clothes.vue

@@ -560,6 +560,9 @@ export default {
     handleDelete(record) {
       console.log('点击删除项id:', record.id)
       this.$nextTick(() => {
+          if(this.queryParam.pageNo > 1 && this.adPaListClothesData.length === 1){
+          this.queryParam.pageNo = this.queryParam.pageNo -1
+        }
         deleteAdPaList({ id: record.id }).then(res => {
           if (res.success) {
             console.log('res:', res)