物料管理

This commit is contained in:
Vergil
2020-03-19 09:15:22 +08:00
parent 97bb2dcd3d
commit 56c465363d

View File

@@ -138,14 +138,7 @@
</el-card>
<el-card>
<el-table
:data="tableData"
style="width: 100%;margin-top: 3px"
height="720"
size="mini"
highlight-current-row
border
stripe>
<el-table :data="tableData" style="width: 100%;margin-top: 3px" height="720" size="mini" highlight-current-row border stripe>
<el-table-column align="center" label="物料名称" prop="物料名称">
<template slot-scope="scope">
{{ scope.row.物料名称 }}
@@ -211,19 +204,9 @@
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible" title="选择供货商" center width="400px">
<el-input v-model="supplier1" placeholder="供货商" size="small" clearable style="width:200px"/>
<el-button
type="success"
icon="el-icon-search"
size="small"
style="margin-left: 15px; margin-bottom: 10px"
@click="pageCurrent1=1;searchSupplier()">查询
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 15px; margin-bottom: 10px" @click="pageCurrent1=1;searchSupplier()">查询
</el-button>
<el-table
:data="tableData1"
size="mini"
highlight-current-row
border
@row-click="selectSupplier">
<el-table :data="tableData1" size="mini" highlight-current-row border @row-click="selectSupplier">
<el-table-column align="center" label="供货商">
<template slot-scope="scope">
{{ scope.row.供货商 }}
@@ -251,13 +234,7 @@
<el-row>
<el-col :span="12">
<el-form-item label="物料类别" prop="物料类别流水号">
<el-select
v-model="form.物料类别流水号"
style="width:160px"
placeholder="请选择"
size="small"
clearable
@change="searchMaterialVariety1">
<el-select v-model="form.物料类别流水号" style="width:160px" placeholder="请选择" size="small" clearable @change="searchMaterialVariety1">
<el-option
v-for="item in MaterialCategory1"
:key="item.value"
@@ -377,13 +354,7 @@
<br>
</el-card>
<el-card>
<el-table
:data="tableData2"
size="mini"
height="328"
highlight-current-row
border
@row-click="selectMaterialCategory">
<el-table :data="tableData2" size="mini" height="328" highlight-current-row border @row-click="selectMaterialCategory">
<el-table-column align="center" label="物料类别">
<template slot-scope="scope">
{{ scope.row.物料类别 }}
@@ -427,13 +398,7 @@
<el-button type="warning" plain size="mini" icon="el-icon-edit" @click="handleEdit2">编辑</el-button>
</el-card>
<el-card>
<el-table
:data="tableData3"
size="mini"
height="300"
highlight-current-row
border
@row-click="selectMaterialVariety">
<el-table :data="tableData3" size="mini" height="300" highlight-current-row border @row-click="selectMaterialVariety">
<el-table-column align="center" label="品种编号">
<template slot-scope="scope">
{{ scope.row.品种编号 }}
@@ -471,13 +436,9 @@
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible3" title="新增供应商" center style="min-height: 300px" width="350px">
<el-form ref="form3" :model="form3" :rules="rules3" label-position="left" label-width="110px" class="demo-ruleForm">
<el-row>
<el-col :span="12">
<el-form-item label="供货商名称" prop="供货商名称">
<el-input v-model="form3.供货商名称" placeholder="供货商名称" size="small" clearable style="width:150px"/>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="供货商名称" prop="供货商名称">
<el-input v-model="form3.供货商名称" placeholder="供货商名称" size="small" clearable style="width:150px"/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible3=false">取消</el-button>
@@ -487,14 +448,7 @@
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible4" title="采购部新增物料审核" center style="min-height: 300px" width="700px">
<el-form>
<el-table
:data="tableData5"
style="width: 100%;margin-top: 3px"
height="300"
size="mini"
highlight-current-row
border
stripe>
<el-table :data="tableData5" style="width: 100%;margin-top: 3px" height="300" size="mini" highlight-current-row border stripe>
<el-table-column align="center" label="物料名称">
<template slot-scope="scope">
{{ scope.row.物料名称 }}