更新
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-card>
|
||||
<div slot="header">
|
||||
<div>
|
||||
<span>采购单号:</span>
|
||||
<el-select v-model="purchaseOrderValue" placeholder="采购单号" size="small" clearable filterable>
|
||||
<el-select v-model="purchaseOrderValue" placeholder="采购单号" style="margin-top: 3px" size="small" clearable filterable>
|
||||
<el-option
|
||||
v-for="item in purchaseOrder"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<span>供应商:</span>
|
||||
<span style="margin-left: 10px">供应商:</span>
|
||||
<el-input v-model="supplierName0" placeholder="供应商" style="width: 200px" size="small" clearable/>
|
||||
<el-button
|
||||
type="success"
|
||||
@@ -23,8 +23,9 @@
|
||||
v-loading="loading"
|
||||
:data="tableData"
|
||||
border
|
||||
style="width: 100%;max-height: 460px;"
|
||||
height="270"
|
||||
stripe
|
||||
style="width: 100%"
|
||||
height="430"
|
||||
size="mini"
|
||||
highlight-current-row
|
||||
@row-click="searchTable1">
|
||||
@@ -38,7 +39,7 @@
|
||||
{{ scope.row.采购单名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="供应商" min-width="150" align="center">
|
||||
<el-table-column label="供应商" min-width="150" align="center" show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.供应商名称 }}
|
||||
</template>
|
||||
@@ -77,11 +78,11 @@
|
||||
</div>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<el-table v-loading="" :data="tableData1" :summary-method="getSummaries" border style="max-height: 300px;" height="400px" size="mini" show-summary>
|
||||
<el-table v-loading="" :data="tableData1" :summary-method="getSummaries" border stripe highlight-current-row style="margin-top: 3px" height="300px" size="mini" show-summary>
|
||||
<el-table-column label="状态" align="center" width="100" fixed="left">
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="Number(scope.row.是否到货)===0" type="warning" size="small">未到货</el-tag>
|
||||
<el-tag v-if="Number(scope.row.是否到货)===1" type="primary" size="small">已到货</el-tag>
|
||||
<el-tag v-if="Number(scope.row.是否到货)===0" type="warning" size="mini">未到货</el-tag>
|
||||
<el-tag v-if="Number(scope.row.是否到货)===1" type="primary" size="mini">已到货</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="零件图号" align="center" min-width="150">
|
||||
@@ -136,12 +137,16 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" min-width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-button type="primary" size="mini" icon="el-icon-goods" @click="OpenArrival(scope.row)">到货</el-button>
|
||||
<el-tooltip effect="dark" content="到货" placement="top">
|
||||
<div style="display: inline-block">
|
||||
<el-button type="text" size="mini" icon="el-icon-goods" @click="OpenArrival(scope.row)"/>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
<el-dialog :visible.sync="dialogVisible" title="到货" center style="min-height: 300px" width="400px">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogVisible" title="到货" center style="min-height: 300px" width="400px">
|
||||
<el-form ref="form" :model="form" :rules="rules" label-position="right" label-width="100px">
|
||||
<el-row>
|
||||
<el-form-item label="重量" prop="重量">
|
||||
@@ -313,6 +318,6 @@ export default {
|
||||
|
||||
<style scoped>
|
||||
span{
|
||||
margin: 10px 0 10px 10px;
|
||||
/*margin: 10px 0;*/
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user