feat: 物料记录查询新增码值与采购订单等6段拆分字段
This commit is contained in:
@@ -21,12 +21,26 @@
|
||||
<el-input v-model="materialTypeCodeValue" clearable placeholder="物料类型编码" size="small" style="width: 160px;" />
|
||||
<span style="margin-left: 10px">物料名称:</span>
|
||||
<el-input v-model="materialNameValue" clearable placeholder="物料名称" size="small" style="width: 160px;" />
|
||||
<span style="margin-left: 10px">物料编码:</span>
|
||||
<el-input v-model="materialCodeValue" clearable placeholder="物料编码" size="small" style="width: 160px;" />
|
||||
<span style="margin-left: 10px">码值:</span>
|
||||
<el-input v-model="codeValue" clearable placeholder="码值" size="small" style="width: 200px;" />
|
||||
<span style="margin-left: 10px">操作时间:</span>
|
||||
<el-date-picker v-model="dateTime" :clearable="false" align="center" end-placeholder="结束日期"
|
||||
format="yyyy-MM-dd" range-separator="~" size="small" start-placeholder="开始日期" style="width: 240px;"
|
||||
type="daterange" value-format="yyyy-MM-dd" />
|
||||
</div>
|
||||
<div style="margin-top: 10px">
|
||||
<span style="margin-left: 10px">采购订单号:</span>
|
||||
<el-input v-model="purchaseOrderNoValue" clearable placeholder="采购订单号" size="small" style="width: 160px;" />
|
||||
<span style="margin-left: 10px">采购行号:</span>
|
||||
<el-input v-model="purchaseLineNoValue" clearable placeholder="采购行号" size="small" style="width: 100px;" />
|
||||
<span style="margin-left: 10px">物料代码:</span>
|
||||
<el-input v-model="materialCodeValue" clearable placeholder="物料代码" size="small" style="width: 160px;" />
|
||||
<span style="margin-left: 10px">物料批次号:</span>
|
||||
<el-input v-model="materialBatchNoValue" clearable placeholder="物料批次号" size="small" style="width: 130px;" />
|
||||
<span style="margin-left: 10px">物料流水号:</span>
|
||||
<el-input v-model="materialSerialNoValue" clearable placeholder="物料流水号" size="small" style="width: 130px;" />
|
||||
<span style="margin-left: 10px">图号:</span>
|
||||
<el-input v-model="drawingNoValue" clearable placeholder="图号" size="small" style="width: 160px;" />
|
||||
<el-button icon="el-icon-search" plain size="small" style="margin-left: 10px" type="primary"
|
||||
@click="pageCurrent = 1; pageSize = 30; selectDate()">查询
|
||||
</el-button>
|
||||
@@ -43,7 +57,13 @@
|
||||
<el-table-column align="center" label="产品型号" prop="产品型号" width="170px" show-overflow-tooltip />
|
||||
<el-table-column align="center" label="物料类型编号" prop="物料类型编号" width="105px" />
|
||||
<el-table-column align="center" label="物料名称" prop="物料名称" min-width="120px" show-overflow-tooltip />
|
||||
<el-table-column align="center" label="物料编码" prop="物料编码" min-width="160px" show-overflow-tooltip />
|
||||
<el-table-column align="center" label="采购订单号" prop="采购订单号" min-width="160px" show-overflow-tooltip />
|
||||
<el-table-column align="center" label="采购行号" prop="采购行号" width="90px" />
|
||||
<el-table-column align="center" label="物料代码" prop="物料代码" min-width="140px" show-overflow-tooltip />
|
||||
<el-table-column align="center" label="物料批次号" prop="物料批次号" width="110px" />
|
||||
<el-table-column align="center" label="物料流水号" prop="物料流水号" width="110px" />
|
||||
<el-table-column align="center" label="图号" prop="图号" min-width="140px" show-overflow-tooltip />
|
||||
<el-table-column align="center" label="码值" prop="码值" min-width="220px" show-overflow-tooltip />
|
||||
<el-table-column align="center" label="操作时间" prop="操作时间" width="155px" />
|
||||
</el-table>
|
||||
<div class="block" style="margin-top: 10px;">
|
||||
@@ -67,7 +87,13 @@ export default {
|
||||
productTypeValue: '',
|
||||
materialTypeCodeValue: '',
|
||||
materialNameValue: '',
|
||||
codeValue: '',
|
||||
purchaseOrderNoValue: '',
|
||||
purchaseLineNoValue: '',
|
||||
materialCodeValue: '',
|
||||
materialBatchNoValue: '',
|
||||
materialSerialNoValue: '',
|
||||
drawingNoValue: '',
|
||||
dateTime: '',
|
||||
loading: false,
|
||||
tableData: [],
|
||||
@@ -111,13 +137,19 @@ export default {
|
||||
param[3] = ['产品型号', this.productTypeValue || '']
|
||||
param[4] = ['物料类型编码', this.materialTypeCodeValue || '']
|
||||
param[5] = ['物料名称', this.materialNameValue || '']
|
||||
param[6] = ['物料编码', this.materialCodeValue || '']
|
||||
param[7] = ['开始时间', this.dateTime[0] + ' 00:00:00']
|
||||
param[8] = ['结束时间', this.dateTime[1] + ' 23:59:59']
|
||||
param[9] = ['PageCurrent', this.pageCurrent]
|
||||
param[10] = ['PageSize', this.pageSize]
|
||||
param[11] = ['PageCount', '0', 'int', '1']
|
||||
param[12] = ['ItemCount', '0', 'int', '1']
|
||||
param[6] = ['码值', this.codeValue || '']
|
||||
param[7] = ['采购订单号', this.purchaseOrderNoValue || '']
|
||||
param[8] = ['采购行号', this.purchaseLineNoValue || '']
|
||||
param[9] = ['物料代码', this.materialCodeValue || '']
|
||||
param[10] = ['物料批次号', this.materialBatchNoValue || '']
|
||||
param[11] = ['物料流水号', this.materialSerialNoValue || '']
|
||||
param[12] = ['图号', this.drawingNoValue || '']
|
||||
param[13] = ['开始时间', this.dateTime[0] + ' 00:00:00']
|
||||
param[14] = ['结束时间', this.dateTime[1] + ' 23:59:59']
|
||||
param[15] = ['PageCurrent', this.pageCurrent]
|
||||
param[16] = ['PageSize', this.pageSize]
|
||||
param[17] = ['PageCount', '0', 'int', '1']
|
||||
param[18] = ['ItemCount', '0', 'int', '1']
|
||||
var Data = this.CreateData('11', 'XD_物料记录_分页查询', param)
|
||||
this.ExecDatabase(Data).then(response => {
|
||||
if (response.data.result && response.data.result.length !== 0) {
|
||||
|
||||
Reference in New Issue
Block a user