This commit is contained in:
2024-07-01 17:08:12 +08:00
parent cd8cf51179
commit c70acc617f
2 changed files with 6 additions and 6 deletions

View File

@@ -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