|
|
@ -143,10 +143,7 @@
|
|
|
|
></mastetMore>
|
|
|
|
></mastetMore>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="tab-content5" class="tab-content" v-show="mainOrderActiveKey === '5-5'">
|
|
|
|
<div id="tab-content5" class="tab-content" v-show="mainOrderActiveKey === '5-5'">
|
|
|
|
<costEntry
|
|
|
|
<costEntry v-if="$route.query.id" :details="bookingDetails"></costEntry>
|
|
|
|
v-if="$route.query.id"
|
|
|
|
|
|
|
|
:details="bookingDetails"
|
|
|
|
|
|
|
|
></costEntry>
|
|
|
|
|
|
|
|
<!-- <mastetMore
|
|
|
|
<!-- <mastetMore
|
|
|
|
ref="RefmastetMore"
|
|
|
|
ref="RefmastetMore"
|
|
|
|
class="pane-box"
|
|
|
|
class="pane-box"
|
|
|
@ -824,6 +821,27 @@
|
|
|
|
lastPages[key] = $data
|
|
|
|
lastPages[key] = $data
|
|
|
|
appStore.setneedSavePages(lastPages)
|
|
|
|
appStore.setneedSavePages(lastPages)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 获取默认值
|
|
|
|
|
|
|
|
function getDefault() {
|
|
|
|
|
|
|
|
console.log('getDefault')
|
|
|
|
|
|
|
|
getFormSetInfoByModule({ permissionId: permissionsInfo().permissionId }).then((res) => {
|
|
|
|
|
|
|
|
if (res?.data?.content) {
|
|
|
|
|
|
|
|
const content = JSON.parse(res.data.content)
|
|
|
|
|
|
|
|
updateSchema(content.columns)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// 更新表单
|
|
|
|
|
|
|
|
function updateSchema(data) {
|
|
|
|
|
|
|
|
console.log(data, 'updateSchema')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RefbasicInfo.value.updateSchema(data)
|
|
|
|
|
|
|
|
// RefmailingInfo.value.updateSchemaL(data)
|
|
|
|
|
|
|
|
// RefmailingInfo.value.updateSchemaR(data)
|
|
|
|
|
|
|
|
// RefcargoInfo.value.updateSchema(data)
|
|
|
|
|
|
|
|
// RefediMore.value.updateSchema(data)
|
|
|
|
|
|
|
|
// RefmastetMore.value.updateSchema(data)
|
|
|
|
|
|
|
|
}
|
|
|
|
//存默认值
|
|
|
|
//存默认值
|
|
|
|
function setDefault() {
|
|
|
|
function setDefault() {
|
|
|
|
let _data: any = []
|
|
|
|
let _data: any = []
|
|
|
@ -996,7 +1014,7 @@
|
|
|
|
console.log(_data)
|
|
|
|
console.log(_data)
|
|
|
|
|
|
|
|
|
|
|
|
const Apidata: any = {
|
|
|
|
const Apidata: any = {
|
|
|
|
// id: 0,
|
|
|
|
id: 0,
|
|
|
|
permissionId: permissionsInfo().permissionId,
|
|
|
|
permissionId: permissionsInfo().permissionId,
|
|
|
|
templateName: permissionsInfo().permissionName,
|
|
|
|
templateName: permissionsInfo().permissionName,
|
|
|
|
permissionName: permissionsInfo().permissionName,
|
|
|
|
permissionName: permissionsInfo().permissionName,
|
|
|
@ -1010,25 +1028,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function updateSchema(data) {
|
|
|
|
|
|
|
|
console.log(data, 'updateSchema')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RefbasicInfo.value.updateSchema(data)
|
|
|
|
|
|
|
|
// RefmailingInfo.value.updateSchemaL(data)
|
|
|
|
|
|
|
|
// RefmailingInfo.value.updateSchemaR(data)
|
|
|
|
|
|
|
|
// RefcargoInfo.value.updateSchema(data)
|
|
|
|
|
|
|
|
// RefediMore.value.updateSchema(data)
|
|
|
|
|
|
|
|
// RefmastetMore.value.updateSchema(data)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function getDefault() {
|
|
|
|
|
|
|
|
console.log('getDefault')
|
|
|
|
|
|
|
|
getFormSetInfoByModule({ permissionId: permissionsInfo().permissionId }).then((res) => {
|
|
|
|
|
|
|
|
if (res?.data?.content) {
|
|
|
|
|
|
|
|
const content = JSON.parse(res.data.content)
|
|
|
|
|
|
|
|
updateSchema(content.columns)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// ============================================
|
|
|
|
// ============================================
|
|
|
|
function getRouterHis() {
|
|
|
|
function getRouterHis() {
|
|
|
|
inChildLoading.value = true
|
|
|
|
inChildLoading.value = true
|
|
|
|