fix: 修复pc测试过程中遇到的问题
This commit is contained in:
@@ -236,7 +236,7 @@ export default {
|
||||
this.show = true
|
||||
} else if (type === 'BACK') {
|
||||
crudProduceScreen.fabOrders({ device_code: this.popData.device_code }).then(res => {
|
||||
this.popList = [...res.content]
|
||||
this.popList = [...res]
|
||||
this.show = true
|
||||
})
|
||||
}
|
||||
@@ -244,7 +244,7 @@ export default {
|
||||
handleCurrentChange(val) {
|
||||
this.currentRow = val
|
||||
crudProduceScreen.fabMaterial({ vehicle_code: this.currentRow.vehicle_code }).then(res => {
|
||||
this.popSecList = [...res.content]
|
||||
this.popSecList = [...res]
|
||||
})
|
||||
},
|
||||
toSure() {
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
<el-select v-model="value" placeholder="请选择">
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
:key="item.point_code"
|
||||
:label="item.point_name"
|
||||
:value="item.point_code"
|
||||
:key="item.device_code"
|
||||
:label="item.device_name"
|
||||
:value="item.device_code"
|
||||
class="option-wraper"
|
||||
/>
|
||||
</el-select>
|
||||
@@ -75,7 +75,7 @@ export default {
|
||||
crudProduceScreen.authLogin({ username: this.username, password: encrypt(this.password) }).then(res => {
|
||||
this.disabled = false
|
||||
crudProduceScreen.getUserOrDevice({ username: this.username }).then(res => {
|
||||
this.options = [...res.content]
|
||||
this.options = [...res]
|
||||
this.show = true
|
||||
})
|
||||
}).catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user