|
@@ -2,6 +2,18 @@
|
|
|
<template>
|
|
|
<div class="order">
|
|
|
<el-form :inline="true" :model="dataForm" @keyup.enter.native="queryData()">
|
|
|
+ <el-form-item label="业务类型">
|
|
|
+ <el-select
|
|
|
+ v-model="dataForm.businessType"
|
|
|
+ placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in optionsType"
|
|
|
+ :key="item.code"
|
|
|
+ :label="item.value"
|
|
|
+ :value="item.code">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="状态">
|
|
|
<el-select
|
|
|
v-model="dataForm.state"
|
|
@@ -158,6 +170,38 @@
|
|
|
code: '4', value: '审批不通过'
|
|
|
}
|
|
|
],
|
|
|
+ optionsType: [
|
|
|
+ {
|
|
|
+ code: null, value: '全部'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'warehouse_flow_in', value: '入库申请'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'warehouse_flow_out', value: '出库申请'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'contract_review', value: '合同评审'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'sale_order_flow', value: '订单评审'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'sale_purchase_flow', value: '采购申请'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'wh_template_record_flow', value: '模板出库'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'pro_technology_flow', value: '工艺'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'pro_product_flow', value: '产品'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'wh_inventory_record_flow', value: '盘点'
|
|
|
+ }
|
|
|
+ ],
|
|
|
optionsCustomer: []
|
|
|
}
|
|
|
},
|
|
@@ -174,7 +218,8 @@
|
|
|
'current': this.pageIndex,
|
|
|
'size': this.pageSize,
|
|
|
'createTime': this.dataForm.createTime ? this.dataForm.createTime : null,
|
|
|
- 'state': this.dataForm.state ? this.dataForm.state : null
|
|
|
+ 'state': this.dataForm.state ? this.dataForm.state : null,
|
|
|
+ 'businessType': this.dataForm.businessType ? this.dataForm.businessType : null
|
|
|
}
|
|
|
getApprovalList(params).then(({data}) => {
|
|
|
if (data && data.code === '200') {
|