出入库记录

This commit is contained in:
chenjianan
2019-06-17 09:41:39 +08:00
parent 13bf065670
commit bf8fab65a1
2 changed files with 105 additions and 73 deletions

View File

@@ -2,37 +2,51 @@
<div class="app-container"> <div class="app-container">
<el-card> <el-card>
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>项目名称:</span> <el-row style="margin-bottom:10px">
<el-select v-model="projectValue" style="width:150px" placeholder="请选择" size="small" clearable filterable @change="projectChange"> <el-col style="width:250px">
<el-option <span>项目名称:</span>
v-for="item in project" <el-select v-model="projectValue" style="width:150px" placeholder="请选择" size="small" clearable filterable @change="projectChange">
:key="item.value" <el-option
:label="item.label" v-for="item in project"
:value="item.value"/> :key="item.value"
</el-select> :label="item.label"
<span>机床图号:</span> :value="item.value"/>
<el-select v-model="machineValue" style="width:150px" placeholder="请选择" size="small" clearable filterable @change="machineChange"> </el-select>
<el-option </el-col>
v-for="item in machine" <el-col style="width:250px">
:key="item.value" <span>机床图号:</span>
:label="item.label" <el-select v-model="machineValue" style="width:150px" placeholder="请选择" size="small" clearable filterable @change="machineChange">
:value="item.value"/> <el-option
</el-select> v-for="item in machine"
<span>组号:</span> :key="item.value"
<el-select v-model="groupValue" style="width:140px" placeholder="请选择" size="small" clearable filterable> :label="item.label"
<el-option :value="item.value"/>
v-for="item in group" </el-select>
:key="item.value" </el-col>
:label="item.label" <el-col style="width:250px">
:value="item.value"/> <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</span>
</el-select> <el-select v-model="groupValue" style="width:150px" placeholder="请选择" size="small" clearable filterable>
<span>名称:</span> <el-option
<el-input v-model="name" clearable size="small" style="width:150px" /> v-for="item in group"
<span>规格:</span> :key="item.value"
<el-input v-model="spec" clearable size="small" style="width:150px" /> :label="item.label"
<span>图号或型号:</span> :value="item.value"/>
<el-input v-model="model" clearable size="small" style="width:150px" /> </el-select>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="searchRecord()">查询</el-button> </el-col>
</el-row>
<el-row style="margin-bottom:10px">
<el-col style="width:250px">
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</span>
<el-input v-model="name" clearable size="small" style="width:150px" />
</el-col>
<el-col style="width:250px">
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</span>
<el-input v-model="spec" clearable size="small" style="width:150px" />
</el-col>
<span>图号或型号:</span>
<el-input v-model="model" clearable size="small" style="width:150px" />
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="searchRecord()">查询</el-button>
</el-row>
</div> </div>
<h4 style="margin-top: 0">采购合同件</h4> <h4 style="margin-top: 0">采购合同件</h4>
<el-table :data="tableData1" border size="mini" style="width: 100%;" height="400"> <el-table :data="tableData1" border size="mini" style="width: 100%;" height="400">

View File

@@ -2,48 +2,66 @@
<div class="app-container"> <div class="app-container">
<el-card> <el-card>
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>项目名称:</span> <el-row style="margin-bottom:10px">
<el-select v-model="projectValue" style="width:150px" placeholder="请选择" size="small" clearable filterable @change="projectChange"> <el-col style="width:250px">
<el-option <span>项目名称:</span>
v-for="item in project" <el-select v-model="projectValue" style="width:150px" placeholder="请选择" size="small" clearable filterable @change="projectChange">
:key="item.value" <el-option
:label="item.label" v-for="item in project"
:value="item.value"/> :key="item.value"
</el-select> :label="item.label"
<span>机床图号:</span> :value="item.value"/>
<el-select v-model="machineValue" style="width:150px" placeholder="请选择" size="small" clearable filterable @change="machineChange"> </el-select>
<el-option </el-col>
v-for="item in machine" <el-col style="width:250px">
:key="item.value" <span>机床图号:</span>
:label="item.label" <el-select v-model="machineValue" style="width:150px" placeholder="请选择" size="small" clearable filterable @change="machineChange">
:value="item.value"/> <el-option
</el-select> v-for="item in machine"
<span>组号:</span> :key="item.value"
<el-select v-model="groupValue" style="width:140px" placeholder="请选择" size="small" clearable filterable> :label="item.label"
<el-option :value="item.value"/>
v-for="item in group" </el-select>
:key="item.value" </el-col>
:label="item.label" <el-col style="width:250px">
:value="item.value"/> <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</span>
</el-select> <el-select v-model="groupValue" style="width:150px" placeholder="请选择" size="small" clearable filterable>
<span>名称:</span> <el-option
<el-input v-model="name" clearable size="small" style="width:150px" /> v-for="item in group"
<span>规格:</span> :key="item.value"
<el-input v-model="spec" clearable size="small" style="width:150px" /> :label="item.label"
<span>图号或型号:</span> :value="item.value"/>
<el-input v-model="model" clearable size="small" style="width:150px" /> </el-select>
<span>出库时间:</span> </el-col>
<el-date-picker </el-row>
v-model="outTime" <el-row style="margin-bottom:10px">
type="daterange" <el-col style="width:250px">
size="small" <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</span>
format="yyyy-MM-dd" <el-input v-model="name" clearable size="small" style="width:150px" />
value-format="yyyy-MM-dd" </el-col>
range-separator="~" <el-col style="width:250px">
style="width:250px" <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</span>
start-placeholder="" <el-input v-model="spec" clearable size="small" style="width:150px" />
end-placeholder=""/> </el-col>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="pageCurrent1=1;pageSize1=10;searchRecord()">查询</el-button> <el-col style="width:250px">
<span>图号或型号:</span>
<el-input v-model="model" clearable size="small" style="width:150px" />
</el-col>
</el-row>
<el-row>
<span>出库时间:</span>
<el-date-picker
v-model="outTime"
type="daterange"
size="small"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
range-separator="~"
style="width:250px"
start-placeholder=""
end-placeholder=""/>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="pageCurrent1=1;pageSize1=10;searchRecord()">查询</el-button>
</el-row>
</div> </div>
<el-table :data="tableData" border size="mini" style="width: 100%;" height="600"> <el-table :data="tableData" border size="mini" style="width: 100%;" height="600">
<el-table-column label="名称" align="center" min-width="200"> <el-table-column label="名称" align="center" min-width="200">