|
|
|
@ -4,24 +4,24 @@
|
|
|
|
|
<div class="table-page-search-wrapper"> |
|
|
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery"> |
|
|
|
|
<a-row :gutter="24"> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-col :xl="5" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="供应商"> |
|
|
|
|
<a-input placeholder="请输入供应商信息" v-model="queryParam.supplier"></a-input> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-col :xl="5" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="物料组"> |
|
|
|
|
<a-input placeholder="请输入物料组" v-model="queryParam.itemGroup"/> |
|
|
|
|
<a-input placeholder="请输入物料组" v-model="queryParam.descriptionId"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16" hidden="hidden" > |
|
|
|
|
<a-form-item label="物料"> |
|
|
|
|
<a-input placeholder="请输入物料" v-model="queryParam.item" disabled="disabled"/> |
|
|
|
|
<a-col :xl="5" :lg="7" :md="8" :sm="16" hidden="hidden" > |
|
|
|
|
<a-form-item label="物料号"> |
|
|
|
|
<a-input placeholder="请输入物料" v-model="queryParam.materialsNumber" disabled="disabled"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-col :xl="5" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="物料描述"> |
|
|
|
|
<a-input placeholder="请输入物料描述" v-model="queryParam.itemDescription"/> |
|
|
|
|
<a-input placeholder="请输入物料描述" v-model="queryParam.merchandiseName"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16"> |
|
|
|
@ -29,46 +29,111 @@
|
|
|
|
|
<a-input placeholder="请选择仓储地点" v-model="queryParam.unitWasteWarehouseCodeId"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="存储仓位"> |
|
|
|
|
<a-input placeholder="请选择存储仓位" v-model="queryParam.freightSpace"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-col :xl="5" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="生产日期" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-range-picker |
|
|
|
|
style="width: 180px" |
|
|
|
|
style="width: 240px" |
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
:placeholder="['开始时间', '结束时间']" |
|
|
|
|
@change="onDateChange" |
|
|
|
|
/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="入库批次"> |
|
|
|
|
<a-input placeholder="请选择批次" v-model="queryParam.supplierBatch"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="保质期"> |
|
|
|
|
<a-input placeholder="请选择保质期" v-model="queryParam.expirationDate"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="入库时间" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-range-picker |
|
|
|
|
style="width: 210px" |
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
:placeholder="['开始时间', '结束时间']" |
|
|
|
|
@change="onDateChangestorageTime" |
|
|
|
|
/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16" style="margin-left: 30px"> |
|
|
|
|
<a-form-item label="入库人"> |
|
|
|
|
<a-input placeholder="请选择入库人" v-model="queryParam.librarySign"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">--> |
|
|
|
|
<!-- <a-form-item label="入库批次">--> |
|
|
|
|
<!-- <a-input placeholder="请选择批次" v-model="queryParam.supplierBatch"/>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">--> |
|
|
|
|
<!-- <a-form-item label="保质期">--> |
|
|
|
|
<!-- <a-input placeholder="请选择保质期" v-model="queryParam.expirationDate"/>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">--> |
|
|
|
|
<!-- <a-form-item label="入库时间" :labelCol="labelCol" :wrapperCol="wrapperCol">--> |
|
|
|
|
<!-- <a-range-picker--> |
|
|
|
|
<!-- style="width: 245px"--> |
|
|
|
|
<!-- format="YYYY-MM-DD"--> |
|
|
|
|
<!-- :placeholder="['开始时间', '结束时间']"--> |
|
|
|
|
<!-- @change="onDateChangestorageTime"--> |
|
|
|
|
<!-- />--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16" style="margin-left: 30px">--> |
|
|
|
|
<!-- <a-form-item label="入库人">--> |
|
|
|
|
<!-- <a-input placeholder="请选择入库人" v-model="queryParam.librarySign"/>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- <a-col :xl="4" :lg="7" :md="8" :sm="16" style="margin-left: 30px">--> |
|
|
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
|
|
</a-row> |
|
|
|
|
<a-row :gutter="24"> |
|
|
|
|
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">--> |
|
|
|
|
<!-- <a-form-item label="供应商">--> |
|
|
|
|
<!-- <a-input placeholder="请输入供应商信息" v-model="queryParam.supplier"></a-input>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">--> |
|
|
|
|
<!-- <a-form-item label="物料组">--> |
|
|
|
|
<!-- <a-input placeholder="请输入物料组" v-model="queryParam.descriptionId"/>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16" hidden="hidden" >--> |
|
|
|
|
<!-- <a-form-item label="物料号">--> |
|
|
|
|
<!-- <a-input placeholder="请输入物料" v-model="queryParam.materialsNumber" disabled="disabled"/>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">--> |
|
|
|
|
<!-- <a-form-item label="物料描述">--> |
|
|
|
|
<!-- <a-input placeholder="请输入物料描述" v-model="queryParam.merchandiseName"/>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- <a-col :xl="4" :lg="7" :md="8" :sm="16">--> |
|
|
|
|
<!-- <a-form-item label="仓储地点">--> |
|
|
|
|
<!-- <a-input placeholder="请选择仓储地点" v-model="queryParam.unitWasteWarehouseCodeId"/>--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">--> |
|
|
|
|
<!-- <a-form-item label="生产日期" :labelCol="labelCol" :wrapperCol="wrapperCol">--> |
|
|
|
|
<!-- <a-range-picker--> |
|
|
|
|
<!-- style="width: 240px"--> |
|
|
|
|
<!-- format="YYYY-MM-DD"--> |
|
|
|
|
<!-- :placeholder="['开始时间', '结束时间']"--> |
|
|
|
|
<!-- @change="onDateChange"--> |
|
|
|
|
<!-- />--> |
|
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
<a-col :xl="5" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="入库批次"> |
|
|
|
|
<a-input placeholder="请选择批次" v-model="queryParam.supplierBatch"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="5" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="保质期"> |
|
|
|
|
<a-input placeholder="请选择保质期" v-model="queryParam.expirationDate"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="5" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="入库时间" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-range-picker |
|
|
|
|
style="width: 245px" |
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
:placeholder="['开始时间', '结束时间']" |
|
|
|
|
@change="onDateChangestorageTime" |
|
|
|
|
/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xl="4" :lg="7" :md="8" :sm="16"> |
|
|
|
|
<a-form-item label="入库人"> |
|
|
|
|
<a-input placeholder="请选择入库人" v-model="queryParam.librarySign"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<!-- <a-col :xl="4" :lg="7" :md="8" :sm="16" style="margin-left: 30px">--> |
|
|
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
|
|
</a-row> |
|
|
|
|
</a-form> |
|
|
|
|
</div> |
|
|
|
@ -173,6 +238,7 @@
|
|
|
|
|
storageTime: null, |
|
|
|
|
librarySign: null, |
|
|
|
|
}, |
|
|
|
|
merchandiseNewsId: this.$route.params.item, |
|
|
|
|
description: '物资总库管理详情页面', |
|
|
|
|
columns: [ |
|
|
|
|
{ |
|
|
|
@ -263,7 +329,15 @@
|
|
|
|
|
{ |
|
|
|
|
title:'是否到货', |
|
|
|
|
align:"center", |
|
|
|
|
dataIndex: 'arrivalNotice' |
|
|
|
|
dataIndex: 'arrivalNotice', |
|
|
|
|
customRender(t,r,ind){ |
|
|
|
|
// console.log(t,r,ind); |
|
|
|
|
if(r.arrivalNotice === '1'){ |
|
|
|
|
return "是"; |
|
|
|
|
}else{ |
|
|
|
|
return "否"; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title:'入库时间', |
|
|
|
@ -321,6 +395,7 @@
|
|
|
|
|
onDateChange: function (value, dateString) { |
|
|
|
|
this.queryParam.productDateBegin=dateString[0]; |
|
|
|
|
this.queryParam.productDateEnd=dateString[1]; |
|
|
|
|
console.log() |
|
|
|
|
}, |
|
|
|
|
onDateChangestorageTime: function (value, dateString) { |
|
|
|
|
this.queryParam.inboundDateBegin=dateString[0]; |
|
|
|
|