提交
This commit is contained in:
1 parent
1ca2668112
commit
5b3edb1700
278 files changed
+53761
-36931
No files matched your search
@@ -681,10 +681,12 @@
|
||||
placeholder="请选择转账方式"
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-option label="微信" value="wxzz" />
|
||||
<el-option label="支付宝" value="zzbzz" />
|
||||
<el-option label="银行卡" value="yhkzz" />
|
||||
<el-option label="现金" value="xj" />
|
||||
<el-option
|
||||
v-for="opt in transferTypeOptions"
|
||||
:key="opt.value"
|
||||
:label="opt.label"
|
||||
:value="opt.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="转账金额(元)">
|
||||
@@ -933,10 +935,19 @@
|
||||
newbornSexLabel,
|
||||
deliveryModeLabel,
|
||||
sampleStatusLabel,
|
||||
loadTransferTypeDict,
|
||||
getTransferTypeOptions,
|
||||
transferTypeLabel,
|
||||
payStatusLabel,
|
||||
payStatusTagType
|
||||
} from '@/utils/status-tag-registry'
|
||||
} from '@/utils/protocol-payment-labels'
|
||||
|
||||
const transferTypeOptions = ref<Api.Dict.DictDataOption[]>([])
|
||||
|
||||
async function ensureTransferTypeOptions() {
|
||||
await loadTransferTypeDict()
|
||||
transferTypeOptions.value = getTransferTypeOptions()
|
||||
}
|
||||
|
||||
/** 金额只读展示:千分位 + ¥ 前缀 */
|
||||
function fmtMoney(v: unknown): string {
|
||||
@@ -2760,6 +2771,7 @@
|
||||
() => props.modelValue,
|
||||
(visible) => {
|
||||
if (visible) {
|
||||
void ensureTransferTypeOptions()
|
||||
if (props.editId) {
|
||||
handleOpenForEdit()
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user