单据备注字段查询

dev
郑明梁 2 years ago
parent ad3bba959c
commit 623b924f3e

@ -5,7 +5,7 @@
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item class="query-form-item" label="单号:"> <el-form-item class="query-form-item" label="单号:">
<el-input v-model="filterQuery.billNo" placeholder="单号" <el-input v-model="filterQuery.billNo" placeholder="请输入单号"
style="width: 90%" style="width: 90%"
clearable="true"></el-input> clearable="true"></el-input>
</el-form-item> </el-form-item>
@ -104,6 +104,13 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="8">
<el-form-item class="query-form-item" label="备注:">
<el-input v-model="filterQuery.unionRemark" placeholder="请输入备注" style="width: 90%" clearable="true"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form> </el-form>
<div class="top-right-btn"> <div class="top-right-btn">
<el-button-group> <el-button-group>
@ -169,6 +176,7 @@
</el-table-column> </el-table-column>
<el-table-column label="总金额" prop="allAmount" width="120"> <el-table-column label="总金额" prop="allAmount" width="120">
</el-table-column> </el-table-column>
<el-table-column label="备注" prop="remark" show-overflow-tooltip width="180"></el-table-column>
<el-table-column label="单据状态" prop="status" width="100"> <el-table-column label="单据状态" prop="status" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="statusFilterType(scope.row.status)">{{ <el-tag :type="statusFilterType(scope.row.status)">{{
@ -557,6 +565,7 @@ export default {
startTime: null, startTime: null,
endTime: null, endTime: null,
invCode: null, invCode: null,
unionRemark: null,
}, },
determineVisible: false, determineVisible: false,
determineData: null, determineData: null,

@ -5,7 +5,7 @@
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item class="query-form-item" label="单号:"> <el-form-item class="query-form-item" label="单号:">
<el-input v-model="filterQuery.billNo" placeholder="单号" <el-input v-model="filterQuery.billNo" placeholder="请输入单号"
style="width: 90%" style="width: 90%"
clearable="true" clearable="true"
></el-input> ></el-input>
@ -48,32 +48,16 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8" v-if="showSup"> <el-col :span="8">
<el-form-item class="query-form-item" label="送货单位:"> <el-form-item class="query-form-item" label="备注:">
<el-select <el-input v-model="filterQuery.unionRemark" placeholder="请输入备注"
v-model="filterQuery.fromCorp" style="width: 90%"
filterable clearable="true"
remote ></el-input>
clearable="true"
reserve-keyword
placeholder="送货单位"
:remote-method="findMethod"
size="mini"
:loading="corpLoading"
style="width: 90%"
>
<el-option
v-for="item in fromOptions"
:key="item.name"
:label="item.name"
:value="item.erpId"
>
<span style="float: left">{{ item.name }}</span>
</el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item class="query-form-item" label="创建时间:"> <el-form-item class="query-form-item" label="创建时间:">
<el-date-picker <el-date-picker
@ -108,6 +92,34 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="8" v-if="showSup">
<el-form-item class="query-form-item" label="送货单位:">
<el-select
v-model="filterQuery.fromCorp"
filterable
remote
clearable="true"
reserve-keyword
placeholder="送货单位"
:remote-method="findMethod"
size="mini"
:loading="corpLoading"
style="width: 90%"
>
<el-option
v-for="item in fromOptions"
:key="item.name"
:label="item.name"
:value="item.erpId"
>
<span style="float: left">{{ item.name }}</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form> </el-form>
<div class="top-right-btn"> <div class="top-right-btn">
<el-button-group> <el-button-group>
@ -143,6 +155,7 @@
</el-table-column> </el-table-column>
<el-table-column label="总金额" prop="allAmount" width="120"> <el-table-column label="总金额" prop="allAmount" width="120">
</el-table-column> </el-table-column>
<el-table-column label="备注" prop="remark" show-overflow-tooltip width="180"></el-table-column>
<el-table-column label="单据状态" prop="status" width="100"> <el-table-column label="单据状态" prop="status" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="statusFilterType(scope.row.status)">{{ <el-tag :type="statusFilterType(scope.row.status)">{{
@ -399,7 +412,8 @@ export default {
limit: 10, limit: 10,
startTime: null, startTime: null,
endTime: null, endTime: null,
invCode: null invCode: null,
unionRemark: null
}, },
determineVisible: false, determineVisible: false,
determineData: null, determineData: null,

Loading…
Cancel
Save