创建询价单样式
This commit is contained in:
@@ -129,17 +129,17 @@
|
||||
{{ scope.row.供货商 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="机床图号" align="center" min-width="130" prop="机床图号" show-overflow-tooltip>
|
||||
<el-table-column label="机床图号" align="center" width="130" prop="机床图号" show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.机床图号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="名称" align="center" width="100" prop="名称">
|
||||
<el-table-column label="名称" align="center" width="180" prop="名称">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.物料名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="规格" align="center" min-width="100" prop="物料规格" show-overflow-tooltip>
|
||||
<el-table-column label="规格" align="center" width="250" prop="物料规格" show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.物料规格 }}
|
||||
</template>
|
||||
@@ -583,40 +583,40 @@
|
||||
</el-row>
|
||||
|
||||
<el-card>
|
||||
<div slot="header">
|
||||
<!-- <span>询价单号:</span>-->
|
||||
<el-input v-model="inquirySheetNum" placeholder="询价单号" size="small" style="margin: 0px 10px" clearable/>
|
||||
<!-- <span>供应商:</span>-->
|
||||
<el-input v-model="supplierName" placeholder="供应商" size="small" style="margin: 0px 10px" clearable/>
|
||||
<el-button
|
||||
type="success"
|
||||
size="small"
|
||||
icon="el-icon-search"
|
||||
style="margin:0px 10px"
|
||||
@click="pageCurrent2=1;pageSize2=10000;total2=0;searchTable2()">查询</el-button>
|
||||
<el-tooltip :open-delay="1000" effect="dark" content="为选择的询价单添加物料" placement="top">
|
||||
<el-card style="width: 1188px">
|
||||
<el-row>
|
||||
<el-input v-model="inquirySheetNum" placeholder="询价单号" size="small" clearable/>
|
||||
<el-input v-model="supplierName" placeholder="供应商" size="small" style="margin: 0px 10px" clearable/>
|
||||
<el-button
|
||||
type="warning"
|
||||
type="success"
|
||||
size="small"
|
||||
style="margin: 0px 20px"
|
||||
@click="addInquirySheet">选入物料</el-button>
|
||||
</el-tooltip>
|
||||
<el-button
|
||||
type="primary"
|
||||
size="small"
|
||||
style="float: right;margin:0px 10px"
|
||||
@click="createInquirySheet">创建询价单</el-button>
|
||||
</div>
|
||||
<el-card>
|
||||
<h3 style="margin: 0px 30px;display:inline-block; ">询价单</h3>
|
||||
<el-button type="warning" size="mini" plain icon="el-icon-edit" style="margin: 0px 20px" @click="editInquirySheet()">编辑</el-button>
|
||||
<el-button type="danger" size="mini" plain icon="el-icon-delete" style="margin: 0px 60px 0px 20px" @click="deleteInquirySheet()">删除</el-button>
|
||||
<!--<h3 style="margin: 0px 40px;display:inline-block;">询价单明细</h3>-->
|
||||
<el-button :disabled="tableData3.length===0" type="primary" size="small" plain style="float: right" @click="printInquirySheet()">打印</el-button>
|
||||
<el-button :disabled="tableData3.length===0" type="warning" size="small" style="margin-left:10px;float: right" @click="exportInquirySheet()">导出</el-button>
|
||||
<el-tooltip :open-delay="1000" effect="dark" content="保存该询价单" placement="top" style="float: right">
|
||||
<el-button :disabled="tableData3.length===0" type="success" size="small" @click="saveOrder()">保存</el-button>
|
||||
</el-tooltip>
|
||||
icon="el-icon-search"
|
||||
style="margin:0px 10px"
|
||||
@click="pageCurrent2=1;pageSize2=10000;total2=0;searchTable2()">查询</el-button>
|
||||
<el-tooltip :open-delay="1000" effect="dark" content="为选择的询价单添加物料" placement="top">
|
||||
<el-button
|
||||
type="warning"
|
||||
size="small"
|
||||
style="margin: 0px 20px"
|
||||
@click="addInquirySheet">选入物料</el-button>
|
||||
</el-tooltip>
|
||||
<el-button
|
||||
type="primary"
|
||||
size="small"
|
||||
style="float: right;margin:0px 10px"
|
||||
@click="createInquirySheet">创建询价单</el-button>
|
||||
</el-row>
|
||||
<el-row style="margin-top: 5px;">
|
||||
<h3 style="margin: 0px 30px;display:inline-block; ">询价单</h3>
|
||||
<el-button type="warning" size="mini" plain icon="el-icon-edit" style="margin: 0px 20px" @click="editInquirySheet()">编辑</el-button>
|
||||
<el-button type="danger" size="mini" plain icon="el-icon-delete" style="margin: 0px 60px 0px 20px" @click="deleteInquirySheet()">删除</el-button>
|
||||
<!--<h3 style="margin: 0px 40px;display:inline-block;">询价单明细</h3>-->
|
||||
<el-button :disabled="tableData3.length===0" type="primary" size="small" plain style="float: right" @click="printInquirySheet()">打印</el-button>
|
||||
<el-button :disabled="tableData3.length===0" type="warning" size="small" style="margin-left:10px;float: right" @click="exportInquirySheet()">导出</el-button>
|
||||
<el-tooltip :open-delay="1000" effect="dark" content="保存该询价单" placement="top" style="float: right">
|
||||
<el-button :disabled="tableData3.length===0" type="success" size="small" @click="saveOrder()">保存</el-button>
|
||||
</el-tooltip>
|
||||
</el-row>
|
||||
<!--<el-button :loading="baseInfoLoading" type="success" size="mini" style="float: right" plain @click="inquirySheetBaseInfoMaintain">信息维护</el-button>-->
|
||||
</el-card>
|
||||
<el-row>
|
||||
@@ -682,19 +682,19 @@
|
||||
</el-table>
|
||||
</el-card>
|
||||
</el-col>
|
||||
<!-- <div class="block" style="margin: 10px 0;">-->
|
||||
<!-- <el-pagination-->
|
||||
<!-- :current-page="pageCurrent2"-->
|
||||
<!-- :page-sizes="[10, 20, 30, 40]"-->
|
||||
<!-- :page-size="pageSize2"-->
|
||||
<!-- :total="total2"-->
|
||||
<!-- layout="total"-->
|
||||
<!-- @size-change="handleSizeChange2"-->
|
||||
<!-- @current-change="handleCurrentChange2"/>-->
|
||||
<!-- </div>-->
|
||||
<!--<div class="block" style="margin: 10px 0;">-->
|
||||
<!--<el-pagination-->
|
||||
<!--:current-page="pageCurrent2"-->
|
||||
<!--:page-sizes="[10, 20, 30, 40]"-->
|
||||
<!--:page-size="pageSize2"-->
|
||||
<!--:total="total2"-->
|
||||
<!--layout="total"-->
|
||||
<!--@size-change="handleSizeChange2"-->
|
||||
<!--@current-change="handleCurrentChange2"/>-->
|
||||
<!--</div>-->
|
||||
<el-col style="width:880px">
|
||||
<el-card>
|
||||
<el-table v-loading="" :data="tableData3" border style="max-height: 500px;width: 850px;float: left" height="500px" size="mini" >
|
||||
<el-table v-loading="" :data="tableData3" border style="max-height: 500px;width: 100%;float: left" height="500px" size="mini" >
|
||||
<!-- <el-table-column label="供应商" align="center" min-width="150" show-overflow-tooltip>-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- {{ scope.row.供应商名称 }}-->
|
||||
@@ -710,7 +710,7 @@
|
||||
{{ scope.row.组件零件流水号 ? scope.row.物料名称 : scope.row.零件名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="规格" align="center" width="110" show-overflow-tooltip>
|
||||
<el-table-column label="规格" align="center" show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.组件零件流水号 ? scope.row.物料规格 : scope.row.规格 }}
|
||||
</template>
|
||||
@@ -720,9 +720,9 @@
|
||||
{{ scope.row.技术下达数量 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="实询数" align="center" width="90">
|
||||
<el-table-column label="实询数" align="center" width="110">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-direction="{x: 0, y: scope.$index}" v-model="scope.row.数量" size="mini" style="width:100%"/>
|
||||
<el-input v-direction="{x: 0, y: scope.$index}" v-model="scope.row.数量" size="mini" style="width: 75px"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="单位" align="center" width="50">
|
||||
@@ -732,7 +732,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="询价备注" align="center" width="110">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-direction="{x: 1, y: scope.$index}" v-model="scope.row.备注" size="mini" style="width:100%"/>
|
||||
<el-input v-direction="{x: 1, y: scope.$index}" v-model="scope.row.备注" size="mini" style="width: 75px"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column label="询价单编号" align="center" min-width="100">-->
|
||||
|
||||
Reference in New Issue
Block a user