This commit is contained in:
2025-06-13 17:59:01 +08:00
3 changed files with 15 additions and 4 deletions

View File

@@ -2,8 +2,8 @@
"name" : "海亮铜箔", "name" : "海亮铜箔",
"appid" : "__UNI__3A002CD", "appid" : "__UNI__3A002CD",
"description" : "海亮铜箔二期手持系统", "description" : "海亮铜箔二期手持系统",
"versionName" : "1.3.4", "versionName" : "1.3.5",
"versionCode" : 134, "versionCode" : 135,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

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

View File

@@ -160,6 +160,10 @@ export const updatePackageInfo = (ivt, cn, code) => request({
url:'api/twoPda/vehicle/updatePackageInfo', url:'api/twoPda/vehicle/updatePackageInfo',
data: {ivt_status: ivt, container_name: cn, pointCode: code} data: {ivt_status: ivt, container_name: cn, pointCode: code}
}) })
export const getControlList = () => request({
url:'api/twoPda/vehicle/getControlList',
data: {}
})
/** /**
* 纸管绑定 * 纸管绑定
*/ */