更新
This commit is contained in:
@@ -46,8 +46,8 @@
|
||||
<!--:label="item.label"-->
|
||||
<!--:value="item.value"/>-->
|
||||
<!--</el-select>-->
|
||||
<el-input v-model="materialName" placeholder="图号名称规格" size="small" style="width:120px" clearable @keyup.enter.native="searchTable11()"/>
|
||||
<el-input v-model="supplierName" placeholder="供货商" size="small" style="width:120px" clearable/>
|
||||
<el-input v-model="materialName" placeholder="图号名称规格" size="small" style="width:140px" clearable @keyup.enter.native="searchTable11()"/>
|
||||
<el-input v-model="supplierName" placeholder="供货商" size="small" style="width:140px" clearable/>
|
||||
<el-select v-model="machineValue" placeholder="机床" size="small" clearable filterable>
|
||||
<el-option
|
||||
v-for="item in machine"
|
||||
@@ -77,22 +77,17 @@
|
||||
<!--<el-input v-model="materialSpec" placeholder="物料规格" size="small" style="width:120px" clearable/>-->
|
||||
<el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left: 10px" @click="pageCurrent11=1;pageSize11=50;total11=0;searchTable11()">查询</el-button>
|
||||
<el-button type="search" size="small" icon="el-icon-download" style="margin-left: 10px" @click="exportUninquirySheet">导出未询价单</el-button>
|
||||
<el-tooltip :open-delay="1000" effect="dark" content="开启物料变更" placement="top">
|
||||
<el-tooltip :open-delay="100" effect="dark" content="开启物料变更" placement="top">
|
||||
<el-switch v-model="switchValue" active-color="#13ce66" inactive-color="#ff4949" style="margin-left: 30px"/>
|
||||
</el-tooltip>
|
||||
<el-popover v-model="visible1" placement="top" width="140">
|
||||
<div style="text-align: right; margin: 0">
|
||||
<el-select v-model="PersonValue" style="width:100px" placeholder="人员" size="small" filterable clearable>
|
||||
<el-option
|
||||
v-for="item in Person"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<el-button type="primary" size="mini" @click="visible1 = false;tiaozheng1()">确定</el-button>
|
||||
</div>
|
||||
<el-button slot="reference" type="primary" size="small" plain style="float: right;margin-right: 20px">调整采购任务</el-button>
|
||||
</el-popover>
|
||||
<el-button type="primary" size="small" plain style="float: right;margin-right: 20px" @click="tiaozheng1">调整采购任务</el-button>
|
||||
<el-select v-model="PersonValue" style="width:100px;float: right;" placeholder="人员" size="small" filterable clearable>
|
||||
<el-option
|
||||
v-for="item in Person"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<!--<el-popover v-model="visible" title="调整采购任务" placement="top" width="180">-->
|
||||
<!--<div style="text-align: right; margin: 0">-->
|
||||
<!--<el-select v-model="PersonValue" style="width:150px" placeholder="人员" size="small" filterable clearable>-->
|
||||
@@ -114,15 +109,15 @@
|
||||
:row-class-name="tableRowClassName"
|
||||
border
|
||||
style="width: 100%;max-height: 500px;"
|
||||
height="400px"
|
||||
height="300px"
|
||||
size="mini"
|
||||
@sort-change="sortChange"
|
||||
@selection-change="handleSelectionChange1"
|
||||
@select="handleSelection">
|
||||
<el-table-column :selectable="selectable" align="center" width="43" type="selection"/>
|
||||
<el-table-column v-if="switchValue" label="操作" align="center" width="100" fixed="left">
|
||||
<el-table-column v-if="switchValue" label="操作" align="center" width="110" fixed="left">
|
||||
<template slot-scope="scope">
|
||||
<el-button :disabled="parseInt(scope.row.询价状态编号)!==1||parseInt(scope.row.是否确认)!==1" type="primary" size="mini" @click="materialChange(scope.row)">物料变更</el-button>
|
||||
<el-button :disabled="parseInt(scope.row.询价状态编号)!==1||parseInt(scope.row.是否确认)!==1" type="distribution" size="mini" @click="materialChange(scope.row)">物料变更</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!--<el-table-column label="状态" align="center" width="70">-->
|
||||
@@ -273,8 +268,8 @@
|
||||
<!--:label="item.label"-->
|
||||
<!--:value="item.value"/>-->
|
||||
<!--</el-select>-->
|
||||
<el-input v-model="partNum" placeholder="图号名称规格" size="small" clearable @keyup.enter.native="searchTable12()"/>
|
||||
<el-input v-model="supplierName" placeholder="供货商" size="small" style="width:120px" clearable/>
|
||||
<el-input v-model="partNum" placeholder="图号名称规格" size="small" style="width:140px" clearable @keyup.enter.native="searchTable12()"/>
|
||||
<el-input v-model="supplierName" placeholder="供货商" size="small" style="width:140px" clearable/>
|
||||
<el-select v-model="machineValue" placeholder="机床" size="small" clearable filterable>
|
||||
<el-option
|
||||
v-for="item in machine"
|
||||
@@ -304,8 +299,8 @@
|
||||
<el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left: 10px" @click="searchTable12()">查询</el-button>
|
||||
<el-button type="search" size="small" icon="el-icon-download" plain style="margin-left: 10px" @click="exportUninquirySheet">导出未询价单</el-button>
|
||||
|
||||
<el-button type="primary" size="small" plain style="float: right" @click="visible2 = false;tiaozheng2()">调整采购任务</el-button>
|
||||
<el-select v-model="PersonValue" style="width:100px;float: right" placeholder="人员" size="small" filterable clearable>
|
||||
<el-button type="primary" size="small" plain style="float: right; margin: 0px 20px 0px 0px" @click="visible2 = false;tiaozheng2()">调整采购任务</el-button>
|
||||
<el-select v-model="PersonValue" style="width:100px;float: right;" placeholder="人员" size="small" filterable clearable>
|
||||
<el-option
|
||||
v-for="item in Person"
|
||||
:key="item.value"
|
||||
@@ -335,7 +330,7 @@
|
||||
:row-class-name="tableRowClassName2"
|
||||
border
|
||||
style="width: 100%;max-height: 500px;"
|
||||
height="400px"
|
||||
height="300px"
|
||||
size="mini"
|
||||
@selection-change="handleSelectionChange2"
|
||||
@sort-change="sortChange"
|
||||
@@ -629,7 +624,7 @@
|
||||
</el-row>
|
||||
|
||||
<el-card style="margin-top: 5px">
|
||||
<el-card style="width: 1188px">
|
||||
<el-card style="width: 1310px">
|
||||
<el-row>
|
||||
<el-input v-model="inquirySheetNum" placeholder="询价单号或供应商" size="small" clearable @keyup.enter.native="pageCurrent2=1;pageSize2=10000;total2=0;searchTable2()"/>
|
||||
<el-button
|
||||
@@ -643,7 +638,7 @@
|
||||
type="distribution"
|
||||
icon="el-icon-circle-plus-outline"
|
||||
size="mini"
|
||||
style="margin-left: 10px"
|
||||
style="margin-left: 50px"
|
||||
@click="createInquirySheet">询价单</el-button>
|
||||
<el-button type="warning" size="mini" plain icon="el-icon-edit" style="margin-left: 10px" @click="editInquirySheet()">编辑</el-button>
|
||||
<!--<el-button-->
|
||||
@@ -1351,6 +1346,7 @@ export default {
|
||||
// 2020 03 04 刘路加表头排序
|
||||
// 1 供货商 2 机床图号 3 物料名称 4 物料型号
|
||||
sortChange(column, prop, order) {
|
||||
console.log(column + '-' + column.prop + '-' + column.order, 11111)
|
||||
if (column.prop === '供货商') {
|
||||
this.ordername = 1
|
||||
} else if (column.prop === '机床图号') {
|
||||
|
||||
Reference in New Issue
Block a user