sov
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import {updatePackageInfo} from '@/utils/getData3.js'
|
||||
import {getControlList, updatePackageInfo} from '@/utils/getData3.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
@@ -48,15 +48,22 @@
|
||||
val1: '',
|
||||
options: [{value: '3', text: '合格品'}, {value: '4', text: '管制品'}, {value: '0', text: '空点位'}, {value: '1', text: '有架子'}],
|
||||
index: '',
|
||||
options1: [{value: '1', text: '1'}, {value: '2', text: '2'}],
|
||||
options1: [],
|
||||
index1: '',
|
||||
disabled: false
|
||||
};
|
||||
},
|
||||
onLoad (options) {
|
||||
this.title = options.title
|
||||
this._getControlList()
|
||||
},
|
||||
methods: {
|
||||
async _getControlList () {
|
||||
let res = await getControlList()
|
||||
if (res) {
|
||||
this.options1 = [...res]
|
||||
}
|
||||
},
|
||||
selectChange (e) {
|
||||
this.index = e
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user