|
@@ -6,7 +6,8 @@
|
|
|
<div class="card_district">
|
|
|
<div class="herderArea center_in title_green">重瓶区</div>
|
|
|
<div class="same_row_in card_add_cylinder">
|
|
|
- <el-input style="margin-right: 10px;" v-model="input" placeholder="输入单位内编号搜索"></el-input>
|
|
|
+ <el-input style="margin-right: 10px;" v-model="input" placeholder="输入单位内编号搜索"
|
|
|
+ @input="cylinderSearch"></el-input>
|
|
|
<el-button type="primary" size="medium" icon="el-icon-plus" @click="AddCylinder(1)">添加</el-button>
|
|
|
</div>
|
|
|
<div style="width: calc(100% - 30px);padding: 0px 15px 15px 15px;" v-if="bottleData.length > 0">
|
|
@@ -32,7 +33,8 @@
|
|
|
<div class="card_district">
|
|
|
<div class="herderArea center_in title_yellow">空瓶区</div>
|
|
|
<div class="same_row_in card_add_cylinder">
|
|
|
- <el-input style="margin-right: 10px;" v-model="input" placeholder="输入单位内编号搜索"></el-input>
|
|
|
+ <el-input style="margin-right: 10px;" v-model="input1" placeholder="输入单位内编号搜索"
|
|
|
+ @input="cylinderSearch1"></el-input>
|
|
|
<el-button type="primary" size="medium" icon="el-icon-plus" @click="AddCylinder(2)">添加</el-button>
|
|
|
</div>
|
|
|
<div style="width: calc(100% - 30px);padding: 0px 15px 15px 15px;" v-if="bottleData1.length > 0">
|
|
@@ -58,7 +60,8 @@
|
|
|
<div class="card_district">
|
|
|
<div class="herderArea center_in title_red">不合格瓶区</div>
|
|
|
<div class="same_row_in card_add_cylinder">
|
|
|
- <el-input style="margin-right: 10px;" v-model="input" placeholder="输入单位内编号搜索"></el-input>
|
|
|
+ <el-input style="margin-right: 10px;" v-model="input2" placeholder="输入单位内编号搜索"
|
|
|
+ @input="cylinderSearch2"></el-input>
|
|
|
<el-button type="primary" size="medium" icon="el-icon-plus" @click="AddCylinder(3)">添加</el-button>
|
|
|
</div>
|
|
|
<div style="width: calc(100% - 30px);padding: 0px 15px 15px 15px;" v-if="bottleData2.length > 0">
|
|
@@ -141,6 +144,8 @@
|
|
|
data() {
|
|
|
return {
|
|
|
input: '',
|
|
|
+ input1: '',
|
|
|
+ input2: '',
|
|
|
// 重瓶
|
|
|
Pagination: {
|
|
|
PageIndex: 1,
|
|
@@ -197,6 +202,7 @@
|
|
|
page: this.Pagination.PageIndex,
|
|
|
pageSize: this.Pagination.PageSize,
|
|
|
status: state,
|
|
|
+ inner_code: this.input,
|
|
|
}).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.bottleData = res.data.list
|
|
@@ -209,6 +215,7 @@
|
|
|
page: this.Pagination1.PageIndex,
|
|
|
pageSize: this.Pagination1.PageSize,
|
|
|
status: state,
|
|
|
+ inner_code: this.input1,
|
|
|
}).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.bottleData1 = res.data.list
|
|
@@ -221,14 +228,23 @@
|
|
|
page: this.Pagination2.PageIndex,
|
|
|
pageSize: this.Pagination2.PageSize,
|
|
|
status: state,
|
|
|
+ inner_code: this.input2,
|
|
|
}).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.bottleData2 = res.data.list
|
|
|
this.Pagination2.Total = res.data.count
|
|
|
- console.log(this.Pagination1, 2566)
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ cylinderSearch(value) {
|
|
|
+ this.getList(1)
|
|
|
+ },
|
|
|
+ cylinderSearch1(value) {
|
|
|
+ this.getList1(2)
|
|
|
+ },
|
|
|
+ cylinderSearch2(value) {
|
|
|
+ this.getList2(3)
|
|
|
+ },
|
|
|
// 添加钢瓶
|
|
|
AddCylinder(type) {
|
|
|
if (type == 1) {
|