子卷质检修改135

This commit is contained in:
2025-06-12 14:27:25 +08:00
parent facb9e5928
commit 478fb56b81
3 changed files with 15 additions and 4 deletions

View File

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

View File

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

View File

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