|  | @@ -262,7 +262,7 @@
 | 
	
		
			
				|  |  |            </el-select>
 | 
	
		
			
				|  |  |          </el-form-item>
 | 
	
		
			
				|  |  |        </el-form>
 | 
	
		
			
				|  |  | -      <el-button type="primary">请 核</el-button>
 | 
	
		
			
				|  |  | +      <el-button @click="confirmCharge"  type="primary">请 核</el-button>
 | 
	
		
			
				|  |  |        <div class="dialogTableTitle flex a-center jlr">
 | 
	
		
			
				|  |  |          <h2>标题</h2>
 | 
	
		
			
				|  |  |          <el-button @click="getList_s()">新增</el-button>
 | 
	
	
		
			
				|  | @@ -383,7 +383,8 @@ import {
 | 
	
		
			
				|  |  |    exportAgreement,
 | 
	
		
			
				|  |  |    listAgreementitems,
 | 
	
		
			
				|  |  |    queryUserVal,
 | 
	
		
			
				|  |  | -  updateAgreements
 | 
	
		
			
				|  |  | +  updateAgreements,
 | 
	
		
			
				|  |  | +  collecTask
 | 
	
		
			
				|  |  |  } from '@/api/agreement/agreement'
 | 
	
		
			
				|  |  |  import { listCorps } from '@/api/basicdata/corps'
 | 
	
		
			
				|  |  |  import { listGoods } from '@/api/basicdata/goods'
 | 
	
	
		
			
				|  | @@ -391,6 +392,7 @@ import { delWarehousebills } from '@/api/warehouseBusiness/warehouseInStock'
 | 
	
		
			
				|  |  |  import { listGoodsTransfer } from '@/api/warehouseBusiness/goodsTransfer'
 | 
	
		
			
				|  |  |  import { listFees } from '@/api/basicdata/fees'
 | 
	
		
			
				|  |  |  import { updateAgreement_s } from '@/api/warehouseBusiness/agreement'
 | 
	
		
			
				|  |  | +import {collectFee} from "@/api/finance/charge";
 | 
	
		
			
				|  |  |  // import { listUser, queryUserVal } from '@/api/system/user'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  export default {
 | 
	
	
		
			
				|  | @@ -536,6 +538,28 @@ export default {
 | 
	
		
			
				|  |  |          console.log(response)
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    // 请核
 | 
	
		
			
				|  |  | +    confirmCharge() {
 | 
	
		
			
				|  |  | +      console.log(this.form)
 | 
	
		
			
				|  |  | +      this.$refs['form'].validate(valid => {
 | 
	
		
			
				|  |  | +        if (valid) {
 | 
	
		
			
				|  |  | +          if (this.form.fId != null) {
 | 
	
		
			
				|  |  | +            updateAgreement(this.form).then(response => {
 | 
	
		
			
				|  |  | +              let formData = new window.FormData();
 | 
	
		
			
				|  |  | +              // 附件数据
 | 
	
		
			
				|  |  | +              formData.append("agreement",JSON.stringify(this.form))
 | 
	
		
			
				|  |  | +              formData.append("agreementitems", JSON.stringify(this.agreementitemsList));
 | 
	
		
			
				|  |  | +              collecTask(formData).then(response => {
 | 
	
		
			
				|  |  | +                this.msgSuccess('请核成功')
 | 
	
		
			
				|  |  | +                this.open = false
 | 
	
		
			
				|  |  | +                this.getList()
 | 
	
		
			
				|  |  | +                this.agreementitemsList = []
 | 
	
		
			
				|  |  | +              })
 | 
	
		
			
				|  |  | +            })
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      /* 远程模糊查询商品 */
 | 
	
		
			
				|  |  |      goodsRemoteMethod(name) {
 | 
	
		
			
				|  |  |        if (name == null || name === "") {
 |