|
|
|
@ -6,7 +6,10 @@ |
|
|
|
:inline="true" |
|
|
|
:inline="true" |
|
|
|
:model="enterForm" |
|
|
|
:model="enterForm" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-form-item label="业主名称"> |
|
|
|
<el-form-item |
|
|
|
|
|
|
|
label="业主名称" |
|
|
|
|
|
|
|
prop="consignorId" |
|
|
|
|
|
|
|
> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
v-model="enterForm.consignorId" |
|
|
|
v-model="enterForm.consignorId" |
|
|
|
placeholder="请选择" |
|
|
|
placeholder="请选择" |
|
|
|
@ -38,10 +41,7 @@ |
|
|
|
</el-option> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> --> |
|
|
|
</el-form-item> --> |
|
|
|
<el-form-item |
|
|
|
<el-form-item label="库区编号"> |
|
|
|
label="库区编号" |
|
|
|
|
|
|
|
prop='state' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
v-model="enterForm.areaId" |
|
|
|
v-model="enterForm.areaId" |
|
|
|
placeholder="请选择库区编号" |
|
|
|
placeholder="请选择库区编号" |
|
|
|
@ -152,7 +152,7 @@ export default { |
|
|
|
tableProps: {}, |
|
|
|
tableProps: {}, |
|
|
|
ids: [], |
|
|
|
ids: [], |
|
|
|
enterForm: { |
|
|
|
enterForm: { |
|
|
|
consignorId: 1, |
|
|
|
consignorId: '', |
|
|
|
storageId: '', |
|
|
|
storageId: '', |
|
|
|
areaId: '', |
|
|
|
areaId: '', |
|
|
|
locationCode: '', |
|
|
|
locationCode: '', |
|
|
|
@ -178,7 +178,6 @@ export default { |
|
|
|
this.getBasicListsto() |
|
|
|
this.getBasicListsto() |
|
|
|
storageList1().then((res) => { |
|
|
|
storageList1().then((res) => { |
|
|
|
this.enterForm.storageId = res.data[0].id |
|
|
|
this.enterForm.storageId = res.data[0].id |
|
|
|
|
|
|
|
|
|
|
|
this.listAreaByStorage(this.enterForm.storageId) |
|
|
|
this.listAreaByStorage(this.enterForm.storageId) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -190,6 +189,8 @@ export default { |
|
|
|
getBasicList() { |
|
|
|
getBasicList() { |
|
|
|
consignorList().then((res) => { |
|
|
|
consignorList().then((res) => { |
|
|
|
this.options = res.rows |
|
|
|
this.options = res.rows |
|
|
|
|
|
|
|
console.log(this.options) |
|
|
|
|
|
|
|
this.enterForm.consignorId = this.options[0].id |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 库别 |
|
|
|
// 库别 |
|
|
|
@ -209,8 +210,7 @@ export default { |
|
|
|
listAreaByStorage(val) { |
|
|
|
listAreaByStorage(val) { |
|
|
|
listAreaByStorage(this.enterForm.storageId).then((res) => { |
|
|
|
listAreaByStorage(this.enterForm.storageId).then((res) => { |
|
|
|
this.areaIdhList = res.data |
|
|
|
this.areaIdhList = res.data |
|
|
|
this.enterForm.areaId = 1 |
|
|
|
// this.enterForm.areaId = 1 |
|
|
|
// console.log(this.areaIdhList) |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 表格复选框选中 |
|
|
|
// 表格复选框选中 |
|
|
|
@ -267,17 +267,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 导出 |
|
|
|
// 导出 |
|
|
|
exportBtn() { |
|
|
|
exportBtn() { |
|
|
|
// const request = { |
|
|
|
|
|
|
|
// pageSize: isAll === "all" ? null : this.paging.size, |
|
|
|
|
|
|
|
// pageNum: isAll === "all" ? null : this.paging.page, |
|
|
|
|
|
|
|
// ...this.searchForm, |
|
|
|
|
|
|
|
// }; |
|
|
|
|
|
|
|
dealEmptyQueryCondition(request) |
|
|
|
dealEmptyQueryCondition(request) |
|
|
|
// this.download( |
|
|
|
|
|
|
|
// "monitor/job/export", |
|
|
|
|
|
|
|
// request, |
|
|
|
|
|
|
|
// `goods_${new Date().getTime()}.xlsx` |
|
|
|
|
|
|
|
// ); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|