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