Commit f5f3e688 authored by 邓春圆's avatar 邓春圆

付款单列表搜索修改

parent d62abc2d
...@@ -7,40 +7,23 @@ ...@@ -7,40 +7,23 @@
:model="queryParams" :model="queryParams"
ref="queryForm" ref="queryForm"
size="small" size="small"
:inline="true"
label-width="100px" label-width="100px"
class="card" class="card"
> >
<el-row :span="24"> <el-row :gutter="10">
<el-form-item :label="$t('柜号')"> <el-col :span="4"> <el-form-item :label="$t('付款单号')">
<el-input <el-input
style="max-width: 188px"
v-model="queryParams.receiptNo"
:placeholder="$t('请输入收款单号')"
clearable clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item :label="$t('自编号')">
<el-input
style="max-width: 188px"
v-model="queryParams.receiptNo"
:placeholder="$t('请输入收款单号')"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item :label="$t('付款单号')">
<el-input
style="max-width: 188px" style="max-width: 188px"
v-model="queryParams.receiptNo" v-model="queryParams.receiptNo"
:placeholder="$t('请输入付款单号')" :placeholder="$t('请输入付款单号')"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item></el-col>
<el-form-item :label="$t('供应商')"> <el-col :span="4"><el-form-item :label="$t('供应商')">
<el-select <el-select
clearable
v-model="queryParams.supplierId" v-model="queryParams.supplierId"
:placeholder="$t('请选择供应商')" :placeholder="$t('请选择供应商')"
> >
...@@ -51,13 +34,8 @@ ...@@ -51,13 +34,8 @@
:value="supplier.id" :value="supplier.id"
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item></el-col>
<el-form-item :label="$t('状态')"> <el-col :span="4"><el-form-item :label="$t('业务员')">
<dict-selector :type="DICT_TYPE.PAYMENT_STATE" v-model="queryParams.state"/>
</el-form-item>
</el-row>
<el-row :span="24">
<el-form-item :label="$t('业务员')">
<!-- <el-select v-model="form.salesmanId" :placeholder="$t('请选择业务员')"> <!-- <el-select v-model="form.salesmanId" :placeholder="$t('请选择业务员')">
<el-option <el-option
v-for="item in creatorData" v-for="item in creatorData"
...@@ -67,6 +45,7 @@ ...@@ -67,6 +45,7 @@
/> />
</el-select> --> </el-select> -->
<el-select v-model="form.salesmanId" filterable :placeholder="$t('请选择业务员')" <el-select v-model="form.salesmanId" filterable :placeholder="$t('请选择业务员')"
clearable
@change="v => form.salesmanName = creatorData.find(t => t.id === v).nickname"> @change="v => form.salesmanName = creatorData.find(t => t.id === v).nickname">
<el-option <el-option
v-for="item in creatorData" v-for="item in creatorData"
...@@ -75,8 +54,8 @@ ...@@ -75,8 +54,8 @@
:value="item.id" :value="item.id"
/> />
</el-select> </el-select>
</el-form-item> </el-form-item> </el-col>
<el-form-item :label="$t('创建时间')"> <el-col :span="6"><el-form-item :label="$t('创建时间')">
<el-date-picker <el-date-picker
v-model="queryParams.beginCreateTime" v-model="queryParams.beginCreateTime"
type="datetimerange" type="datetimerange"
...@@ -85,17 +64,25 @@ ...@@ -85,17 +64,25 @@
:start-placeholder="$t('请选择日期')" :start-placeholder="$t('请选择日期')"
:end-placeholder="$t('请选择日期')"> :end-placeholder="$t('请选择日期')">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item></el-col>
<el-form-item :label="$t('发票状态')"> </el-row>
<el-row :gutter="10">
<el-col :span="4">
<el-form-item :label="$t('状态')">
<dict-selector clearable :type="DICT_TYPE.ECW_PAYMENT_STATE" v-model="queryParams.state"/>
</el-form-item>
</el-col>
<el-col :span="4"><el-form-item :label="$t('发票状态')">
<el-select <el-select
clearable
v-model="queryParams.invoiceStatus" v-model="queryParams.invoiceStatus"
:placeholder="$t('请选择是否开票')" :placeholder="$t('请选择是否开票')"
> >
<el-option :label="$t('未开票')" value="0"/> <el-option :label="$t('未开票')" value="0"/>
<el-option :label="$t('已开票')" value="1"/> <el-option :label="$t('已开票')" value="1"/>
</el-select> </el-select>
</el-form-item> </el-form-item></el-col>
<el-form-item> <el-col :span="6"><el-form-item>
<el-button type="primary" @click="handleQuery">{{ $t('查找') }}</el-button> <el-button type="primary" @click="handleQuery">{{ $t('查找') }}</el-button>
<el-button <el-button
style="margin-left: 10px" style="margin-left: 10px"
...@@ -104,7 +91,7 @@ ...@@ -104,7 +91,7 @@
@click="handleAdd(0)" @click="handleAdd(0)"
>{{ $t('新增请款单') }}</el-button >{{ $t('新增请款单') }}</el-button
> >
</el-form-item> </el-form-item></el-col>
</el-row> </el-row>
</el-form> </el-form>
</el-card> </el-card>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment