gjy %!s(int64=2) %!d(string=hai) anos
pai
achega
126b46dc06

+ 2 - 0
src/api/V2/profitable/index.js

@@ -106,3 +106,5 @@ export const API_SPONSOR_WITHDRAW ='/newWorkflow/api/stopInstance'
 export const API_GET_WAREHOUSINGORDER_LIST = '/warehousingOrder/selectInfo'
 //费用明细信息
 export const API_POST_EXPORTFILE = '/expenseInfo/exportPc'
+//费用编号
+export const API_GET_CONSTNO = '/expenseInfo/costNoList'

+ 5 - 2
src/model/profitable/index.js

@@ -53,7 +53,8 @@ import {
   API_BATCH_DEL_FIXEDINFO,
   API_SPONSOR_WITHDRAW,
   API_GET_WAREHOUSINGORDER_LIST,
-  API_POST_EXPORTFILE
+  API_POST_EXPORTFILE,
+  API_GET_CONSTNO
 } from '@/api/V2/profitable'
 //收支明细列表
 export const getInOutDetailed = appRx.get(API_GET_INOUTDETAILED, errorCatcher, errorHandle, filter)
@@ -161,4 +162,6 @@ export const batchDelFixedInfo = appRx.post(API_BATCH_DEL_FIXEDINFO, errorCatche
   //入库单列表
 export const getwarehousingorderList = appRx.get(API_GET_WAREHOUSINGORDER_LIST,errorCatcher, errorHandle, filter)
 // 导出费用明细信息
-export const exportFile = appRx.post(API_POST_EXPORTFILE)
+export const exportFile = appRx.post(API_POST_EXPORTFILE)
+  //费用编号
+  export const getcostNo = appRx.get(API_GET_CONSTNO,errorCatcher, errorHandle, filter)

+ 2 - 2
src/views/contractManagement/purchaseContractAdd.vue

@@ -51,10 +51,10 @@
             />
           </ws-select>
         </ws-form-item> -->
-        <ws-form-item label="合同类型" span="1" prop="agreementType" class="readonly">
+        <!-- <ws-form-item label="合同类型" span="1" prop="agreementType" class="readonly">
           <el-radio v-model="deptBudgetList.agreementType" label="采购合同">采购合同</el-radio>
           <el-radio v-model="deptBudgetList.agreementType" label="补充协议">补充协议</el-radio>
-        </ws-form-item>
+        </ws-form-item> -->
 
         <!--关联合同-->
         <ws-form-item prop="agreementNo" label="关联合同" span="1" v-show="deptBudgetList.agreementType =='补充协议'">

+ 2 - 2
src/views/contractManagement/salesContractAdd.vue

@@ -34,10 +34,10 @@
         <!--基本信息-->
         <ws-info-table>
           <!--合同类型-->
-          <ws-form-item label="合同类型" span="1" class="readonly">
+          <!-- <ws-form-item label="合同类型" span="1" class="readonly">
             <el-radio v-model="deptBudgetList.agreementType" label="销售合同">销售合同</el-radio>
             <el-radio v-model="deptBudgetList.agreementType" label="补充协议">补充协议</el-radio>
-          </ws-form-item>
+          </ws-form-item> -->
           <!--合同编号-->
           <!-- v-if="deptBudgetList.agreementType == '销售合同'" -->
           <ws-form-item label="合同编号" span="1" prop="contractNo" class="readonly" v-if="deptBudgetList.agreementType == '销售合同'">

+ 43 - 0
src/views/profitable/cashoutaduit.vue

@@ -130,6 +130,49 @@
 
       </div> -->
       <div>
+        <div class="wenzi">车辆详情</div>
+        <el-table :data="deptBudgetList.tranSettlementReportList" style="width: 90%; margin: 20px auto; " ref="warehouseList"  >
+        <el-table-column type="index" label="序号" width="50"></el-table-column>
+        <el-table-column class="table_td" prop="contractNo" width="120" label="合同编号"></el-table-column>
+        <el-table-column class="table_td" prop="startAddress" width="120" label="发货库"></el-table-column>
+        <el-table-column class="table_td" prop="createDate" width="120" label="发货时间"></el-table-column>
+        <el-table-column class="table_td" prop="carNo" label="车牌号" width="140"></el-table-column>
+        <el-table-column width="100" class="table_td" prop="loadingWeight" label="装车净重(吨)">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" prop="unloadingWeight" label="卸车净重(吨)">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="transportDamage" label="公司承担运损">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" prop="lossWeight" label="损耗(吨)">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="actualLoss" label="实际损耗">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="transportPrice" label="预计单价(元/吨)"></el-table-column>
+        <el-table-column width="120" class="table_td" prop="settlementPrice" label="结算单价(元/吨)">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="settlementWeight" label="结算重量(吨)"></el-table-column>
+        <el-table-column width="120" class="table_td" prop="cargoDamage" label="货损">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="deductionAmount" label="扣款(元)"></el-table-column>
+        <el-table-column width="100" class="table_td" label="服务费(元)" prop="serviceCharge">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" label="实付金额(元)" prop="amountActuallyPaid"></el-table-column>
+        <el-table-column width="100" class="table_td" label="税点(元)" prop="taxPoint"></el-table-column>
+        <el-table-column width="100" class="table_td" label="合计应付(元)" prop="totalPayable"></el-table-column>
+        <el-table-column width="100" class="table_td" label="已付金额(元)" prop="amountEdPayable">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" label="未付金额(元)" prop="amountNotPayable"></el-table-column>
+        <el-table-column width="100" class="table_td" label="已开发票(元)" prop="alreadyInvoice">
+        </el-table-column>
+        <el-table-column width="150" class="table_td" label="付款日期" prop="paymentDate"></el-table-column>
+          <el-table-column width="150" class="table_td" label="司机/车队" prop="name">
+            <template
+              slot-scope="scope">
+              {{ scope.row.name }}
+              <span v-if="scope.row.fleetFlag==1">(队)</span>
+            </template>
+            </el-table-column>
+          </el-table>
         <div style='width:90%;margin:10px auto;text-align:right;'>
           <el-button class="bg-bottom" type="primary" size="small" @click="reject()">驳回
         </el-button>

+ 43 - 0
src/views/profitable/cashoutaduitNQ.vue

@@ -71,6 +71,49 @@
             <el-input disabled class='input50 input_css' placeholder="输入开户支行" v-model="deptBudgetList.bankBranch"></el-input>
           </el-form-item>
         </el-form>
+        <div class="wenzi">车辆详情</div>
+        <el-table :data="deptBudgetList.tranSettlementReportList" style="width: 90%; margin: 20px auto; " ref="warehouseList"  >
+        <el-table-column type="index" label="序号" width="50"></el-table-column>
+        <el-table-column class="table_td" prop="contractNo" width="120" label="合同编号"></el-table-column>
+        <el-table-column class="table_td" prop="startAddress" width="120" label="发货库"></el-table-column>
+        <el-table-column class="table_td" prop="createDate" width="120" label="发货时间"></el-table-column>
+        <el-table-column class="table_td" prop="carNo" label="车牌号" width="140"></el-table-column>
+        <el-table-column width="100" class="table_td" prop="loadingWeight" label="装车净重(吨)">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" prop="unloadingWeight" label="卸车净重(吨)">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="transportDamage" label="公司承担运损">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" prop="lossWeight" label="损耗(吨)">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="actualLoss" label="实际损耗">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="transportPrice" label="预计单价(元/吨)"></el-table-column>
+        <el-table-column width="120" class="table_td" prop="settlementPrice" label="结算单价(元/吨)">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="settlementWeight" label="结算重量(吨)"></el-table-column>
+        <el-table-column width="120" class="table_td" prop="cargoDamage" label="货损">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="deductionAmount" label="扣款(元)"></el-table-column>
+        <el-table-column width="100" class="table_td" label="服务费(元)" prop="serviceCharge">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" label="实付金额(元)" prop="amountActuallyPaid"></el-table-column>
+        <el-table-column width="100" class="table_td" label="税点(元)" prop="taxPoint"></el-table-column>
+        <el-table-column width="100" class="table_td" label="合计应付(元)" prop="totalPayable"></el-table-column>
+        <el-table-column width="100" class="table_td" label="已付金额(元)" prop="amountEdPayable">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" label="未付金额(元)" prop="amountNotPayable"></el-table-column>
+        <el-table-column width="100" class="table_td" label="已开发票(元)" prop="alreadyInvoice">
+        </el-table-column>
+        <el-table-column width="150" class="table_td" label="付款日期" prop="paymentDate"></el-table-column>
+          <el-table-column width="150" class="table_td" label="司机/车队" prop="name">
+            <template
+              slot-scope="scope">
+              {{ scope.row.name }}
+              <span v-if="scope.row.fleetFlag==1">(队)</span>
+            </template>
+            </el-table-column>
+          </el-table>
         <!-- 经营性费用不分配 -->
         <div v-if='deptBudgetList.expensesPurpose!=5'>
           <div style='margin:0 50px 10px;font-weight:bold'>费用分配</div>

+ 6 - 7
src/views/profitable/expensemanagementdetails.vue

@@ -205,7 +205,7 @@
               " @click="allot(scope.row)" type="primary">分配</el-button>
               <!-- <el-button v-if='scope.row.approveStatus=="已驳回"' @click="del(0,scope.row)" type="primary">删除</el-button> -->
               <el-button v-if='scope.row.status=="已驳回"' @click="del(0,scope.row)" type="danger">删除</el-button>
-              <el-button v-if='scope.row.approveStatus=="待财务审核"||scope.row.approveStatus=="待决策人审核"||scope.row.approveStatus=="待内勤审核"||scope.row.approveStatus=="待单证中心审核"' @click="aduit(scope.row)" type="primary">审核</el-button>
+              <el-button v-if='scope.row.approveStatus=="待财务审核"||scope.row.approveStatus=="待杜大光审核"||scope.row.approveStatus=="待决策人审核"||scope.row.approveStatus=="待内勤审核"||scope.row.approveStatus=="待单证中心审核"' @click="aduit(scope.row)" type="primary">审核</el-button>
               <el-button v-if='!scope.row.approveStatus&&scope.row.expensesType==2&&scope.row.status=="待付款"' @click="payment(scope.row)" type="primary">付款</el-button>
             </template>
           </el-table-column>
@@ -310,6 +310,7 @@ import {
   getXialaList,
   sponsorWithdraw,
   exportFile,
+  getcostNo
 } from '@/model/profitable/index'
 import { getwarehousName} from '@/model/warehouse/index'
 import {
@@ -327,6 +328,7 @@ export default {
       deptBudgetTotal: 0,
       currentPage: 1,
       pageSize: 10,
+      
       size: 100,
       expensesPurpose: '',
       recordList: [],
@@ -435,13 +437,10 @@ export default {
           this.warehousNameList = response
         })
        //搜索框下拉数据
-       getexenseinfo({
+       getcostNo({
         compId: localStorage.getItem('ws-pf_compId'),
-        startDate: this.startDate,
-        endDate: this.endDate,
-        searchKeyWord: '',
-        currentPage: 1,
-        pageSize: 9999,
+        // currentPage: 1,
+        // pageSize: 9999,
       })
         .toPromise()
         .then((response) => {

+ 49 - 0
src/views/profitable/expensemanagentlook.vue

@@ -61,6 +61,8 @@
           </div>
           <div v-else>暂无附件</div>
         </el-form-item>
+
+          
         </el-form>
         <el-form label-position="left">
             <div style='margin:20px -30px;font-weight:bold'>收款账户信息</div>
@@ -78,6 +80,49 @@
             </el-form-item>
           </el-form>
         </div>
+        <div class="wenzi">车辆详情</div>
+        <el-table :data="deptBudgetList.tranSettlementReportList" style="width: 90%; margin: 20px auto; " ref="warehouseList"  >
+        <el-table-column type="index" label="序号" width="50"></el-table-column>
+        <el-table-column class="table_td" prop="contractNo" width="120" label="合同编号"></el-table-column>
+        <el-table-column class="table_td" prop="startAddress" width="120" label="发货库"></el-table-column>
+        <el-table-column class="table_td" prop="createDate" width="120" label="发货时间"></el-table-column>
+        <el-table-column class="table_td" prop="carNo" label="车牌号" width="140"></el-table-column>
+        <el-table-column width="100" class="table_td" prop="loadingWeight" label="装车净重(吨)">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" prop="unloadingWeight" label="卸车净重(吨)">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="transportDamage" label="公司承担运损">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" prop="lossWeight" label="损耗(吨)">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="actualLoss" label="实际损耗">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="transportPrice" label="预计单价(元/吨)"></el-table-column>
+        <el-table-column width="120" class="table_td" prop="settlementPrice" label="结算单价(元/吨)">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="settlementWeight" label="结算重量(吨)"></el-table-column>
+        <el-table-column width="120" class="table_td" prop="cargoDamage" label="货损">
+        </el-table-column>
+        <el-table-column width="120" class="table_td" prop="deductionAmount" label="扣款(元)"></el-table-column>
+        <el-table-column width="100" class="table_td" label="服务费(元)" prop="serviceCharge">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" label="实付金额(元)" prop="amountActuallyPaid"></el-table-column>
+        <el-table-column width="100" class="table_td" label="税点(元)" prop="taxPoint"></el-table-column>
+        <el-table-column width="100" class="table_td" label="合计应付(元)" prop="totalPayable"></el-table-column>
+        <el-table-column width="100" class="table_td" label="已付金额(元)" prop="amountEdPayable">
+        </el-table-column>
+        <el-table-column width="100" class="table_td" label="未付金额(元)" prop="amountNotPayable"></el-table-column>
+        <el-table-column width="100" class="table_td" label="已开发票(元)" prop="alreadyInvoice">
+        </el-table-column>
+        <el-table-column width="150" class="table_td" label="付款日期" prop="paymentDate"></el-table-column>
+          <el-table-column width="150" class="table_td" label="司机/车队" prop="name">
+            <template
+              slot-scope="scope">
+              {{ scope.row.name }}
+              <span v-if="scope.row.fleetFlag==1">(队)</span>
+            </template>
+            </el-table-column>
+          </el-table>
         <div v-if='deptBudgetList.expensesPurpose==1&&deptBudgetList.costType==3||deptBudgetList.expensesPurpose==2' style='width:90%;margin:10px auto;'>
           <div style='margin-bottom:20px;'>费用分配</div>
           <!-- <div> -->
@@ -300,4 +345,8 @@
   width: 110px;
   height:140px;
 }
+.wenzi{
+  width:90%;
+  margin:0 auto;
+}
 </style>

+ 16 - 14
src/views/profitable/payment.vue

@@ -17,6 +17,8 @@
           <el-form-item  label-width='100px' label="用途" span="1" prop="purpose" class="readonly">
             <ws-select disabled v-model="deptBudgetList.expensesPurpose" placeholder="" class="typeselect" >
               <ws-option label="合同费用" value="1"
+                style="color: #8890b1" />
+                <ws-option label="运费" value="2"
                 style="color: #8890b1" />
                 <ws-option label="库点费用" value="3"
                 style="color: #8890b1" />
@@ -69,20 +71,20 @@
           </div>
         </el-form-item>
         </el-form>
-        <div v-if="this.payeeinfo" style='width:50%;'>
+        <div style='width:50%;'>
           <div style='margin:0 auto 10px;width:90%;'>账户信息</div>
             <el-form label-position="left">
             <el-form-item  label-width='100px' label="收款方" span="1" prop="purpose" class="readonly">
-            {{payeeinfo.customerType=="企业客户"?payeeinfo.compName:payeeinfo.customerName}}
+            {{deptBudgetList.payee}}
             </el-form-item>
             <el-form-item  label-width='100px' label="账号" span="1" prop="purpose" class="readonly">
-            {{payeeinfo.bankCard}}
+            {{deptBudgetList.accountNumber}}
             </el-form-item>
             <el-form-item  label-width='100px' label="开户行" span="1" prop="purpose" class="readonly">
-            {{payeeinfo.bankDeposit}}
+            {{deptBudgetList.bank}}
             </el-form-item>
             <el-form-item  label-width='100px' label="开户支行" span="1" prop="purpose" class="readonly">
-            {{payeeinfo.bankDepositBranch}}
+            {{deptBudgetList.bankBranch}}
             </el-form-item>
              </el-form>
         </div>
@@ -162,15 +164,15 @@
           //     this.paymentScreenshot.push(arr[i])
           //   }
           // }
-          if(localStorage.getItem('ws-pf_roleName')=='出纳'){
-            if(this.deptBudgetList.expensesPurpose==1){
-              getpayeeinfo({compId:localStorage.getItem('ws-pf_compId'),contractNo:response.contractNo}).toPromise()
-              .then((response1) => {
-                this.payeeinfo=response1
-                console.log(this.payeeinfo)
-              })
-            }          
-          }
+          // if(localStorage.getItem('ws-pf_roleName')=='出纳'){
+          //   if(this.deptBudgetList.expensesPurpose==1){
+          //     getpayeeinfo({compId:localStorage.getItem('ws-pf_compId'),contractNo:response.contractNo}).toPromise()
+          //     .then((response1) => {
+          //       this.payeeinfo=response1
+          //       console.log(this.payeeinfo)
+          //     })
+          //   }          
+          // }
         })
         
       },

+ 2 - 0
src/views/profitable/receiptaduit.vue

@@ -175,6 +175,8 @@
           .then(() => {
             this.deptBudgetList.addressUrl=this.paymentScreenshot.toString()
         this.deptBudgetList.flag=0
+        this.$delete(this.deptBudgetList,'status')	
+        this.$delete(this.deptBudgetList,'statusFlag')	
         editexenseinfo(this.deptBudgetList)
         .toPromise()
         .then((response) => {

+ 156 - 27
src/views/statisticalReport/autoSettlementList.vue

@@ -22,34 +22,42 @@
         </el-col>
         <el-col style="text-align: right; line-height: 60px; padding-right: 10px" :span="12">
           <el-select v-model="contractNo" placeholder="请选择合同" clearable filterable @change="contractchange"
-            maxlength="500" type="input" class="findValue">
+            maxlength="500" type="input">
             <el-option v-for="item in options" :key="item.id"
               :label="item.reportStatus?(item.contractNo + '(' + item.reportStatus + ')'):item.contractNo" :value="item.contractNo" />
             <!-- <el-option v-if="!item.reportStatus" v-for="item in options" :key="item.constKey" :label="item.contractNo"
               :value="item.contractNo" /> -->
           </el-select>
-          <el-select v-model="warehouseName" filterable placeholder="" @change="warehouseNameChange" >
+          <el-select class="selectwarehouse" v-model="warehouseName" filterable placeholder="" @change="warehouseNameChange" >
             <el-option key="全部仓库" label="全部仓库" value="" style="color: #8890b1" />
             <el-option v-for="item in warehouseList1" :key="item.id" :label="item.warehouseName" :value="item.warehouseName" style="color: #8890b1" />
           </el-select>
-          <el-select v-model="carType" filterable placeholder="" @change="carTypeChange" >
+          <el-select  v-model="carType" filterable placeholder="" @change="carTypeChange" >
             <el-option key="全部" label="全部" value="" style="color: #8890b1" />
             <el-option key="未卸车" label="未卸车" value="1" style="color: #8890b1" />
             <el-option key="已卸车" label="已卸车" value="2" style="color: #8890b1" />
           </el-select>
-          <!-- <el-input v-model="startAddress" placeholder="可按照发货地进行查找" clearable maxlength="500" type="input"
+          <!--  -->
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col  :span="12">
+          &nbsp;
+          <div v-hasPermission="`report.transportationReport.wuliu`" style="display:flex;align-items:center;justify-content: flex-start;" v-if="contractNo!='全部合同'&&warehouseList.records.length>0"><div style="width:100px;">粮食单价:</div> <div v-if="grainPricetext=='编辑'">{{grainPrice}}</div><el-input style="margin:0;" v-else v-model="grainPrice"></el-input><el-button style="margin:0 0 0 5px;" type="primary" @click="editgrainPrice">{{grainPricetext}}</el-button></div></el-col>
+        <el-col style="padding-left: 15px;text-align:right;" :span="12">
+          <el-date-picker @change="datechange" format="yyyy-MM-dd" v-model="value2" type="daterange" unlink-panels range-separator="至"
+          start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions">
+        </el-date-picker>
+          <el-input v-model="carNo" placeholder="可按车牌号进行查找" clearable maxlength="500" type="input"
           class="findValue" @keyup.enter.native="find()"></el-input>
         <ws-button class="find" type="primary" @click="find()"><img width="16" height="16" style="
               vertical-align: text-top;
               position: relative;
               top: 0px;
               left: -8px;
-            " src="../../../public/img/sousuo.png" alt="" /></ws-button> -->
+            " src="../../../public/img/sousuo.png" alt="" /></ws-button>
         </el-col>
       </el-row>
-      <el-row>
-        <div v-hasPermission="`report.transportationReport.wuliu`" style="display:flex;align-items:center;justify-content: flex-start;" v-if="contractNo!='全部合同'&&warehouseList.records.length>0"><div style="width:100px;">粮食单价:</div> <div v-if="grainPricetext=='编辑'">{{grainPrice}}</div><el-input style="margin:0;" v-else v-model="grainPrice"></el-input><el-button style="margin:0 0 0 5px;" type="primary" @click="editgrainPrice">{{grainPricetext}}</el-button></div>
-      </el-row>
       <el-row>
         <div style="color:red">注:审核时,同一运输阶段勾选任意复选框,当前运输阶段下所有条目都通过审核!</div>
       </el-row>
@@ -415,6 +423,34 @@
         <img style="width: 100px; height: 100px" :src="item" alt="" />
       </div> -->
     </WinseaContentModal>
+    <WinseaContentModal v-model="show" title="请款信息" @on-cancel="handleClose3">
+      <el-form>
+        <el-form-item label-width='100px' label="收款方" span="1" prop="payee">
+          <el-input class='input50 input_css' placeholder="输入收款方" v-model="deptBudgetList.payee"></el-input>
+        </el-form-item>
+        <el-form-item label-width='100px' label="账号" span="1" prop="accountNumber">
+          <el-input class='input50 input_css' placeholder="输入账号" v-model="deptBudgetList.accountNumber"></el-input>
+        </el-form-item>
+        <el-form-item label-width='100px' label="开户行" span="1" prop="bank">
+          <el-input class='input50 input_css' placeholder="输入开户行" v-model="deptBudgetList.bank"></el-input>
+        </el-form-item>
+        <el-form-item label-width='100px' label="开户支行" span="1" prop="bankBranch">
+          <el-input class='input50 input_css' placeholder="输入开户支行" v-model="deptBudgetList.bankBranch"></el-input>
+        </el-form-item>
+        <el-form-item label-width='100px' label="备注" span="1" prop="bankBranch">
+          <el-input
+            type="textarea"
+            :rows="5"
+            placeholder="选填,不超过50个字"
+            v-model="deptBudgetList.remark">
+            </el-input>
+        </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button @click="handleClose3">取 消</el-button>
+        <el-button @click="submitdata">提交</el-button>
+      </div>
+    </WinseaContentModal>
   </div>
   <!-- </div> -->
 </template>
@@ -466,9 +502,55 @@ export default {
 
   data() {
     return { 
+      value2:[],
       alreadyInvoice: '',
       needReapply: true,
       totalList:[],
+      carNo:'',
+      deptBudgetList:{},
+      pickerOptions: {
+          shortcuts: [{
+              text: '本周',
+              onClick(picker) {
+                const end = new Date()
+                const start = new Date()
+                var thisDay = start.getDay()
+                var thisDate = start.getDate()
+                if (thisDay != 0) {
+                  start.setDate(thisDate - thisDay)
+                }
+                picker.$emit('pick', [start, end])
+              },
+            },
+            {
+              text: '本月',
+              onClick(picker) {
+                const end = new Date()
+                const start = new Date()
+                start.setDate(1)
+                picker.$emit('pick', [start, end])
+              },
+            },
+            {
+              text: '本季度',
+              onClick(picker) {
+                var oDate = new Date()
+
+                var thisYear = oDate.getFullYear()
+                var thisMonth = oDate.getMonth() + 1
+
+                var n = Math.ceil(thisMonth / 3) // 季度
+
+                var Month = n * 3 - 1
+
+                var start = new Date(thisYear, Month - 2, 1)
+                var end = new Date()
+
+                picker.$emit('pick', [start, end])
+              },
+            },
+          ],
+        },
       dialogFormVisible1: false,
       dialogFormVisible2: false,
       dialogFormVisible3: false,
@@ -507,7 +589,6 @@ export default {
       year: '',
       options: [],
       id: '',
-      value2: '',
       deptBudgetTotal: 0,
       currentPage: 1,
       pageSize: 10,
@@ -568,6 +649,7 @@ export default {
           month: dayjs().format('MM'),
         },
       carType:'',
+      show:false,
       settlementPrice:0,
       amountNotPayable: 0,
       amountEdPayable: 0,
@@ -595,6 +677,16 @@ export default {
     this.showType = this.isShow
   },
   methods: {
+    datechange(e){
+      if (this.value2) {
+          this.startDate = this.dateFormat('YYYY-mm-dd', this.value2[0])
+          this.endDate = this.dateFormat('YYYY-mm-dd', this.value2[1])
+        } else {
+          this.startDate = ''
+          this.endDate = ''
+        }
+        this.getList()
+    },
     async exportlist() {
       if(this.modification.length>0){
         const {
@@ -809,6 +901,9 @@ export default {
     handleClose2() {
       this.paymentImg = false
     },
+    handleClose3() {
+      this.show = false
+    },
     //账户
     look(item) {
       this.dialogFormVisible8 = true
@@ -1408,17 +1503,17 @@ export default {
           }
         }
         var arr=this.ArrSet(this.modification,this.contractNo)
-        
-        this.$confirm(`是否确定请款?`, {
-          cancelButtonText: '取消',
-          confirmButtonText: '确定',
-          type: 'warning',
-        }).then(() => {
-          submitlogistics({tranSettlementReportList:this.modification}).toPromise()
-        .then((response) => {
-          this.$message.success('请款成功')
-          this.getList()
-        })
+        this.show=true
+        // this.$confirm(`是否确定请款?`, {
+        //   cancelButtonText: '取消',
+        //   confirmButtonText: '确定',
+        //   type: 'warning',
+        // }).then(() => {
+        //   submitlogistics({tranSettlementReportList:this.modification}).toPromise()
+        // .then((response) => {
+        //   this.$message.success('请款成功')
+        //   this.getList()
+        // })
           //批次通过  选中列表中 数据一个batchId, 选中列表去重
           // var obj = {};
           // that.modification = that.modification.reduce(function (item, next) {
@@ -1427,9 +1522,32 @@ export default {
           // }, []);
           // console.log('去重后提交数据', that.modification);
           // that.audit(this.modification[0], 0, true, 2)
-        })
+        // })
       }
     },
+    submitdata(){
+      this.deptBudgetList.tranSettlementReportList=this.modification
+      this.$confirm(`是否确定请款?`, {
+          cancelButtonText: '取消',
+          confirmButtonText: '确定',
+          type: 'warning',
+        }).then(() => {
+          submitlogistics(this.deptBudgetList).toPromise()
+        .then((response) => {
+          this.show=false
+          this.$message.success('请款成功')
+          this.getList()
+        })
+          // 批次通过  选中列表中 数据一个batchId, 选中列表去重
+        //   var obj = {};
+        //   that.modification = that.modification.reduce(function (item, next) {
+        //     obj[next.batchId] ? '' : obj[next.batchId] = true && item.push(next);
+        //     return item;
+        //   }, []);
+        //   console.log('去重后提交数据', that.modification);
+        //   that.audit(this.modification[0], 0, true, 2)
+        })
+    },
     handleSelectionChange(val) {
       if (val.length !== 0) {
         this.totalList = this.countTotal(val)
@@ -1506,7 +1624,10 @@ export default {
         searchType: this.searchType,
         contractNo: this.contractNo,
         manualFlag: this.manualFlag,
-        carType:this.carType
+        carType:this.carType,
+        carNo:this.carNo,
+        startDate:this.startDate,
+        endDate:this.endDate
       })
         .toPromise()
         .then((response) => {
@@ -1577,7 +1698,7 @@ export default {
         } else {
           //不是第一项时,就根据标识去存储
           if (data[index].warehouseNumViewList.length > 1) {
-            查找到符合条件的数据时每次要把之前存储的数据 + 1
+            // 查找到符合条件的数据时每次要把之前存储的数据 + 1
             this.spanArr[this.pos] = data[index].warehouseNumViewList.length
             this.spanArr.push(0)
           } else {
@@ -1594,7 +1715,7 @@ export default {
         'Y+': date.getFullYear().toString(), // 年
         'm+': (date.getMonth() + 1).toString(), // 月
         'd+': date.getDate().toString(), // 日
-        'H+': date.getHours().toString(), // 时
+        // 'H+': date.getHours().toString(), // 时
         // "M+": date.getMinutes().toString(),         // 分
         // "S+": date.getSeconds().toString()          // 秒
         // 有其他格式化字符需求可以继续添加,必须转化成字符串
@@ -1883,7 +2004,7 @@ export default {
 .el-input--small {
   font-size: 13px;
   width: 390px;
-  margin-left: 74%;
+  // margin-left: 74%;
 }
 
 /deep/.el-table .el-table__header .cell,
@@ -1925,9 +2046,11 @@ hr {
   width: 66%;
   margin-left: 9%;
 }
-
 .el-date-editor.el-input,
-.el-date-editor.el-input__inner,
+.el-date-editor.el-input__inner{
+  width:40% !important;
+}
+
 .el-input-number--small {
   width: 123% !important;
 }
@@ -1954,4 +2077,10 @@ hr {
     border: 1px solid #5473e8;
     color: #5473e8;
   }
+  /deep/.el-select{
+    width:30%;
+  }
+  // .selectwarehouse{
+  //   margin-left:5px;
+  // }
 </style>