bug修复
This commit is contained in:
parent
e591c13c60
commit
300ff032e5
|
|
@ -561,5 +561,15 @@
|
|||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "#dcf4ff",
|
||||
"backgroundColor": "#f8f8f8"
|
||||
}
|
||||
},
|
||||
"condition" : { //模式配置,仅开发期间生效
|
||||
"current": 0, //当前激活的模式(list 的索引项)
|
||||
"list": [
|
||||
{
|
||||
"name": "", //模式名称
|
||||
"path": "", //启动页面,必选
|
||||
"query": "" //启动参数,在页面的onLoad函数里面得到
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ const getUnitOut = () => {
|
|||
}
|
||||
getUnitList(obj)
|
||||
.then((res) => {
|
||||
console.log(res)
|
||||
console.log("xxxxxxxxxx",res)
|
||||
unitListOut.value = res.data
|
||||
// getAgreement()
|
||||
if (formDataOut.value.unitId && formDataOut.value.projectId) {
|
||||
|
|
@ -487,7 +487,10 @@ onReady((opt) => {
|
|||
|
||||
console.log('🚀 ~ opt:', opt)
|
||||
onLoad((options) => {
|
||||
console.log("uuuuuuuuuuuuu",options)
|
||||
if(options && options.params){
|
||||
opt = JSON.parse(options.params)
|
||||
}
|
||||
if (opt.type == 'edit') {
|
||||
isEdit.value = true
|
||||
getDetails()
|
||||
|
|
|
|||
|
|
@ -391,6 +391,22 @@ const getMaCode = () => {
|
|||
//选择规格型号
|
||||
const selectMaCode = (e) => {
|
||||
console.log(e)
|
||||
// 检查 typeList 中是否已经存在相同 typeId 的项
|
||||
const exists = typeList.value.some(existingItem => existingItem.typeId === e);
|
||||
if (exists) {
|
||||
let name = ''
|
||||
maCodeSelectList.value.forEach(item => {
|
||||
if (item.typeId === e) {
|
||||
name = item.typeName
|
||||
}
|
||||
})
|
||||
uni.showToast({
|
||||
title: `${name} 已添加到列表中`,
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
return
|
||||
}
|
||||
maCodeSelectList.value.forEach(item=>{
|
||||
console.log(item)
|
||||
if(item.typeId==e){
|
||||
|
|
|
|||
|
|
@ -184,11 +184,11 @@ const pickingList = ref([
|
|||
url: '',
|
||||
iconSrc: '../../static/workbench/backCreate.png',
|
||||
},
|
||||
{
|
||||
title: '退料接收',
|
||||
url: '/pages/back/index',
|
||||
iconSrc: '../../static/workbench/backCreate.png',
|
||||
},
|
||||
// {
|
||||
// title: '退料接收',
|
||||
// url: '/pages/back/index',
|
||||
// iconSrc: '../../static/workbench/backCreate.png',
|
||||
// },
|
||||
{
|
||||
title: '修试入库',
|
||||
url: '/pages/repair/testedInBound/index',
|
||||
|
|
@ -208,11 +208,11 @@ const partList = ref([
|
|||
url: '',
|
||||
iconSrc: '../../static/workbench/partIn.png',
|
||||
},
|
||||
{
|
||||
title: '配件领用申请',
|
||||
url: '',
|
||||
iconSrc: '../../static/workbench/partApprove.png',
|
||||
}
|
||||
// {
|
||||
// title: '配件领用申请',
|
||||
// url: '',
|
||||
// iconSrc: '../../static/workbench/partApprove.png',
|
||||
// }
|
||||
])
|
||||
|
||||
// 维修
|
||||
|
|
|
|||
Loading…
Reference in New Issue