制造中心-制造

This commit is contained in:
bryan sun
2019-11-16 17:04:00 +08:00
parent 0b2103e6ad
commit 2f99a2d964
6 changed files with 304 additions and 299 deletions

View File

@@ -3,9 +3,9 @@
<el-card>
<div slot="header">
<el-row style="margin-bottom:-10px!important;">
<el-input v-model="materialName" placeholder="物料名称" size="small" clearable style="margin-bottom: 10px; width: 120px;"/>
<el-input v-model="materialSpec" placeholder="物料规格" size="small" style="margin-bottom: 10px; width: 120px;" clearable/>
<el-input v-model="materialModel" placeholder="物料型号" size="small" style="margin-bottom: 10px; width: 120px;" clearable/>
<el-input v-model="materialName" placeholder="名称规格型号" size="small" clearable style="margin-bottom: 10px; width: 180px;"/>
<!-- <el-input v-model="materialSpec" placeholder="物料规格" size="small" style="margin-bottom: 10px; width: 120px;" clearable/>-->
<!-- <el-input v-model="materialModel" placeholder="物料型号" size="small" style="margin-bottom: 10px; width: 120px;" clearable/>-->
<el-select v-model="inventoryNameValue" placeholder="仓库" style="margin-bottom: 10px; width: 120px;" size="small" clearable @change="getLocate">
<el-option
v-for="item in inventoryName"
@@ -20,17 +20,17 @@
:label="item.label"
:value="item.value"/>
</el-select>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="pageCurrent=1;pageSize=20;searchMaterial()">查询</el-button>
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="pageCurrent=1;pageSize=30;searchMaterial()">查询</el-button>
<!-- <el-button type="primary" icon="el-icon-edit" size="small" @click="addMaterial()">新增</el-button>-->
</el-row>
</div>
<el-table :data="tableData1" stripe highlight-current-row border height="550px" style="width: 710px" size="mini">
<el-table :data="tableData1" stripe highlight-current-row border height="600px" style="width: 790px" size="mini">
<el-table-column label="名称" prop="物料名称" align="center" width="150" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
</el-table-column>
<el-table-column label="图号或型号" prop="物料型号" align="center" width="180" show-overflow-tooltip>
<el-table-column label="图号或型号" prop="物料型号" align="center" width="240" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料型号 }}
</template>
@@ -55,7 +55,7 @@
{{ scope.row.货位名称 }}
</template>
</el-table-column>
<el-table-column label="货位存量" align="center" width="80" prop="货位存量">
<el-table-column label="货位存量" align="center" width="100" prop="货位存量">
<template slot-scope="scope">
<template v-if="scope.row.changeValue">
<el-input-number v-model="scope.row.货位存量" :min="0" :precision="2" controls-position="right" size="mini" style="width: 90px"/>
@@ -186,7 +186,7 @@ export default {
locateName: [],
tableData1: [],
pageCurrent: 1,
pageSize: 20,
pageSize: 30,
total: 0,
dialogVisible: false,
tableData01: [],