This commit is contained in:
Vergil
2020-03-25 14:42:04 +08:00
parent 82582ea05b
commit 3a46bf0664

View File

@@ -19,23 +19,11 @@
:label="item.label"
:value="item.value"/>
</el-select>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left: 10px"
@click="pageCurrent1=1;pageSize1=10;total1=0;searchTable()">查询</el-button>
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable()">查询</el-button>
</el-row>
</div>
<div>
<el-table
v-loading="loading"
:data="tableData"
border
style="width: 100%;max-height: 460px;"
height="460"
size="mini"
@selection-change="handleSelectionChange">
<el-table v-loading="loading" :data="tableData" border style="width: 100%;max-height: 460px;" height="460" size="mini" @selection-change="handleSelectionChange">
<el-table-column type="selection" align="center" width="55"/>
<el-table-column label="库存状态" width="100" align="center">
<template slot-scope="scope">
@@ -115,27 +103,13 @@
<div slot="header">
<span>采购明细表名称:</span>
<el-input v-model="purchasingDetailsForm" placeholder="采购明细表名称" size="small" clearable/>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left: 10px"
@click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button>
<el-button
type="primary"
size="small"
style="margin-left: 10px"
@click="addpurchasingDetailsForm">创建采购明细表</el-button>
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button>
<el-button type="primary" size="small" style="margin-left: 10px" @click="addpurchasingDetailsForm">创建采购明细表</el-button>
<el-tooltip :open-delay="1000" effect="dark" content="将勾选的物料库中物料选入到选中的采购明细表" placement="top">
<el-button
:disabled="Number(whetherToAllocate) === 1"
type="warning"
size="small"
style="margin-left: 10px"
@click="addMateriel">选入物料</el-button>
<el-button :disabled="Number(whetherToAllocate) === 1" type="warning" size="small" style="margin-left: 10px" @click="addMateriel">选入物料</el-button>
</el-tooltip>
</div>
<!-- -->
<el-table v-loading="loading1" :data="tableData1" border style="max-height: 460px;" height="300px" size="mini" highlight-current-row @row-click="searchTable2">
<el-table-column label="分配状态" align="center" min-width="170">
<template slot-scope="scope">