This commit is contained in:
2022-10-14 09:34:25 +08:00
parent cb123d08ce
commit 465fbbf429
5 changed files with 24 additions and 38 deletions

View File

@@ -98,16 +98,12 @@
/** 生产区域下拉框查询 */
async _queryProductArea () {
let res = await queryProductArea()
this.options = [...res.rows]
this.options = [...res.data]
},
/** 初始化查询 */
async _queryMaterialInfo () {
let area = ''
if (this.index !== '') {
area = this.options[this.index].value
}
let res = await queryMaterialInfo1(this.val1, this.val2, area)
this.dataList = [...res.rows]
let res = await queryMaterialInfo1(this.val1, this.val2, this.index)
this.dataList = [...res.data]
},
/** 确认 */
async _emptyConfirm () {
@@ -140,6 +136,6 @@
width 92rpx
.slide_new table td:nth-child(2), .slide_new table th:nth-child(2)
position sticky
left 92rpx
left 89rpx
z-index 102
</style>