|
|
|
@ -166,7 +166,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import { ref, computed, nextTick, onMounted, defineAsyncComponent } from 'vue'
|
|
|
|
|
import { ref, computed, nextTick, onMounted, defineAsyncComponent, watch } from 'vue'
|
|
|
|
|
import { useAppStore } from '/@/store/modules/app'
|
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'
|
|
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
|
@ -235,6 +235,19 @@
|
|
|
|
|
const RefediMore = ref(null)
|
|
|
|
|
const RefNoteInfo = ref(null)
|
|
|
|
|
const mainOrderActiveKey = ref('1-1')
|
|
|
|
|
watch(
|
|
|
|
|
() => mainOrderActiveKey.value,
|
|
|
|
|
(v) => {
|
|
|
|
|
if (v == '1-1') {
|
|
|
|
|
OtherInfo.value.flag = true
|
|
|
|
|
RefrightContent.value.flag = true
|
|
|
|
|
}
|
|
|
|
|
if (v == '5-5') {
|
|
|
|
|
OtherInfo.value.flag = false
|
|
|
|
|
RefrightContent.value.flag = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
const inPageLoading = ref(false)
|
|
|
|
|
const detailsLoadOver = ref(false)
|
|
|
|
|
// const cargoRules = ref(rules.cargoRules)
|
|
|
|
@ -340,7 +353,7 @@
|
|
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
// 如果详情页,隐藏主页面tab标签页
|
|
|
|
|
if (source.value != 'edit') document.getElementsByClassName('main-tab')[0].getElementsByClassName('ant-tabs-nav-wrap')[0].style.display = 'none'
|
|
|
|
|
if (source.value != 'edit' && source.value != 'copy') document.getElementsByClassName('main-tab')[0].getElementsByClassName('ant-tabs-nav-wrap')[0].style.display = 'none'
|
|
|
|
|
})
|
|
|
|
|
init()
|
|
|
|
|
// 初始化
|
|
|
|
@ -658,8 +671,6 @@
|
|
|
|
|
// 集装箱 件重尺 更改 整票数据
|
|
|
|
|
function changeTotalFun(data) {
|
|
|
|
|
const { type, val } = data
|
|
|
|
|
console.log(type)
|
|
|
|
|
console.log(RefcargoInfo.value)
|
|
|
|
|
if (type === 'totalKgs') {
|
|
|
|
|
RefcargoInfo.value.setFieldsValue2({
|
|
|
|
|
kgs: val
|
|
|
|
@ -962,7 +973,7 @@
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #257AFA;
|
|
|
|
|
.icon-liebiao1, .icon-jichupeizhi {
|
|
|
|
|
|
|
|
|
|
width: 300px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.main-bill-box {
|
|
|
|
|