vue2server7 7.0.14 → 7.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -257,71 +257,108 @@
|
|
|
257
257
|
</section>
|
|
258
258
|
</template>
|
|
259
259
|
|
|
260
|
-
<script>
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
260
|
+
<script setup lang="ts">
|
|
261
|
+
import { reactive, ref } from 'vue'
|
|
262
|
+
import { useRouter } from 'vue-router'
|
|
263
|
+
import { ElMessage } from 'element-plus'
|
|
264
|
+
import type { FormInstance, FormRules } from 'element-plus'
|
|
265
|
+
|
|
266
|
+
const router = useRouter()
|
|
267
|
+
const formRef = ref<FormInstance>()
|
|
268
|
+
|
|
269
|
+
interface ReportForm {
|
|
270
|
+
reportNo: string
|
|
271
|
+
bizType: string
|
|
272
|
+
customerType: string
|
|
273
|
+
isGroup: string
|
|
274
|
+
orgCode: string
|
|
275
|
+
customerName: string
|
|
276
|
+
currency: string
|
|
277
|
+
amount: string
|
|
278
|
+
valueDate: string
|
|
279
|
+
accountName: string
|
|
280
|
+
planDate: string
|
|
281
|
+
prepareDate: string
|
|
282
|
+
createNo: string
|
|
283
|
+
isNegotiate: string
|
|
284
|
+
origBizNo: string
|
|
285
|
+
linkedBank: string
|
|
286
|
+
receivingBank: string
|
|
287
|
+
receivingBankCode: string
|
|
288
|
+
receivingBankName: string
|
|
289
|
+
emailProduct: string
|
|
290
|
+
multiCurrencyProduct: string
|
|
291
|
+
ftzFlag: boolean
|
|
292
|
+
reporter: string
|
|
293
|
+
phone: string
|
|
294
|
+
department: string
|
|
295
|
+
remark: string
|
|
296
|
+
register: string
|
|
297
|
+
useStatus: string
|
|
298
|
+
currentStatus: string
|
|
299
|
+
bizRegion: string
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
const form = reactive<ReportForm>({
|
|
303
|
+
reportNo: '',
|
|
304
|
+
bizType: '跨境人民币业务(进口)',
|
|
305
|
+
customerType: '对公',
|
|
306
|
+
isGroup: '',
|
|
307
|
+
orgCode: '5903887-5',
|
|
308
|
+
customerName: '长期应收长期预收客户(5927)',
|
|
309
|
+
currency: 'CNY',
|
|
310
|
+
amount: '100,000,000.00',
|
|
311
|
+
valueDate: '',
|
|
312
|
+
accountName: '',
|
|
313
|
+
planDate: '2026-03-23',
|
|
314
|
+
prepareDate: '2026-03-23',
|
|
315
|
+
createNo: '183423',
|
|
316
|
+
isNegotiate: '否',
|
|
317
|
+
origBizNo: '',
|
|
318
|
+
linkedBank: 'CIPSCNSHXXX',
|
|
319
|
+
receivingBank: '',
|
|
320
|
+
receivingBankCode: 'BKCHCNBJXXX',
|
|
321
|
+
receivingBankName: '中国银行国际金融有限公司',
|
|
322
|
+
emailProduct: '',
|
|
323
|
+
multiCurrencyProduct: '',
|
|
324
|
+
ftzFlag: false,
|
|
325
|
+
reporter: '0601bx',
|
|
326
|
+
phone: '13051636/66',
|
|
327
|
+
department: 'HGS1:利率及外汇业务处',
|
|
328
|
+
remark: '',
|
|
329
|
+
register: '登记(后端周四)',
|
|
330
|
+
useStatus: '未使用',
|
|
331
|
+
currentStatus: '自行撤区',
|
|
332
|
+
bizRegion: '报关系统'
|
|
333
|
+
})
|
|
334
|
+
|
|
335
|
+
const rules: FormRules<ReportForm> = {
|
|
336
|
+
customerType: [{ required: true, message: '请选择客户分类', trigger: 'change' }],
|
|
337
|
+
orgCode: [{ required: true, message: '请输入对公组织架构代码', trigger: 'blur' }],
|
|
338
|
+
customerName: [{ required: true, message: '请输入客户名称', trigger: 'blur' }],
|
|
339
|
+
currency: [{ required: true, message: '请选择币种', trigger: 'change' }],
|
|
340
|
+
planDate: [{ required: true, message: '请选择计划日期', trigger: 'change' }],
|
|
341
|
+
reporter: [{ required: true, message: '请输入报备人', trigger: 'blur' }],
|
|
342
|
+
phone: [{ required: true, message: '请输入联系电话', trigger: 'blur' }]
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
function onFlowLog() {
|
|
346
|
+
ElMessage.info('查看操作流水')
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
function onSubmit() {
|
|
350
|
+
formRef.value?.validate((valid) => {
|
|
351
|
+
if (!valid) return
|
|
352
|
+
ElMessage.success('提交成功')
|
|
353
|
+
})
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
function onSave() {
|
|
357
|
+
ElMessage.success('保存成功')
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
function onClose() {
|
|
361
|
+
router.back()
|
|
325
362
|
}
|
|
326
363
|
</script>
|
|
327
364
|
|