diff --git a/web-admin/src/App.vue b/web-admin/src/App.vue index f300d9a3..e45a2293 100644 --- a/web-admin/src/App.vue +++ b/web-admin/src/App.vue @@ -77,6 +77,7 @@ [/(SOP)/i, 'auto-title-file'], [/(捐赠|协议)/, 'auto-title-file'], [/(缴费|退费)/, 'auto-title-calc'], + [/(运费)/, 'auto-title-calc'], [/(接收|检查项|样本|编码)/, 'auto-title-file'], [/(审核|记录)/, 'auto-title-file'], [/(客户|公司|机构|医院)/, 'auto-title-user'], diff --git a/web-admin/src/views/cell-storage/sample-freight/FreightConfigDialog.vue b/web-admin/src/views/cell-storage/sample-freight/FreightConfigDialog.vue new file mode 100644 index 00000000..36f7692f --- /dev/null +++ b/web-admin/src/views/cell-storage/sample-freight/FreightConfigDialog.vue @@ -0,0 +1,333 @@ + + + + 新建运费 + 关联已有 + + + + + + + + + + + + + + + + + + + + {{ row.transportModeLabel || row.transportMode || '—' }} + + + + ¥{{ formatMoneyDisplay(row.freightAmount) }} + + + {{ row.linkedSampleCount ?? 0 }} + + + {{ row.createTime || '—' }} + + + + + + + + + + + + + + 搜索样本 + + + + + + + + {{ row.sampleSource === 'cell_storage' ? '细胞存储' : '科研捐赠' }} + + + + + + + + + 已关联 + — + + + + + + + + + 取消 + + + + 确定 + + + + + + + + diff --git a/web-admin/src/views/cell-storage/sample-freight/FreightEditDialog.vue b/web-admin/src/views/cell-storage/sample-freight/FreightEditDialog.vue new file mode 100644 index 00000000..f1cfefc8 --- /dev/null +++ b/web-admin/src/views/cell-storage/sample-freight/FreightEditDialog.vue @@ -0,0 +1,150 @@ + + + + 将同步更新关联的 {{ linkedCount }} 个样本的运输方式与运费(不影响合同金额)。 + + + + + + + + + + + + + + + + + 取消 + + + + 确定 + + + + + + + + diff --git a/web-admin/src/views/cell-storage/sample-freight/index.vue b/web-admin/src/views/cell-storage/sample-freight/index.vue index 471bc607..cf545098 100644 --- a/web-admin/src/views/cell-storage/sample-freight/index.vue +++ b/web-admin/src/views/cell-storage/sample-freight/index.vue @@ -1,18 +1,568 @@ + 运费信息 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + 重置 + + + + 搜索 + + + + + + + + + + 已选 {{ selectedFreightIds.length }} 项 + + + + 配置运费 + + + + 取消关联 + + + + 编辑运费 + + + + - + + + + + + {{ row.transportModeLabel || row.transportMode || '—' }} + + + + + ¥{{ formatMoneyDisplay(row.freightAmount) }} + + + + + + {{ row.sampleSource === 'cell_storage' ? '细胞存储' : '科研捐赠' }} + + — + + + + {{ row.protocolNo || '—' }} + + + {{ row.sampleCode || '—' }} + + + {{ row.sampleTypeName || '—' }} + + + {{ formatDisplayOrDash(row.createTime) }} + + + + + + + 编辑 + + + + 取消关联 + + + + + + + ((pagination.page = 1), (pagination.pageSize = val), loadData())" + @current-change="(val) => ((pagination.page = val), loadData())" + /> + + + + + + + 勾选要从该运费批次解除关联的样本: + (unlinkSelected = rows)" + > + + + + + {{ row.sampleSource === 'cell_storage' ? '细胞存储' : '科研捐赠' }} + + + + + + + + + + + 取消 + + + + 确定解除 + + + + +
+ 将同步更新关联的 {{ linkedCount }} 个样本的运输方式与运费(不影响合同金额)。 +
勾选要从该运费批次解除关联的样本: