|
|
|
@ -392,27 +392,27 @@
|
|
|
|
|
// 判断页面来源
|
|
|
|
|
const source = ref(route.query.source || 'edit')
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
if (source.value != 'edit') {
|
|
|
|
|
cargoInfoFormSchema1.forEach(item => {
|
|
|
|
|
item.dynamicDisabled = true
|
|
|
|
|
})
|
|
|
|
|
cargoInfoFormSchema2.forEach(item => {
|
|
|
|
|
item.dynamicDisabled = true
|
|
|
|
|
})
|
|
|
|
|
cargoInfoFormSchema3.forEach(item => {
|
|
|
|
|
item.dynamicDisabled = true
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
cargoInfoFormSchema1.forEach(item => {
|
|
|
|
|
item.dynamicDisabled = false
|
|
|
|
|
})
|
|
|
|
|
cargoInfoFormSchema2.forEach(item => {
|
|
|
|
|
item.dynamicDisabled = false
|
|
|
|
|
})
|
|
|
|
|
cargoInfoFormSchema3.forEach(item => {
|
|
|
|
|
item.dynamicDisabled = false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// if (source.value != 'edit') {
|
|
|
|
|
// cargoInfoFormSchema1.forEach(item => {
|
|
|
|
|
// item.dynamicDisabled = true
|
|
|
|
|
// })
|
|
|
|
|
// cargoInfoFormSchema2.forEach(item => {
|
|
|
|
|
// item.dynamicDisabled = true
|
|
|
|
|
// })
|
|
|
|
|
// cargoInfoFormSchema3.forEach(item => {
|
|
|
|
|
// item.dynamicDisabled = true
|
|
|
|
|
// })
|
|
|
|
|
// } else {
|
|
|
|
|
// cargoInfoFormSchema1.forEach(item => {
|
|
|
|
|
// item.dynamicDisabled = false
|
|
|
|
|
// })
|
|
|
|
|
// cargoInfoFormSchema2.forEach(item => {
|
|
|
|
|
// item.dynamicDisabled = false
|
|
|
|
|
// })
|
|
|
|
|
// cargoInfoFormSchema3.forEach(item => {
|
|
|
|
|
// item.dynamicDisabled = false
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
})
|
|
|
|
|
function SetTOTALNO(SS) {
|
|
|
|
|
let DSS = SS.toString()
|
|
|
|
|