打印 启动单编号bug

pull/3/head
qiuhongwu 9 months ago
parent b6cf6c1ec9
commit 6578599214

@ -15,7 +15,7 @@
</td> </td>
<td colspan="2" style="padding: 5px 0"> <td colspan="2" style="padding: 5px 0">
<div style="border-bottom: 1px solid #666; padding-bottom: 5px">项目编号</div> <div style="border-bottom: 1px solid #666; padding-bottom: 5px">项目编号</div>
<div style="padding-top: 5px">{{ `formData.code` }}</div> <div style="padding-top: 5px">{{ formData.code}}</div>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -56,10 +56,7 @@
<div style="display: flex; justify-content: space-between"> <div style="display: flex; justify-content: space-between">
<div style="width: 42%; font-size: 12px; display: flex; flex-direction: column"> <div style="width: 42%; font-size: 12px; display: flex; flex-direction: column">
<div style="text-align: left; width: 100%">客户提供资料</div> <div style="text-align: left; width: 100%">客户提供资料</div>
<div <div id="fruitForm" style="display: flex; justify-content: flex-start; align-items: center">
id="fruitForm"
style="display: flex; justify-content: flex-start; align-items: center"
>
<span class="checkbox" v-if="formData.hasContract == 0"></span> <span class="checkbox" v-if="formData.hasContract == 0"></span>
<span class="checkbox" v-else-if="formData.hasContract == 1"></span> <span class="checkbox" v-else-if="formData.hasContract == 1"></span>
<label for="checkbox1">开发合同</label> <label for="checkbox1">开发合同</label>
@ -100,9 +97,11 @@
</tr> </tr>
<tbody> <tbody>
<tr <tr>
><td colspan="10"> <div style="text-align: left; width: 100%">子项目信息</div></td></tr <td colspan="10">
> <div style="text-align: left; width: 100%">子项目信息</div>
</td>
</tr>
<tr> <tr>
<td class="xh"> 序号 </td> <td class="xh"> 序号 </td>
@ -169,8 +168,8 @@ import * as ProjectOrderApi from '@/api/heli/projectorder'
import { getIntDictOptions, getStrDictOptions, DICT_TYPE, getDictLabel } from '@/utils/dict' import { getIntDictOptions, getStrDictOptions, DICT_TYPE, getDictLabel } from '@/utils/dict'
import { betweenDay, dateFormatter, formatDate } from '@/utils/formatTime' import { betweenDay, dateFormatter, formatDate } from '@/utils/formatTime'
import { Check } from '@element-plus/icons-vue' import { Check } from '@element-plus/icons-vue'
import {getCustomer} from "@/api/heli/customer"; import { getCustomer } from '@/api/heli/customer'
import {getOperateLogPage} from "@/api/system/operatelog"; import { getOperateLogPage } from '@/api/system/operatelog'
const dialogVisible = ref(false) // const dialogVisible = ref(false) //
const onPrint = () => { const onPrint = () => {
@ -325,10 +324,10 @@ const open = async (id: number) => {
let logParams = { let logParams = {
pageNo: 1, pageNo: 1,
pageSize: 2, pageSize: 2,
typeList: [9,10] typeList: [9, 10]
} }
const logs = await getOperateLogPage(logParams) const logs = await getOperateLogPage(logParams)
if(logs.list && logs.list.length == 2){ if (logs.list && logs.list.length == 2) {
const approveLog = logs.list[0] const approveLog = logs.list[0]
const auditLog = logs.list[1] const auditLog = logs.list[1]
formData.value.approveTime = approveLog.startTime formData.value.approveTime = approveLog.startTime

Loading…
Cancel
Save