|  | @@ -1545,17 +1545,22 @@
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |        handleExportItems() {
 |  |        handleExportItems() {
 | 
											
												
													
														|  |          const fIds = this.form.fId
 |  |          const fIds = this.form.fId
 | 
											
												
													
														|  | -        this.$confirm("是否确认导出所有计费物资明细数据?", "警告", {
 |  | 
 | 
											
												
													
														|  | -          confirmButtonText: "确定",
 |  | 
 | 
											
												
													
														|  | -          cancelButtonText: "取消",
 |  | 
 | 
											
												
													
														|  | -          type: "warning",
 |  | 
 | 
											
												
													
														|  | -        })
 |  | 
 | 
											
												
													
														|  | -          .then(function () {
 |  | 
 | 
											
												
													
														|  | -            return exportWarehousebillsitems(fIds);
 |  | 
 | 
											
												
													
														|  | 
 |  | +        if(fIds !== null){
 | 
											
												
													
														|  | 
 |  | +          this.$confirm("是否确认导出所有计费物资明细数据?", "警告", {
 | 
											
												
													
														|  | 
 |  | +            confirmButtonText: "确定",
 | 
											
												
													
														|  | 
 |  | +            cancelButtonText: "取消",
 | 
											
												
													
														|  | 
 |  | +            type: "warning",
 | 
											
												
													
														|  |            })
 |  |            })
 | 
											
												
													
														|  | -          .then((response) => {
 |  | 
 | 
											
												
													
														|  | -            this.download(response.msg);
 |  | 
 | 
											
												
													
														|  | -          });
 |  | 
 | 
											
												
													
														|  | 
 |  | +            .then(function () {
 | 
											
												
													
														|  | 
 |  | +              return exportWarehousebillsitems(fIds);
 | 
											
												
													
														|  | 
 |  | +            })
 | 
											
												
													
														|  | 
 |  | +            .then((response) => {
 | 
											
												
													
														|  | 
 |  | +              this.download(response.msg);
 | 
											
												
													
														|  | 
 |  | +            });
 | 
											
												
													
														|  | 
 |  | +        }else{
 | 
											
												
													
														|  | 
 |  | +          this.$message("请先保存")
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |        deleteRow(index, rows) {
 |  |        deleteRow(index, rows) {
 | 
											
												
													
														|  |          rows.splice(index, 1);
 |  |          rows.splice(index, 1);
 |