给出入库明细等增加单据号

This commit is contained in:
季圣华
2021-11-20 00:02:24 +08:00
parent bf981ed7e4
commit e4d2a5b7fb
3 changed files with 40 additions and 18 deletions

View File

@@ -7,7 +7,7 @@
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
<a-col :md="4" :sm="24">
<a-col :md="3" :sm="24">
<a-form-item label="供应商" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-select placeholder="选择供应商" v-model="queryParam.organId"
:dropdownMatchSelectWidth="false" showSearch allow-clear optionFilterProp="children">
@@ -17,10 +17,11 @@
</a-select>
</a-form-item>
</a-col>
<a-col :md="4" :sm="24">
<a-col :md="3" :sm="24">
<a-form-item label="仓库" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-select
optionFilterProp="children"
:dropdownMatchSelectWidth="false"
showSearch allow-clear style="width: 100%"
placeholder="请选择仓库"
v-model="queryParam.depotId">
@@ -30,6 +31,11 @@
</a-select>
</a-form-item>
</a-col>
<a-col :md="4" :sm="24">
<a-form-item label="单据编号" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入单据编号" v-model="queryParam.number"></a-input>
</a-form-item>
</a-col>
<a-col :md="4" :sm="24">
<a-form-item label="商品信息" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="条码/名称/规格/型号" v-model="queryParam.materialParam"></a-input>
@@ -126,6 +132,7 @@
// 查询条件
queryParam: {
organId: '',
number: '',
materialParam:'',
depotId: '',
beginTime: getNowFormatMonth() + '-01',
@@ -154,11 +161,11 @@
title: '单据编号', dataIndex: 'number', width: 100,
scopedSlots: { customRender: 'numberCustomRender' },
},
{title: '条码', dataIndex: 'barCode', width: 100},
{title: '条码', dataIndex: 'barCode', width: 80},
{title: '名称', dataIndex: 'mname', width: 120},
{title: '规格', dataIndex: 'standard', width: 50},
{title: '型号', dataIndex: 'model', width: 50},
{title: '单位', dataIndex: 'mUnit', width: 50},
{title: '规格', dataIndex: 'standard', width: 60},
{title: '型号', dataIndex: 'model', width: 60},
{title: '单位', dataIndex: 'mUnit', width: 60},
{title: '数量', dataIndex: 'operNumber', sorter: (a, b) => a.operNumber - b.operNumber, width: 60},
{title: '单价', dataIndex: 'unitPrice', sorter: (a, b) => a.unitPrice - b.unitPrice, width: 60},
{title: '金额', dataIndex: 'allPrice', sorter: (a, b) => a.allPrice - b.allPrice, width: 60},