|
|
@ -8,7 +8,7 @@ |
|
|
|
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> |
|
|
|
<div v-show="isSearchShow" class="search"> |
|
|
|
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="110px" class="tab-header"> |
|
|
|
<el-form-item label="状态"> |
|
|
|
<el-form-item label="认款状态"> |
|
|
|
<el-select v-model="listQuery.params.state" placeholder="请选择" clearable class="addinputw"> |
|
|
|
<el-option v-for="item in state_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/> |
|
|
|
</el-select> |
|
|
@ -18,7 +18,7 @@ |
|
|
|
<el-option v-for="item in paymentState_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="认款时间"> |
|
|
|
<el-form-item label="认款日期"> |
|
|
|
<div class="block" style="float: left;"> |
|
|
|
<el-date-picker v-model="listQuery.params.subscriptionStartDate" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/> |
|
|
|
</div> |
|
|
@ -27,9 +27,14 @@ |
|
|
|
<el-date-picker v-model="listQuery.params.subscriptionEndDate" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="排产申请编号"> |
|
|
|
<el-form-item label="申请编号"> |
|
|
|
<el-input v-model="listQuery.params.proSchAppNo" placeholder="请输入排产申请编号" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="采购类型"> |
|
|
|
<el-select v-model="listQuery.params.applyTypeKey" placeholder="请选择" clearable class="addinputw"> |
|
|
|
<el-option v-for="item in applyType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div class="btn" style="text-align: center;"> |
|
|
|
<el-button type="primary" icon="el-icon-search" @click="handleFilter" size="small">查询</el-button> |
|
|
@ -54,11 +59,16 @@ |
|
|
|
<span>{{ scope.row.state == '0' ? '未认款' : '已认款' }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="排产申请编号" align="center" width="200px"> |
|
|
|
<el-table-column label="申请编号" align="center" width="200px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.proSchAppNo }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="采购类型" align="center" width="200px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.applyType }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="申请订金金额" header-align="center" align="left" width="150px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.paymentMoney }}</span> |
|
|
@ -110,7 +120,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import req from '@/api/supplychain/manufacturers' |
|
|
|
import { getPathSidByUserSid } from '@/api/cheliang/dictcommons' |
|
|
|
import { getPathSidByUserSid, typeValues } from '@/api/cheliang/dictcommons' |
|
|
|
import Pagination from '@/components/pagination' |
|
|
|
import pageye from '@/components/pagination/pageye' |
|
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
@ -168,6 +178,7 @@ export default { |
|
|
|
dictValue: '无需打款' |
|
|
|
} |
|
|
|
], |
|
|
|
applyType_list: [], |
|
|
|
FormLoading: false, |
|
|
|
listLoading: false, |
|
|
|
listQuery: { |
|
|
@ -177,6 +188,7 @@ export default { |
|
|
|
subscriptionStartDate: '', |
|
|
|
subscriptionEndDate: '', |
|
|
|
proSchAppNo: '', |
|
|
|
applyTypeKey: '', |
|
|
|
createOrgSid: '' |
|
|
|
}, |
|
|
|
current: 1, |
|
|
@ -217,6 +229,11 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
init() { |
|
|
|
typeValues({ type: 'applyType' }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.applyType_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.listQuery.params.createOrgSid = res.data |
|
|
@ -263,6 +280,7 @@ export default { |
|
|
|
subscriptionStartDate: '', |
|
|
|
subscriptionEndDate: '', |
|
|
|
proSchAppNo: '', |
|
|
|
applyTypeKey: '', |
|
|
|
createOrgSid: '' |
|
|
|
}, |
|
|
|
current: 1, |
|
|
|