接口
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import {boxinfogetBoxInfo, saveBoxInfo} from '@/utils/getData3.js'
|
||||
import {getBoxInfo, saveBoxInfo} from '@/utils/getData3.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
@@ -53,14 +53,14 @@
|
||||
},
|
||||
methods: {
|
||||
handleChange (e) {
|
||||
this._boxinfogetBoxInfo(e)
|
||||
this._getBoxInfo(e)
|
||||
},
|
||||
/** 查询 */
|
||||
async _boxinfogetBoxInfo (e) {
|
||||
async _getBoxInfo (e) {
|
||||
if (!e) {
|
||||
return
|
||||
}
|
||||
let res = await boxinfogetBoxInfo(e)
|
||||
let res = await getBoxInfo(e)
|
||||
this.val1 = res.box_no
|
||||
this.val2 = res.box_weight
|
||||
this.disabled1 = false
|
||||
|
||||
Reference in New Issue
Block a user