采购询价

This commit is contained in:
zhangdingyu
2019-12-10 09:40:38 +08:00
parent 7571edb8ba
commit 90c82e788f

View File

@@ -68,18 +68,18 @@
<el-tooltip :open-delay="1000" effect="dark" content="开启物料变更" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="开启物料变更" placement="top">
<el-switch v-model="switchValue" active-color="#13ce66" inactive-color="#ff4949" style="margin-left: 30px"/> <el-switch v-model="switchValue" active-color="#13ce66" inactive-color="#ff4949" style="margin-left: 30px"/>
</el-tooltip> </el-tooltip>
<el-date-picker <!--<el-date-picker-->
v-model="startTime" <!--v-model="startTime"-->
size="small" <!--size="small"-->
type="daterange" <!--type="daterange"-->
align="center" <!--align="center"-->
value-format="yyyy-MM-dd" <!--value-format="yyyy-MM-dd"-->
format="yyyy-MM-dd" <!--format="yyyy-MM-dd"-->
range-separator="" <!--range-separator=""-->
style="width:250px" <!--style="width:250px"-->
start-placeholder="开始日期" <!--start-placeholder="开始日期"-->
end-placeholder="结束日期" <!--end-placeholder="结束日期"-->
@change="timeChange1()"/> <!--@change="timeChange1()"/>-->
<el-popover v-model="visible1" placement="top" width="140"> <el-popover v-model="visible1" placement="top" width="140">
<div style="text-align: right; margin: 0"> <div style="text-align: right; margin: 0">
<el-select v-model="PersonValue" style="width:100px" placeholder="人员" size="small" filterable clearable> <el-select v-model="PersonValue" style="width:100px" placeholder="人员" size="small" filterable clearable>
@@ -280,18 +280,18 @@
<!--<el-cascader :options="materialStatus" :props="{ checkStrictly: true }" v-model="materialStatusValue" style="width: 100px" size="small"/>--> <!--<el-cascader :options="materialStatus" :props="{ checkStrictly: true }" v-model="materialStatusValue" style="width: 100px" size="small"/>-->
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable12()">查询</el-button> <el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable12()">查询</el-button>
<el-button type="warning" size="small" icon="el-icon-download" style="margin-left: 10px" @click="exportUninquirySheet">导出未询价单</el-button> <el-button type="warning" size="small" icon="el-icon-download" style="margin-left: 10px" @click="exportUninquirySheet">导出未询价单</el-button>
<el-date-picker <!--<el-date-picker-->
v-model="endTime" <!--v-model="endTime"-->
size="small" <!--size="small"-->
type="daterange" <!--type="daterange"-->
align="center" <!--align="center"-->
value-format="yyyy-MM-dd" <!--value-format="yyyy-MM-dd"-->
format="yyyy-MM-dd" <!--format="yyyy-MM-dd"-->
range-separator="" <!--range-separator=""-->
style="width:250px" <!--style="width:250px"-->
start-placeholder="开始日期" <!--start-placeholder="开始日期"-->
end-placeholder="结束日期" <!--end-placeholder="结束日期"-->
@change="timeChange2()"/> <!--@change="timeChange2()"/>-->
<el-button type="success" size="small" style="float: right" @click="visible2 = false;tiaozheng2()">调整采购任务</el-button> <el-button type="success" size="small" 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-select v-model="PersonValue" style="width:100px;float: right" placeholder="人员" size="small" filterable clearable>
<el-option <el-option
@@ -1754,7 +1754,7 @@ export default {
this.projectValue ? check4 = 1 : check4 = 0 this.projectValue ? check4 = 1 : check4 = 0
this.machineValue ? check5 = 1 : check5 = 0 this.machineValue ? check5 = 1 : check5 = 0
this.groupValue ? check6 = 1 : check6 = 0 this.groupValue ? check6 = 1 : check6 = 0
this.startTime ? check7 = 1 : (check7 = 0, this.startTime = '') this.startTime ? check7 = 0 : (check7 = 0, this.startTime = '')
searchMaterial(this.pageCurrent11, this.pageSize11, 3, check1, this.materialName, check2, this.materialSpec, check3, this.materialModel, this.id, check4, this.projectValue, check5, this.machineValue, check6, this.groupValue, check7, this.startTime[0], this.startTime[1]).then(response => { searchMaterial(this.pageCurrent11, this.pageSize11, 3, check1, this.materialName, check2, this.materialSpec, check3, this.materialModel, this.id, check4, this.projectValue, check5, this.machineValue, check6, this.groupValue, check7, this.startTime[0], this.startTime[1]).then(response => {
this.tableData11 = response.data.rows this.tableData11 = response.data.rows
this.total11 = response.data.total this.total11 = response.data.total
@@ -1793,7 +1793,7 @@ export default {
this.projectValue ? check4 = 1 : check4 = 0 this.projectValue ? check4 = 1 : check4 = 0
this.machineValue ? check5 = 1 : check5 = 0 this.machineValue ? check5 = 1 : check5 = 0
this.groupValue ? check6 = 1 : check6 = 0 this.groupValue ? check6 = 1 : check6 = 0
this.endTime ? check7 = 1 : (check7 = 0, this.endTime = '') this.endTime ? check7 = 0 : (check7 = 0, this.endTime = '')
searchPart(this.pageCurrent12, this.pageSize12, 3, check1, this.partNum, check2, this.partName, check3, this.partSpec, this.id, check4, this.projectValue, check5, this.machineValue, check6, this.groupValue, check7, this.endTime[0], this.endTime[1]).then(response => { searchPart(this.pageCurrent12, this.pageSize12, 3, check1, this.partNum, check2, this.partName, check3, this.partSpec, this.id, check4, this.projectValue, check5, this.machineValue, check6, this.groupValue, check7, this.endTime[0], this.endTime[1]).then(response => {
this.tableData12 = response.data.rows this.tableData12 = response.data.rows
this.total12 = response.data.total this.total12 = response.data.total