|  | @@ -28,18 +28,13 @@
 | 
											
												
													
														|  |      <el-form ref="form" :model="form" label-width="80px">
 |  |      <el-form ref="form" :model="form" label-width="80px">
 | 
											
												
													
														|  |        <el-row>
 |  |        <el-row>
 | 
											
												
													
														|  |          <el-col :span="6">
 |  |          <el-col :span="6">
 | 
											
												
													
														|  | -          <el-form-item
 |  | 
 | 
											
												
													
														|  | -            label="客户名称"
 |  | 
 | 
											
												
													
														|  | -            prop="fCorpid"
 |  | 
 | 
											
												
													
														|  | -          >
 |  | 
 | 
											
												
													
														|  | 
 |  | +          <el-form-item label="客户名称" prop="fCorpid">
 | 
											
												
													
														|  |              <el-select
 |  |              <el-select
 | 
											
												
													
														|  |                v-model="form.fCorpid"
 |  |                v-model="form.fCorpid"
 | 
											
												
													
														|  |                size="small"
 |  |                size="small"
 | 
											
												
													
														|  |                placeholder="请选择"
 |  |                placeholder="请选择"
 | 
											
												
													
														|  |                clearable
 |  |                clearable
 | 
											
												
													
														|  | -              :disabled="
 |  | 
 | 
											
												
													
														|  | -                form.fBillstatus >= 4 || readOnly == 0 || tableData.length > 0
 |  | 
 | 
											
												
													
														|  | -              "
 |  | 
 | 
											
												
													
														|  | 
 |  | +              :disabled="form.fBillstatus >= 4 || readOnly == 0 || form.fId!=null"
 | 
											
												
													
														|  |                style="width: 100%"
 |  |                style="width: 100%"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |                <el-option
 |  |                <el-option
 | 
											
										
											
												
													
														|  | @@ -499,6 +494,9 @@ export default {
 | 
											
												
													
														|  |    methods: {
 |  |    methods: {
 | 
											
												
													
														|  |      /** 导出按钮操作 */
 |  |      /** 导出按钮操作 */
 | 
											
												
													
														|  |      handleExport() {
 |  |      handleExport() {
 | 
											
												
													
														|  | 
 |  | +      if (this.form.fCorpid == null) {
 | 
											
												
													
														|  | 
 |  | +        return this.$message.error("客户名称不能为空");
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  |        let _this = this;
 |  |        let _this = this;
 | 
											
												
													
														|  |        this.$confirm("是否确认导出明细数据?", "警告", {
 |  |        this.$confirm("是否确认导出明细数据?", "警告", {
 | 
											
												
													
														|  |          confirmButtonText: "确定",
 |  |          confirmButtonText: "确定",
 | 
											
										
											
												
													
														|  | @@ -717,7 +715,7 @@ export default {
 | 
											
												
													
														|  |          fDestportid: this.form.fDestportid,
 |  |          fDestportid: this.form.fDestportid,
 | 
											
												
													
														|  |          fLoadportid: this.form.fLoadportid,
 |  |          fLoadportid: this.form.fLoadportid,
 | 
											
												
													
														|  |          fStatementNo: this.form.fStatementNo,
 |  |          fStatementNo: this.form.fStatementNo,
 | 
											
												
													
														|  | -        fMblno:this.form.tMblno,
 |  | 
 | 
											
												
													
														|  | 
 |  | +        fMblno: this.form.tMblno,
 | 
											
												
													
														|  |          fFromDate: this.form.date ? this.form.date[0] : null,
 |  |          fFromDate: this.form.date ? this.form.date[0] : null,
 | 
											
												
													
														|  |          fToDate: this.form.date ? this.form.date[1] : null,
 |  |          fToDate: this.form.date ? this.form.date[1] : null,
 | 
											
												
													
														|  |        };
 |  |        };
 | 
											
										
											
												
													
														|  | @@ -796,9 +794,9 @@ export default {
 | 
											
												
													
														|  |                date.push(res.data.tFee.fFromDate, res.data.tFee.fToDate);
 |  |                date.push(res.data.tFee.fFromDate, res.data.tFee.fToDate);
 | 
											
												
													
														|  |                res.data.tFee.date = date;
 |  |                res.data.tFee.date = date;
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  | -            this.form = res.data.tFee;
 |  | 
 | 
											
												
													
														|  | -            this.tableData = res.data.tFeeDo;
 |  | 
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  | 
 |  | +          this.form = res.data.tFee;
 | 
											
												
													
														|  | 
 |  | +          this.tableData = res.data.tFeeDo;
 | 
											
												
													
														|  |            this.$emit("refFresh");
 |  |            this.$emit("refFresh");
 | 
											
												
													
														|  |            this.$message.success("保存成功");
 |  |            this.$message.success("保存成功");
 | 
											
												
													
														|  |          }
 |  |          }
 |