Commit 00b2f206 authored by dragondean@qq.com's avatar dragondean@qq.com

优化提单模板编辑器兼容性等

parent 9d32fa8b
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -403,7 +403,7 @@ ...@@ -403,7 +403,7 @@
header: [], header: [],
hr: [], hr: [],
i: ['class', 'style'], i: ['class', 'style'],
img: ['src', 'alt', 'title', 'width', 'height', 'id', '_src', 'loadingclass', 'class', 'data-latex'], img: ['src', 'alt', 'title', 'width', 'height', 'id', '_src', 'loadingclass', 'class', 'data-latex', 'style'],
ins: ['datetime'], ins: ['datetime'],
li: ['class', 'style'], li: ['class', 'style'],
mark: [], mark: [],
......
...@@ -141,11 +141,11 @@ ...@@ -141,11 +141,11 @@
} }
} }
pre { pre {
margin: 0; /* margin: 0;
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
max-height: calc(80vh - 32px); max-height: calc(80vh - 32px);
overflow-y: auto; overflow-y: auto; */
} }
.hljs { .hljs {
word-break: break-word; word-break: break-word;
......
...@@ -34,19 +34,21 @@ ...@@ -34,19 +34,21 @@
</div> </div>
</el-descriptions-item> </el-descriptions-item>
<!-- 管理折扣 --> <!-- 重泡货 -->
<!-- <el-descriptions-item :label="$t('申请理由')" v-if="type == 2" :span="4"> <el-descriptions-item :label="$t('申请理由')" v-if="type == 4 || type ==5" :span="4">
<div class="bold"> <div class="bold" v-if="type == 4">
<div> {{$t('重货优惠标准申请为:{new}kg/cbm,原重货标准:{old}kg/cbm', {
{{$t('原运费')}}{{detail.orgFreight}} {{ currencyMap[detail.freightCurrency] }} / {{ unitMap[detail.freightVolume] }} new: detail.wVolume,
{{$t('新运费')}}{{detail.freight}} {{ currencyMap[detail.freightCurrency] }} / {{ unitMap[detail.freightVolume] }} old: detail.orgWVolume
</div> })}}
<div>
{{$t('原清关费')}}{{detail.orgClearanceFreight}} {{ currencyMap[detail.clearanceFreightCurrency] }} / {{ unitMap[detail.clearanceFreightVolume] }}
{{$t('新清关费')}}{{detail.clearanceFreight}} {{ currencyMap[detail.clearanceFreightCurrency] }} / {{ unitMap[detail.clearanceFreightVolume] }}
</div>
</div> </div>
</el-descriptions-item> --> <div class="bold" v-if="type == 5">
{{$t('泡货优惠标准申请为:{new}kg/cbm,原泡货标准:{old}kg/cbm', {
new: detail.vWeight,
old: detail.orgVWeight
})}}
</div>
</el-descriptions-item>
<!-- 佣金设置 --> <!-- 佣金设置 -->
<el-descriptions-item :label="$t('申请理由')" v-if="type == 3" :span="4"> <el-descriptions-item :label="$t('申请理由')" v-if="type == 3" :span="4">
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
{{form.orgWVolume}} kg/cbm {{form.orgWVolume}} kg/cbm
</el-form-item> </el-form-item>
<el-form-item :label="$t('现重货标准')" style="width: 400px" prop="clearanceFreight"> <el-form-item :label="$t('现重货标准')" style="width: 400px" prop="clearanceFreight">
<el-input v-model="form.WVolume" type="number" class="w-100" /> kg/cbm <el-input v-model="form.wvolume" type="number" class="w-100" /> kg/cbm
</el-form-item> </el-form-item>
</template> </template>
<template v-else> <template v-else>
...@@ -16,13 +16,13 @@ ...@@ -16,13 +16,13 @@
{{form.orgWVolume}} kg {{form.orgWVolume}} kg
</el-form-item> </el-form-item>
<el-form-item :label="$t('现泡货标准')" style="width: 400px" prop="clearanceFreight"> <el-form-item :label="$t('现泡货标准')" style="width: 400px" prop="clearanceFreight">
<el-input v-model="form.VWeight" type="number" class="w-100" /> kg <el-input v-model="form.vweight" type="number" class="w-100" /> kg
</el-form-item> </el-form-item>
</template> </template>
</el-form> </el-form>
<div class="page-title">审批流程</div> <div class="page-title">审批流程</div>
<work-flow xmlkey="special_apply" v-model="ccIdArr" /> <work-flow xmlkey="special_apply" v-model="ccIdArr" />
<div v-if="!form.applyStatus"> <div v-if="form.applyStatus != 1">
<el-button type="primary" @click="handleSubmit">提交</el-button> <el-button type="primary" @click="handleSubmit">提交</el-button>
</div> </div>
<div v-else> <div v-else>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment