|  | @@ -406,6 +406,7 @@
 | 
	
		
			
				|  |  |                    style="width:80%"
 | 
	
		
			
				|  |  |                    :remote-method="corpsRemoteMethod"
 | 
	
		
			
				|  |  |                    placeholder="请输入模糊查找客户名称"
 | 
	
		
			
				|  |  | +                  @change="changeFeeDate"
 | 
	
		
			
				|  |  |                >
 | 
	
		
			
				|  |  |                  <el-option
 | 
	
		
			
				|  |  |                      v-for="(dict, index) in fMblnoOptions"
 | 
	
	
		
			
				|  | @@ -427,6 +428,7 @@
 | 
	
		
			
				|  |  |                    clearable
 | 
	
		
			
				|  |  |                    :remote-method="goodsRemoteMethod"
 | 
	
		
			
				|  |  |                    placeholder="请输入模糊查找货品名称"
 | 
	
		
			
				|  |  | +                  @change="changeFeeDate"
 | 
	
		
			
				|  |  |                >
 | 
	
		
			
				|  |  |                  <el-option
 | 
	
		
			
				|  |  |                      v-for="(dict, index) in goodsOptions"
 | 
	
	
		
			
				|  | @@ -460,6 +462,7 @@
 | 
	
		
			
				|  |  |                    :disabled="browseStatus"
 | 
	
		
			
				|  |  |                    value-format="timestamp"
 | 
	
		
			
				|  |  |                    placeholder="仓储费计算截止日期"
 | 
	
		
			
				|  |  | +                  @change="changeFeeDate"
 | 
	
		
			
				|  |  |                >
 | 
	
		
			
				|  |  |                </el-date-picker>
 | 
	
		
			
				|  |  |              </el-form-item>
 | 
	
	
		
			
				|  | @@ -527,6 +530,7 @@
 | 
	
		
			
				|  |  |                           placeholder="请选择仓库库区"
 | 
	
		
			
				|  |  |                           clearable
 | 
	
		
			
				|  |  |                           filterable
 | 
	
		
			
				|  |  | +                         @change="changeFeeDate"
 | 
	
		
			
				|  |  |                >
 | 
	
		
			
				|  |  |                  <el-option
 | 
	
		
			
				|  |  |                    v-for="(item, index) in warehouseOptions"
 | 
	
	
		
			
				|  | @@ -1774,6 +1778,27 @@ export default {
 | 
	
		
			
				|  |  |        this.reset();
 | 
	
		
			
				|  |  |        this.getList();
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    changeFeeDate() {
 | 
	
		
			
				|  |  | +      if (!this.form.fCorpid || !this.form.fBillingDeadline) return
 | 
	
		
			
				|  |  | +      this.dataList = []
 | 
	
		
			
				|  |  | +      this.getStorageFee()
 | 
	
		
			
				|  |  | +      // if (this.dataList.length !== 0) {
 | 
	
		
			
				|  |  | +      //   this.$confirm(`仓储费已经存在,确定要删除重新计算吗?`, '提示', {
 | 
	
		
			
				|  |  | +      //     confirmButtonText: '确定',
 | 
	
		
			
				|  |  | +      //     cancelButtonText: '取消',
 | 
	
		
			
				|  |  | +      //     type: 'warning'
 | 
	
		
			
				|  |  | +      //   }).then(() => {
 | 
	
		
			
				|  |  | +      //     this.dataList = []
 | 
	
		
			
				|  |  | +      //     this.getStorageFee()
 | 
	
		
			
				|  |  | +      //   }).catch(() => {
 | 
	
		
			
				|  |  | +      //     return false
 | 
	
		
			
				|  |  | +      //   })
 | 
	
		
			
				|  |  | +      // } else {
 | 
	
		
			
				|  |  | +      //   this.dataList = []
 | 
	
		
			
				|  |  | +      //   this.getStorageFee()
 | 
	
		
			
				|  |  | +      // }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      // 计算仓储费
 | 
	
		
			
				|  |  |      calculateCost() {
 | 
	
		
			
				|  |  |        this.countstate = true
 |