This commit is contained in:
zlwu committed 2026-06-16 07:38:27 +08:00
1 parent a1c2511eb7
commit eaf7d490ec
382 files changed
+44146 -34245

No files matched your search

@@ -3,15 +3,20 @@
<el-dialog
:model-value="modelValue"
:title="isEdit ? '编辑申请单' : '新增申请单'"
width="1380px"
:width="isBasicExperiment ? '1600px' : '1380px'"
class="dialog-form-layout"
align-center
append-to-body
modal-class="protocol-dialog-mask"
destroy-on-close
:close-on-click-modal="false"
@open="handleOpen"
@update:model-value="emit('update:modelValue', $event)"
>
<DialogFormBody :loading="formLoading">
<DialogFormBody
:loading="formLoading"
body-class="protocol-dialog-body min-h-[200px]"
>
<div class="detail-tabs">
<div
v-for="tab in formTabs"
@@ -30,6 +35,7 @@
:rules="formRules"
label-position="top"
scroll-to-error
class="protocol-form"
>
<!-- ═══ Tab 0: 申请单信息 ═══ -->
<div id="section-application" class="form-tab-pane">
@@ -150,7 +156,6 @@
:show-file-list="false"
:auto-upload="false"
:multiple="true"
accept="image/*,.pdf"
@change="handleConsentFileChange"
>
<div class="upload-card">
@@ -200,7 +205,7 @@
</div>
</div>
</div>
<span class="upload-hint">支持图片和 PDF 格式,可稍后补充</span>
<span class="upload-hint">支持图片、视频、PDF、Word、Excel 等常见文件格式,可稍后补充</span>
</div>
</div>
@@ -215,7 +220,6 @@
:show-file-list="false"
:auto-upload="false"
:multiple="true"
accept="image/*,.pdf,.doc,.docx,.xls,.xlsx"
@change="handleOtherFileChange"
>
<div class="upload-card">
@@ -265,14 +269,16 @@
</div>
</div>
</div>
<span class="upload-hint">支持图片、PDF、Word、Excel 等文件</span>
<span class="upload-hint">支持图片、视频、PDF、Word、Excel 等常见文件格式</span>
</div>
</div>
<div v-if="bizConfig.showStandardAttachments" class="form-col-full">
<div class="section-subtitle" style="margin-top: 8px; margin-bottom: 12px"
>标准附件</div
>
</div>
<div
v-if="isBasicExperiment && bizConfig.showStandardAttachments"
class="form-grid form-grid--attachment"
>
<el-form-item label="标准附件">
<div class="attachment-upload">
<div class="attachment-list">
<el-upload
@@ -280,7 +286,6 @@
:show-file-list="false"
:auto-upload="false"
:multiple="true"
accept="image/*,.pdf"
@change="handleOtherFileChange"
>
<div class="upload-card">
@@ -322,9 +327,9 @@
</div>
</div>
</div>
<span class="upload-hint">支持图片和 PDF 格式</span>
<span class="upload-hint">支持图片、视频、PDF、Word、Excel 等常见文件格式</span>
</div>
</div>
</el-form-item>
</div>
</div>
</div>
@@ -493,10 +498,10 @@
<div class="section-title-left section-title-left--with-hint">
<h3>{{ bizConfig.planLabel }}</h3>
<p v-if="isEdit" class="section-title-hint">
编辑模式下仅更新申请单信息;新增售卖计划请在创建时维护,或于「售卖计划管理」Tab 查看。
编辑模式下仅更新申请单信息;新增交付计划请在创建时维护,或于「交付计划管理」Tab 查看。
</p>
<p v-else class="section-title-hint">
每行细胞产品将独立生成一条售卖计划(含提货时间与金额)。
每行细胞产品将独立生成一条交付计划(含交付时间与金额)。
</p>
</div>
</div>
@@ -569,7 +574,7 @@
v-model="row.pickupTime"
type="datetime"
value-format="YYYY-MM-DD HH:mm:ss"
placeholder="请选择提货时间"
placeholder="请选择交付时间"
style="width: 100%"
/>
</template>
@@ -940,17 +945,20 @@
</DialogFormBody>
<template #footer>
<el-button @click="emit('update:modelValue', false)">
<el-icon><Close /></el-icon>取消
<el-button class="btn-ghost" @click="emit('update:modelValue', false)">
<el-icon><Close /></el-icon>
取消
</el-button>
<el-button type="primary" :loading="submitting" @click="handleSubmit">
<el-icon><Check /></el-icon>保存
<el-button class="btn-main" type="primary" :loading="submitting" @click="handleSubmit">
<el-icon><Check /></el-icon>
确定
</el-button>
</template>
</el-dialog>
<!-- ═══ 新增客户子弹窗 ═══ -->
<el-dialog
append-to-body
v-model="newCustomerDialogVisible"
title="新增客户"
width="500px"
@@ -2854,6 +2862,17 @@
</script>
<style scoped lang="scss">
.protocol-dialog-body {
overflow: visible;
background: #f5f7fa;
}
.protocol-form {
:deep(.el-form-item) {
margin-bottom: 4px;
}
}
/* ---- Sticky Tab 导航 ---- */
.detail-tabs {
position: sticky;
@@ -2903,6 +2922,11 @@
grid-template-columns: repeat(4, minmax(0, 1fr));
}
&--attachment {
margin-top: 16px;
grid-template-columns: 1fr;
}
.form-col-full {
grid-column: 1 / -1;
}