|  | @@ -523,7 +523,7 @@
 | 
	
		
			
				|  |  |          <el-table-column label="存货单号" align="center" prop="fBscorpno" />
 | 
	
		
			
				|  |  |          <el-table-column label="品名" align="center" prop="fProductName" />
 | 
	
		
			
				|  |  |          <el-table-column label="业务日期" align="center" prop="fBsdate">
 | 
	
		
			
				|  |  | -          <template slot-scope="scope">
 | 
	
		
			
				|  |  | +          <template slot-scope="scope" v-if="scope.row.fBsdate">
 | 
	
		
			
				|  |  |              <span>{{ scope.row.fBsdate.slice(0, 10) }}</span>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
	
		
			
				|  | @@ -752,7 +752,11 @@
 | 
	
		
			
				|  |  |                </el-option>
 | 
	
		
			
				|  |  |              </el-select>
 | 
	
		
			
				|  |  |            </el-form-item>
 | 
	
		
			
				|  |  | -          <el-form-item label="审核日期" prop="timeExamine">
 | 
	
		
			
				|  |  | +          <el-form-item
 | 
	
		
			
				|  |  | +            label="审核日期"
 | 
	
		
			
				|  |  | +            prop="timeExamine"
 | 
	
		
			
				|  |  | +            v-if="typevalue == 1"
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  |              <el-date-picker
 | 
	
		
			
				|  |  |                size="small"
 | 
	
		
			
				|  |  |                style="width: 240px"
 | 
	
	
		
			
				|  | @@ -769,6 +773,7 @@
 | 
	
		
			
				|  |  |              label="出入库日期"
 | 
	
		
			
				|  |  |              label-width="85px"
 | 
	
		
			
				|  |  |              prop="fAccbilldate"
 | 
	
		
			
				|  |  | +            v-if="typevalue == 1"
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              <el-date-picker
 | 
	
		
			
				|  |  |                size="small"
 | 
	
	
		
			
				|  | @@ -904,7 +909,7 @@
 | 
	
		
			
				|  |  |            prop="fBsdate"
 | 
	
		
			
				|  |  |            width="120"
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  | -          <template slot-scope="scope">
 | 
	
		
			
				|  |  | +          <template slot-scope="scope" v-if="scope.row.fBsdate">
 | 
	
		
			
				|  |  |              <span>{{ scope.row.fBsdate.slice(0, 10) }}</span>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
	
		
			
				|  | @@ -966,8 +971,11 @@ import {
 | 
	
		
			
				|  |  |    listCharge,
 | 
	
		
			
				|  |  |    listCharges,
 | 
	
		
			
				|  |  |    getCharge,
 | 
	
		
			
				|  |  | +  getCharges,
 | 
	
		
			
				|  |  |    delCharge,
 | 
	
		
			
				|  |  | +  delCharges,
 | 
	
		
			
				|  |  |    addCharge,
 | 
	
		
			
				|  |  | +  addCharges,
 | 
	
		
			
				|  |  |    exportCharge,
 | 
	
		
			
				|  |  |    search,
 | 
	
		
			
				|  |  |    searchs,
 | 
	
	
		
			
				|  | @@ -1319,7 +1327,17 @@ export default {
 | 
	
		
			
				|  |  |            fFeesName: "", //结算单位
 | 
	
		
			
				|  |  |            fCorpid: "", //结算单位ID
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  | -        getCharge(this.approval.billId).then((response) => {
 | 
	
		
			
				|  |  | +        // getCharge(this.approval.billId).then((response) => {
 | 
	
		
			
				|  |  | +        //   this.Operator = response.data.tFee.createBy;
 | 
	
		
			
				|  |  | +        //   this.increase_s = response.data.feeDoList;
 | 
	
		
			
				|  |  | +        //   this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  | +        //   this.queryParams = response.data.tFee;
 | 
	
		
			
				|  |  | +        //   this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  | +        //   this.fMblnoOptions = response.data.corps;
 | 
	
		
			
				|  |  | +        //   this.open = true;
 | 
	
		
			
				|  |  | +        //   this.title = "修改付费列表";
 | 
	
		
			
				|  |  | +        // });
 | 
	
		
			
				|  |  | +        getCharges(this.approval.billId).then((response) => {
 | 
	
		
			
				|  |  |            this.Operator = response.data.tFee.createBy;
 | 
	
		
			
				|  |  |            this.increase_s = response.data.feeDoList;
 | 
	
		
			
				|  |  |            this.fWbuOptions = response.data.feesList;
 | 
	
	
		
			
				|  | @@ -1395,7 +1413,65 @@ export default {
 | 
	
		
			
				|  |  |      // 查看按钮
 | 
	
		
			
				|  |  |      check(row, res) {
 | 
	
		
			
				|  |  |        this.notChange = true;
 | 
	
		
			
				|  |  | -      getCharge(row.fId).then((response) => {
 | 
	
		
			
				|  |  | +      // getCharge(row.fId).then((response) => {
 | 
	
		
			
				|  |  | +      //   this.Operator = response.data.tFee.createBy;
 | 
	
		
			
				|  |  | +      //   this.increase_s = response.data.feeDoList;
 | 
	
		
			
				|  |  | +      //   this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  | +      //   this.queryParams = response.data.tFee;
 | 
	
		
			
				|  |  | +      //   this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  | +      //   this.fMblnoOptions = response.data.corps;
 | 
	
		
			
				|  |  | +      //   this.open = true;
 | 
	
		
			
				|  |  | +      //   this.title = "付费列表";
 | 
	
		
			
				|  |  | +      //   this.tablefilter = true;
 | 
	
		
			
				|  |  | +      //   if (res == 1) {
 | 
	
		
			
				|  |  | +      //     this.notChange = true;
 | 
	
		
			
				|  |  | +      //     if (this.Operator == this.Lander) {
 | 
	
		
			
				|  |  | +      //       this.tablefilter = false;
 | 
	
		
			
				|  |  | +      //       this.reset();
 | 
	
		
			
				|  |  | +      //       this.pass = {
 | 
	
		
			
				|  |  | +      //         fAmtdr: 0, //应收合计
 | 
	
		
			
				|  |  | +      //         fAmtcr: 0, //应付合计
 | 
	
		
			
				|  |  | +      //         fMblno: "", //提单号
 | 
	
		
			
				|  |  | +      //         fName: "", //货权方
 | 
	
		
			
				|  |  | +      //         fFeesName: "", //结算单位
 | 
	
		
			
				|  |  | +      //         fCorpid: "", //结算单位ID
 | 
	
		
			
				|  |  | +      //       };
 | 
	
		
			
				|  |  | +      //       const fId = row.fId || this.ids;
 | 
	
		
			
				|  |  | +      //       getCharge(fId).then((response) => {
 | 
	
		
			
				|  |  | +      //         this.increase_s = response.data.feeDoList;
 | 
	
		
			
				|  |  | +      //         this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  | +      //         this.queryParams = response.data.tFee;
 | 
	
		
			
				|  |  | +      //         this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  | +      //         this.fMblnoOptions = response.data.corps;
 | 
	
		
			
				|  |  | +      //         this.open = true;
 | 
	
		
			
				|  |  | +      //       });
 | 
	
		
			
				|  |  | +      //     } else {
 | 
	
		
			
				|  |  | +      //       this.notChange = true;
 | 
	
		
			
				|  |  | +      //       // this.$message.error('未知异常,请联系管理员')
 | 
	
		
			
				|  |  | +      //     }
 | 
	
		
			
				|  |  | +      //   } else {
 | 
	
		
			
				|  |  | +      //     this.notChange = true;
 | 
	
		
			
				|  |  | +      //     this.reset();
 | 
	
		
			
				|  |  | +      //     this.pass = {
 | 
	
		
			
				|  |  | +      //       fAmtdr: 0, //应收合计
 | 
	
		
			
				|  |  | +      //       fAmtcr: 0, //应付合计
 | 
	
		
			
				|  |  | +      //       fMblno: "", //提单号
 | 
	
		
			
				|  |  | +      //       fName: "", //货权方
 | 
	
		
			
				|  |  | +      //       fFeesName: "", //结算单位
 | 
	
		
			
				|  |  | +      //       fCorpid: "", //结算单位ID
 | 
	
		
			
				|  |  | +      //     };
 | 
	
		
			
				|  |  | +      //     const fId = row.fId || this.ids;
 | 
	
		
			
				|  |  | +      //     getCharge(fId).then((response) => {
 | 
	
		
			
				|  |  | +      //       this.increase_s = response.data.feeDoList;
 | 
	
		
			
				|  |  | +      //       this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  | +      //       this.queryParams = response.data.tFee;
 | 
	
		
			
				|  |  | +      //       this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  | +      //       this.fMblnoOptions = response.data.corps;
 | 
	
		
			
				|  |  | +      //       this.open = true;
 | 
	
		
			
				|  |  | +      //     });
 | 
	
		
			
				|  |  | +      //   }
 | 
	
		
			
				|  |  | +      // });
 | 
	
		
			
				|  |  | +      getCharges(row.fId).then((response) => {
 | 
	
		
			
				|  |  |          this.Operator = response.data.tFee.createBy;
 | 
	
		
			
				|  |  |          this.increase_s = response.data.feeDoList;
 | 
	
		
			
				|  |  |          this.fWbuOptions = response.data.feesList;
 | 
	
	
		
			
				|  | @@ -1419,7 +1495,7 @@ export default {
 | 
	
		
			
				|  |  |                fCorpid: "", //结算单位ID
 | 
	
		
			
				|  |  |              };
 | 
	
		
			
				|  |  |              const fId = row.fId || this.ids;
 | 
	
		
			
				|  |  | -            getCharge(fId).then((response) => {
 | 
	
		
			
				|  |  | +            getCharges(fId).then((response) => {
 | 
	
		
			
				|  |  |                this.increase_s = response.data.feeDoList;
 | 
	
		
			
				|  |  |                this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  |                this.queryParams = response.data.tFee;
 | 
	
	
		
			
				|  | @@ -1443,7 +1519,7 @@ export default {
 | 
	
		
			
				|  |  |              fCorpid: "", //结算单位ID
 | 
	
		
			
				|  |  |            };
 | 
	
		
			
				|  |  |            const fId = row.fId || this.ids;
 | 
	
		
			
				|  |  | -          getCharge(fId).then((response) => {
 | 
	
		
			
				|  |  | +          getCharges(fId).then((response) => {
 | 
	
		
			
				|  |  |              this.increase_s = response.data.feeDoList;
 | 
	
		
			
				|  |  |              this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  |              this.queryParams = response.data.tFee;
 | 
	
	
		
			
				|  | @@ -1861,7 +1937,7 @@ export default {
 | 
	
		
			
				|  |  |          fCorpid: "", //结算单位ID
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  |        const fId = row.fId || this.ids;
 | 
	
		
			
				|  |  | -      getCharge(fId).then((response) => {
 | 
	
		
			
				|  |  | +      getCharges(fId).then((response) => {
 | 
	
		
			
				|  |  |          this.Operator = response.data.tFee.createBy;
 | 
	
		
			
				|  |  |          this.increase_s = response.data.feeDoList;
 | 
	
		
			
				|  |  |          this.fWbuOptions = response.data.feesList;
 | 
	
	
		
			
				|  | @@ -1871,6 +1947,16 @@ export default {
 | 
	
		
			
				|  |  |          this.open = true;
 | 
	
		
			
				|  |  |          this.title = "修改付费列表";
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  | +      //   getCharge(fId).then((response) => {
 | 
	
		
			
				|  |  | +      //   this.Operator = response.data.tFee.createBy;
 | 
	
		
			
				|  |  | +      //   this.increase_s = response.data.feeDoList;
 | 
	
		
			
				|  |  | +      //   this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  | +      //   this.queryParams = response.data.tFee;
 | 
	
		
			
				|  |  | +      //   this.fWbuOptions = response.data.feesList;
 | 
	
		
			
				|  |  | +      //   this.fMblnoOptions = response.data.corps;
 | 
	
		
			
				|  |  | +      //   this.open = true;
 | 
	
		
			
				|  |  | +      //   this.title = "修改付费列表";
 | 
	
		
			
				|  |  | +      // });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      /** 提交按钮 */
 | 
	
		
			
				|  |  |      submitForm() {
 | 
	
	
		
			
				|  | @@ -1882,12 +1968,21 @@ export default {
 | 
	
		
			
				|  |  |              let formData = new window.FormData();
 | 
	
		
			
				|  |  |              formData.append("tFee", JSON.stringify(this.queryParams));
 | 
	
		
			
				|  |  |              formData.append("tFeeDo", JSON.stringify(this.increase_s));
 | 
	
		
			
				|  |  | -            addCharge(formData).then((response) => {
 | 
	
		
			
				|  |  | -              this.msgSuccess("新增成功");
 | 
	
		
			
				|  |  | -              // this.increase_s = []
 | 
	
		
			
				|  |  | -              // this.open = false
 | 
	
		
			
				|  |  | -              this.getList();
 | 
	
		
			
				|  |  | -            });
 | 
	
		
			
				|  |  | +            if (this.typevalue == 1) {
 | 
	
		
			
				|  |  | +              addCharge(formData).then((response) => {
 | 
	
		
			
				|  |  | +                this.msgSuccess("新增成功");
 | 
	
		
			
				|  |  | +                // this.increase_s = []
 | 
	
		
			
				|  |  | +                // this.open = false
 | 
	
		
			
				|  |  | +                this.getList();
 | 
	
		
			
				|  |  | +              });
 | 
	
		
			
				|  |  | +            } else {
 | 
	
		
			
				|  |  | +              addCharges(formData).then((response) => {
 | 
	
		
			
				|  |  | +                this.msgSuccess("新增成功");
 | 
	
		
			
				|  |  | +                // this.increase_s = []
 | 
	
		
			
				|  |  | +                // this.open = false
 | 
	
		
			
				|  |  | +                this.getList();
 | 
	
		
			
				|  |  | +              });
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |            } else {
 | 
	
		
			
				|  |  |              this.pass.fAmtcr = 0;
 | 
	
		
			
				|  |  |              this.pass.fAmtdr = 0;
 | 
	
	
		
			
				|  | @@ -1903,12 +1998,21 @@ export default {
 | 
	
		
			
				|  |  |              let formData = new window.FormData();
 | 
	
		
			
				|  |  |              formData.append("tFee", JSON.stringify(this.queryParams));
 | 
	
		
			
				|  |  |              formData.append("tFeeDo", JSON.stringify(this.increase_s));
 | 
	
		
			
				|  |  | -            addCharge(formData).then((response) => {
 | 
	
		
			
				|  |  | -              this.msgSuccess("修改成功");
 | 
	
		
			
				|  |  | -              // this.increase_s = []
 | 
	
		
			
				|  |  | -              // this.open = false
 | 
	
		
			
				|  |  | -              this.getList();
 | 
	
		
			
				|  |  | -            });
 | 
	
		
			
				|  |  | +            if (this.typevalue == 1) {
 | 
	
		
			
				|  |  | +              addCharge(formData).then((response) => {
 | 
	
		
			
				|  |  | +                this.msgSuccess("修改成功");
 | 
	
		
			
				|  |  | +                // this.increase_s = []
 | 
	
		
			
				|  |  | +                // this.open = false
 | 
	
		
			
				|  |  | +                this.getList();
 | 
	
		
			
				|  |  | +              });
 | 
	
		
			
				|  |  | +            } else {
 | 
	
		
			
				|  |  | +              addCharges(formData).then((response) => {
 | 
	
		
			
				|  |  | +                this.msgSuccess("修改成功");
 | 
	
		
			
				|  |  | +                // this.increase_s = []
 | 
	
		
			
				|  |  | +                // this.open = false
 | 
	
		
			
				|  |  | +                this.getList();
 | 
	
		
			
				|  |  | +              });
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        });
 | 
	
	
		
			
				|  | @@ -1967,7 +2071,8 @@ export default {
 | 
	
		
			
				|  |  |          type: "warning",
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  |          .then(function () {
 | 
	
		
			
				|  |  | -          return delCharge(fIds);
 | 
	
		
			
				|  |  | +          // return delCharge(fIds);
 | 
	
		
			
				|  |  | +          return delCharges(fIds);
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |          .then(() => {
 | 
	
		
			
				|  |  |            this.getList();
 |