Sfoglia il codice sorgente

个贷出入库相关和工作流逻辑优化

wucl 1 anno fa
parent
commit
a1103e2dc2

+ 4 - 1
src/api/modules/businessProduction.js

@@ -20,5 +20,8 @@ export default {
    },
    doStamp(params){
       return request.post(`businessProduction/doStamp`, params)
-   }
+   },
+   personalBag(params){
+      return request.get(`businessProduction/bag/personal/${params}`)
+   },
 }

+ 3 - 0
src/api/modules/productionOutWarehouse.js

@@ -29,5 +29,8 @@ export default {
    },
    getListByBizTypeProductionId(params,params1){
     return request.get(`productionOutWarehouse/production/${params}/${params1}`)
+   },
+   getPersonalByOrderId(params){
+    return request.get(`productionOutWarehouse/personal/${params}`)
    }
 }

+ 116 - 35
src/views/finance/fundList.vue

@@ -249,7 +249,7 @@
               <el-input v-model="listQuery.name" placeholder="项目名称" clearable
                 style="margin-left: 20px;width: 270px;float: left;">
               </el-input>
-              <el-input v-model="listQuery.orderId" placeholder="项目编号" clearable
+              <el-input v-model="listQuery.orderId" placeholder="订单号" clearable
                 style="margin-left: 20px;width: 200px;float: left;">
               </el-input>
               <el-input v-model="listQuery.clientManager" placeholder="客户经理" clearable
@@ -324,7 +324,79 @@
             </parentTable>
           </y-page-list-layout>
         </el-tab-pane>
-        <el-tab-pane label="我的个贷订单" name="second">个贷业务</el-tab-pane>
+        <el-tab-pane label="我的个贷订单" name="second">
+          <y-page-list-layout :page-list="myPersonalPageData" :page-para="orderListQuery" :get-page-list="getMyPersonalOrder">
+            <template slot="left">
+              <el-input v-model="listQuery.name" placeholder="坐落" clearable
+                style="margin-left: 20px;width: 270px;float: left;">
+              </el-input>
+              <el-input v-model="listQuery.orderId" placeholder="订单号" clearable
+                style="margin-left: 20px;width: 200px;float: left;">
+              </el-input>
+              <el-input v-model="listQuery.clientManager" placeholder="客户经理" clearable
+                style="margin-left: 20px;width: 100px;float: left;">
+              </el-input>
+              <el-button class="filter-item" style="margin-left: 10px;float: left;" type="primary" @click="searchList" round>搜索
+              </el-button>
+              <el-button class="filter-item" style="float: left;" round type="success" @click="resetSearch()">重置
+              </el-button>
+            </template>
+            <parentTable  :data="myMajorPageData.records" slot="table" style="width: 100%;" :selectionChange="handleSelectionChange">
+              <el-table-column
+                align="center"
+                type="selection"
+                claimOrders
+                width="100" border="true">
+              </el-table-column>
+              <el-table-column label="坐落" align="center" show-overflow-tooltip  >
+                <template slot-scope="{row}">
+                  <span>{{ row.location }}</span>
+                </template>
+              </el-table-column>
+              <el-table-column label="订单号" align="center" show-overflow-tooltip   >
+                <template slot-scope="{row}">
+                  <span>{{row.orderId }}</span>
+                </template>
+              </el-table-column>
+              <el-table-column label="委托人" align="center" show-overflow-tooltip width='100'>
+                <template slot-scope="{row}">
+                  <span>{{ row.bailorA}} {{ row.bailorB}}</span>
+                </template>
+              </el-table-column>
+              <el-table-column label="客户名称" align="center" width='200' show-overflow-tooltip>
+                <template slot-scope="{row}">
+                  <span>{{ row.clientName }}</span>
+                </template>
+              </el-table-column>
+              <el-table-column label="业务来源" align="center" show-overflow-tooltip>
+                <template slot-scope="{row}">
+                  <span>{{ row.clientSubName }}</span>
+                </template>
+              </el-table-column>
+              <el-table-column label="中介" align="center" >
+                <template slot-scope="{row}">
+                  <span>{{ row.agent==null?'-': row.agent }}</span>
+                </template>
+              </el-table-column>
+              <el-table-column label="联系人" align="center">
+                <template slot-scope="{row}">
+                  <span>{{ row.contactName}}</span>
+                </template>
+              </el-table-column>
+              <el-table-column label="实收款(元)" align="center" >
+                <template slot-scope="{row}">
+                  <span>{{ row.realAmount }}</span>
+                </template>
+              </el-table-column>
+              <el-table-column
+                align = "center" show-overflow-tooltip width='120' label="备注">
+                  <template slot-scope="{row}">
+                  <span>{{ row.remark }}</span>
+                </template>
+              </el-table-column>
+            </parentTable>
+          </y-page-list-layout>
+        </el-tab-pane>
         <el-tab-pane label="我的资产订单" name="third">资产业务</el-tab-pane>
       </el-tabs>
       <el-button  style="display:flex; position:absolute;right:50px;top:50px" type="danger" @click="openClaimDialog()">认领</el-button>
@@ -472,7 +544,8 @@ export default {
       amount:null,
       productionLabel:"产品",
       orderDate:'',
-      payDate:''
+      payDate:'',
+      myPersonalPageData:{ records: [] },
     }
   },
   created() {
@@ -726,39 +799,47 @@ export default {
           pickeds.push(picked);
         }
         this.claimOrders = pickeds;
-      },
-      openClaimDialog(){
-        if (this.claimOrders.length===0){
-          this.$notify({
-                    title: '提示',
-                    message: '请先选择订单,然后认领。',
-                    type: 'info',
-                    duration: 2000
-                });
-                return ;
+    },
+    openClaimDialog(){
+      if (this.claimOrders.length===0){
+        this.$notify({
+                  title: '提示',
+                  message: '请先选择订单,然后认领。',
+                  type: 'info',
+                  duration: 2000
+              });
+              return ;
+      }
+      this.allotAmountDialog = true;
+      this.notInfo = this.notInfo + this.notClaimAmount + '¥'
+        if (this.activeName === 'MAJOR_BUSINESS'){
+            this.$api.businessProduction.orderReports(this.claimOrders).then(res=>{
+              if (res.code ===200){
+                  this.claimOrders = res.data;
+              }
+            })
         }
-        this.allotAmountDialog = true;
-        this.notInfo = this.notInfo + this.notClaimAmount + '¥'
-          if (this.activeName === 'MAJOR_BUSINESS'){
-              this.$api.businessProduction.orderReports(this.claimOrders).then(res=>{
-                if (res.code ===200){
-                    this.claimOrders = res.data;
-                }
-              })
-          }
-      },
-      cleanFund(){
-        this.realFund.id=null;
-        this.realFund.payer=null;
-        this.realFund.payerBank=null;
-        this.realFund.payerAccount=null;
-        this.realFund.amount=null;
-        this.realFund.claimAmount=null;
-        this.realFund.payDatetime=null;
-        this.realFund.remark=null;
-        this.realFund.created=null;
-        this.realFund.creator=null;
-      },
+    },
+    cleanFund(){
+      this.realFund.id=null;
+      this.realFund.payer=null;
+      this.realFund.payerBank=null;
+      this.realFund.payerAccount=null;
+      this.realFund.amount=null;
+      this.realFund.claimAmount=null;
+      this.realFund.payDatetime=null;
+      this.realFund.remark=null;
+      this.realFund.created=null;
+      this.realFund.creator=null;
+    },
+
+    getMyPersonalOrder(){
+      this.$api.personal.list(this.listQuery).then(res=>{
+        if (res.code ===200){
+            this.myPersonalPageData = res.data;
+        }
+      })
+    }
   },
   
 }

+ 350 - 38
src/views/personal/myOrder.vue

@@ -29,17 +29,17 @@
         </el-button>
       </template>
       <parentTable ref="table" v-loading="listLoading" :data="pageData.records" slot="table" style="width: 100%;" >
-        <el-table-column label="项目编号" align="center" width="200" >
+        <el-table-column label="坐落" align="center" width="200">
           <template slot-scope="{row}">
-            <span>{{ row.orderId }}</span>
+            <span>{{ row.location }}</span>
           </template>
         </el-table-column>
-        <el-table-column label="坐落" align="center" width="150">
+        <el-table-column label="项目编号" align="center" width="140" >
           <template slot-scope="{row}">
-            <span>{{ row.location }}</span>
+            <span>{{ row.orderId }}</span>
           </template>
         </el-table-column>
-        <el-table-column label="面积" align="center" width="280" prop="reportNo">
+        <el-table-column label="面积" align="center" width="130" prop="reportNo">
           <template slot-scope="{row}">
             <span>{{ row.acreage }}</span>
           </template>
@@ -81,42 +81,17 @@
         </el-table-column>
         <el-table-column label="委托人" align="center">
           <template slot-scope="{row}">
-            <span>{{ row.bailorA}}{{ row.bailorB}}</span>
-          </template>
-        </el-table-column>
-        <el-table-column label="委托人电话" align="center">
-          <template slot-scope="{row}">
-            <span>{{ row.bailoraTel }} {{ row.bailorbTel }}</span>
-          </template>
-        </el-table-column>
-        <el-table-column label="客户经理" align="center">
-          <template slot-scope="{row}">
-            <span>{{ row.clientManager }}</span>
-          </template>
-        </el-table-column>
-        <el-table-column label="实勘人" align="center" width="130">
-          <template slot-scope="{row}">
-            <span>{{ row.outwardStaffName }}</span>
-          </template>
-        </el-table-column>
-        <el-table-column label="内业人员" align="center" width="130">
-          <template slot-scope="{row}">
-            <span>{{ row.inwardStaffName }}</span>
-          </template>
-        </el-table-column>
-        <el-table-column label="定价人员" align="center" width="130">
-          <template slot-scope="{row}">
-            <span>{{ row.pricingStaffName }}</span>
+            <span>{{ row.bailorA}} {{ row.bailorB}}</span>
           </template>
         </el-table-column>
-        <el-table-column label="当前节点" align="center" width="130">
+        <el-table-column label="实收款(元)" align="center" width='120'>
           <template slot-scope="{row}">
-            <span>{{ row.currentNodeName }}</span>
+            <span style="color:red;font-weight:bold">{{ row.realAmount }}</span>
           </template>
         </el-table-column>
-        <el-table-column label="节点处理人" align="center" width="130">
+        <el-table-column label="应收款(元)" align="center" width='120'>
           <template slot-scope="{row}">
-            <span>{{ row.handlerName }}</span>
+            <span>{{ row.shouldAmount }}</span>
           </template>
         </el-table-column>
         <el-table-column label="下单时间" align="center" width="100" prop="created" sortable>
@@ -124,19 +99,253 @@
             {{ row.created }}
           </template>
         </el-table-column>
-        <el-table-column label="操作" align="center" width="80" fixed="right">
+        <el-table-column fixed="right" label="操作" width="130" align="center">
           <template slot-scope="{row}">
-            <el-button round type="primary" @click="orderDetail(row)">详情</el-button>
+            <el-button round type="text" size="small" @click="orderDetail(row)">详情</el-button>
+            <el-button type="text" size="small" @click="productionList(row)">产品包</el-button>
           </template>
         </el-table-column>
       </parentTable>
     </y-page-list-layout>
+    <el-dialog :visible.sync="productionListDialog" width="60%" center  custom-class="doWarehouseClass">
+      <el-collapse v-model="activeName" accordion v-if="bag.productions.length>0">
+        <el-collapse-item v-for="(r,index) in bag.productions" :name="index">
+          <template slot="title">
+            <i class="el-icon-document"></i>
+            <span style="font-weight:bold;margin-left:10px;margin-right:10px">{{ aliasProductionType(r.production) }}</span>
+            {{r.productionNo}}
+          </template>
+          <el-card style="margin-top:20px" shadow="hover">
+            <div slot="header" class="clearfix">
+              <!-- <span style="font-size:16px;font-weight:bold;">{{aliasProductionType(r.production)}}</span> -->
+              <el-button v-if="(r.production!='STATEMENT' && r.repertoryState !=null && !r.repertoryState)" 
+                style="float: right; padding: 3px 0;margin-left:10px" type="text" @click="openApplyOutWarehouseList(bag)">出库申请</el-button>
+            </div>
+            <el-form :model="r">
+              <el-row>
+                <el-col :xs="24" :sm="12" :lg="24" :span="12">
+                  <el-form-item label="项目名称:" prop="name"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.name" type="text" class="filter-item" disabled readonly/>
+                  </el-form-item >
+                </el-col>
+              </el-row>
+              <el-row>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="出具报告日期:" prop="createDate"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.createDate" type="text" class="filter-item" disabled readonly />
+                  </el-form-item >
+                </el-col>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="实勘日期:" prop="sceneDate"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.sceneDate" type="text" class="filter-item" disabled readonly />
+                  </el-form-item >
+                </el-col>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="报告使用期限:" prop="repertoryOutTime"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.limitDate" type="text" class="filter-item" disabled readonly />
+                  </el-form-item >
+                </el-col>
+              </el-row>
+              <el-row>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="评估总价:" prop="evaluateAmount"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.evaluateAmount/10000" type="text" class="filter-item" disabled readonly>
+                      <template slot="append">万元</template>
+                    </el-input>
+                  </el-form-item >
+                </el-col>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="评估面积:" prop="evaluateAcreage"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.evaluateAcreage" type="text" class="filter-item" disabled readonly>
+                      <template slot="append">平方</template>
+                    </el-input>
+                  </el-form-item >
+                </el-col>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="评估单价:" prop="evaluatePrice"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.evaluatePrice/10000" type="text" class="filter-item" disabled readonly>
+                      <template slot="append">万元</template>
+                    </el-input>
+                  </el-form-item >
+                </el-col>
+              </el-row>
+              <el-row>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="库存状态:" prop="repertoryState"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.repertoryState==null?'未入库':(r.repertoryState?'已出库':'已入库')" type="text" class="filter-item" disabled readonly />
+                  </el-form-item >
+                </el-col>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="入库时间:" prop="repertoryInTime"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.repertoryInTime" type="text" class="filter-item" disabled readonly />
+                  </el-form-item >
+                </el-col>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="出库时间:" prop="repertoryOutTime"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.repertoryOutTime" type="text" class="filter-item" disabled readonly />
+                  </el-form-item >
+                </el-col>
+              </el-row>
+              <el-row>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="归档状态:" prop="ifSaveFile"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.ifSaveFile?'已归档':'未归档'" type="text" class="filter-item" disabled readonly />
+                  </el-form-item >
+                </el-col>
+                <el-col :xs="24" :sm="12" :lg="8" :span="12">
+                  <el-form-item label="归档时间:" prop="saveFileDate"  label-width="140px" class="postInfo-container-item">
+                    <el-input :value="r.saveFileDate" type="text" class="filter-item" disabled readonly />
+                  </el-form-item >
+                </el-col>
+              </el-row>
+            </el-form>
+          </el-card>
+        </el-collapse-item>
+      </el-collapse>
+      <el-empty v-else description="暂无产品"></el-empty>
+    </el-dialog>
+    <el-dialog :visible.sync="outWarehouseListDialog" width="70%" center  custom-class="doWarehouseClass" >
+      <el-button type="danger" round @click="outWarehouseDialog = true">新增出库申请</el-button>
+      <div style="margin-top:30px;">
+        <el-table
+          :data="outApllyList"
+          stripe
+          style="width: 100%">
+          <el-table-column
+          align = "center"
+            prop="realAmount"
+            label="申请时实收款金额(元)"
+            width="180">
+            <template slot-scope="{row}">
+              <span>{{ row.realAmount==null?'-': row.realAmount}}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+          align = "center"
+            prop="applyName"
+            label="申请人">
+            <template slot-scope="{row}">
+              <span>{{ row.applyName }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+          align = "center"
+            prop="remark"
+            label="申请原因" show-overflow-tooltip>
+            <template slot-scope="{row}">
+              <span>{{ row.remark==null?'-':row.remark }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+          align = "center"
+            prop="created"
+            label="申请日期" width="150">
+            <template slot-scope="{row}">
+              <span>{{ row.created }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+          align = "center"
+            prop="departmentCheckState"
+            label="部门审核状态">
+            <template slot-scope="{row}">
+              <span>{{ row.departmentCheckState==null?'-':row.departmentCheckState }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+          align = "center"
+            prop="departmentChecker"
+            label="部门审核人">
+            <template slot-scope="{row}">
+              <span>{{ row.departmentChecker==null?'-':row.departmentChecker }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+          align = "center"
+            prop="departmentCheckTime"
+            label="部门审核时间" width="150">
+            <template slot-scope="{row}">
+              <span>{{ row.departmentCheckTime==null?'-': row.departmentCheckTime}}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+          align = "center"
+            prop="departmentReply"
+            label="部门审核回复" show-overflow-tooltip>
+            <template slot-scope="{row}">
+              <span>{{ row.departmentReply==null?'-':row.departmentReply }}</span>
+            </template>
+          </el-table-column>
+          <!-- <el-table-column
+          align = "center"
+            prop="financeCheckState"
+            label="财务审核状态">
+            <template slot-scope="{row}">
+              <span>{{ row.financeCheckState==null?'-':row.financeCheckState }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+          align = "center"
+            prop="financeChecker"
+            label="财务审核人">
+            <template slot-scope="{row}">
+              <span>{{ row.financeChecker==null?'-':row.financeChecker }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+          align = "center"
+            prop="financeCheckTime"
+            label="财务审核时间" width="150">
+            <template slot-scope="{row}">
+              <span>{{ row.financeCheckTime==null?'-':row.financeCheckTime }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+          align = "center"
+            prop="financeReply"
+            label="财务审核回复" show-overflow-tooltip>
+            <template slot-scope="{row}">
+              <span>{{ row.financeReply==null?'-':row.financeReply }}</span>
+            </template>
+          </el-table-column> -->
+          <!-- <el-table-column fixed="right" label="操作" width="100" align = "center">
+          <template slot-scope="{row}">
+            <el-button @click="outApplyCancel(row.id,row.productionId,row.financeCheckState)" type="text" size="small">撤销</el-button>
+          </template>
+        </el-table-column> -->
+        </el-table>
+      </div>
+    </el-dialog>
+    <el-dialog :visible.sync="outWarehouseDialog" width="35%" center top="35vh" custom-class="doWarehouseClass" >
+      <el-form ref="outWarehouse" :model="outWarehouse" style="margin-left:40px" :rules="rules">
+          <el-row>
+            <el-col :xs="24" :sm="12" :lg="24" :span="12">
+              <el-form-item label="应收款金额:" prop="shouldAmount"  label-width="160px" class="postInfo-container-item">
+                    <el-input style="width:300px" v-model="outWarehouse.shouldAmount" type="text" class="filter-item" />
+                  </el-form-item >
+            </el-col>
+          </el-row>
+          <el-row>
+            <el-col :xs="24" :sm="12" :lg="24" :span="12">
+                <el-form-item label="出库原因:" prop="remark"  label-width="160px" class="postInfo-container-item">
+                    <el-input style="width:300px" type="textarea" v-model="outWarehouse.remark"></el-input>
+                </el-form-item>
+            </el-col>
+          </el-row>
+      </el-form>
+      <span slot="footer" class="dialog-footer">
+        <el-button @click="outWarehouseDialog = false">取 消</el-button>
+        <el-button type="primary" @click="doApplyOut()">确 定</el-button>
+      </span>
+    </el-dialog>
   </div>
 </template>
 <script>
 import YPageListLayout from '@/components/YPageListLayout'
 import Breadcrumb from '@/components/Breadcrumb'
 import PermissionButton from '@/components/PermissionButton/PermissionButton'
+import YDetailPageLayout from '@/components/YDetailPageLayout/index_detail'
+import {isNumber} from '@/utils/validate'
 
 export default {
   name: 'PersonalMyOrder',
@@ -148,6 +357,9 @@ export default {
 
   data() {
     return {
+      rules:{
+            shouldAmount:[{required:true,message:"应收款金额必填",trigger:'blur'},{validator:isNumber,trigger:'blur'}],
+          },
       pageData: { records: [] },
       listLoading: false,
       listQuery: {
@@ -160,6 +372,23 @@ export default {
         startDate:null,
         endDate:null
       },
+      productionListDialog:false,
+      bag:{
+        businessId:null,
+        businessType:null,
+        reportNo:null,
+        productions:[]
+      },
+      activeName: '0',
+      outWarehouseListDialog:false,
+      outWarehouseDialog:false,
+      outWarehouse:{
+        id:null,
+        orderFundId:null,
+        remark:null,
+        realAmount:null
+      },
+      outApllyList:[]
     }
   },
   created() {
@@ -202,10 +431,93 @@ export default {
     orderDetail(row){
       this.$router.push(`/personal/order?id=${row.id}&couldEdit=${false}&recall=${true}$couldBack=${true}&back=${'/personal/my/order'}`)
     },
+    productionList(row){
+      this.productionListDialog = true;
+      this.outWarehouse.orderFundId = row.orderFundId;
+      this.outWarehouse.realAmount = row.realAmount;
+      if (row.id){
+          this.$api.businessProduction.personalBag(row.id).then(res=>{
+            if (res.code === 200 && res.data!=null){
+                let prods = res.data.productions
+                if (prods){
+                  let prodType = prods.map(item=>item.production)
+                  if (prodType.includes("TECHNIC") && prodType.includes("FINAL")){
+                    prods = prods.filter(item=>item.production!='TECHNIC')
+                    for (let i in prods){
+                       if (prods[i].production==='FINAL'){
+                        prods[i].production = 'TECHNIC+FINAL'
+                       }
+                    }
+                    this.bag = res.data;
+                    this.bag.productions = prods;
+                  }
+                }
+                this.bag = res.data;
+
+            }
+          })
+      }
+    },
+    aliasProductionType(code){
+        if (code === 'STATEMENT'){
+            return '房地产意见书';
+        }
+        if (code === 'LETTER'){
+            return '复评函';
+        }
+        if (code === 'TECHNIC'){
+            return '报告(技术报告)';
+        }
+        if (code === 'FINAL'){
+            return '报告(结果报告)';
+        }
+        return '报告(技术报告、结果报告)'
+    },
+    openApplyOutWarehouseList(bag){
+      this.getListByBizTypeProductionId(bag.businessId);
+      this.outWarehouseListDialog = true;
+      this.outWarehouse.businessType = 'PERSOANL_BUSINESS';
+      this.outWarehouse.businessId = bag.businessId;
+    },
+    getListByBizTypeProductionId(orderId){
+      this.$api.productionOutWarehouse.getPersonalByOrderId(orderId).then(res=>{
+          if (res.code === 200){
+              this.outApllyList = res.data;
+          }
+        })
+    },
+    doApplyOut(){
+      let taskRecordDTO = new Object();
+      taskRecordDTO.recordId = this.taskId;
+      taskRecordDTO.taskData = this.outWarehouse;
+      console.log(this.outWarehouse);
+      this.$api.productionOutWarehouse.add(taskRecordDTO).then(res=>{
+        if (res.code === 200 && res.data){
+          this.$notify({
+              title: '成功',
+              message: '出库申请已提交',
+              type: 'success',
+              duration: 2000
+            });
+            this.commitNode();
+            this.outWarehouseDialog = false;
+            this.outWarehouseListDialog = false;
+        }else {
+          this.$notify({
+              title: '失败',
+              message: '出库申请提交失败',
+              type: 'error',
+              duration: 2000
+            });
+        }
+      })
+    }
   },
   
 }
 </script>
 <style lang="scss" scoped>
- 
+     /deep/.doWarehouseClass {
+     border-radius: 10px;
+    }
 </style>