From a02c33de41647b8453f417aca9180670af4b241c Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期六, 08 二月 2025 15:34:13 +0800
Subject: [PATCH] ll
---
admin/src/views/contract/components/addPaymentBill.vue | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/admin/src/views/contract/components/addPaymentBill.vue b/admin/src/views/contract/components/addPaymentBill.vue
index bb673a1..de9790e 100644
--- a/admin/src/views/contract/components/addPaymentBill.vue
+++ b/admin/src/views/contract/components/addPaymentBill.vue
@@ -34,6 +34,7 @@
range-separator="鑷�"
v-model="form.date"
@change="changeDate"
+ :picker-options="pickerOptions"
start-placeholder="寮�濮嬫棩鏈�"
end-placeholder="缁撴潫鏃ユ湡"
value-format="yyyy-MM-dd"
@@ -97,12 +98,18 @@
startDate: '',
endDate: '',
price: 0,
+ feeType: 0,
receivableFeeCopy: '',
receivableFee: '',
planPayDate: '',
billType: 1,
billTypeCopy: 1,
date: []
+ },
+ pickerOptions: {},
+ time: {
+ startDate: '',
+ endDate: ''
},
rules: {
contractCode: [
@@ -131,8 +138,18 @@
}
},
methods: {
- open (title, target) {
+ open (title, target, time) {
+ var that = this
this.title = title
+ this.time.startDate = time.startDate
+ this.time.endDate = time.endDate
+ this.pickerOptions = {
+ disabledDate(time) {
+ const beginDate = new Date(that.time.startDate).getTime() - 8.64e7
+ const endDate = new Date(that.time.endDate).getTime()
+ return beginDate > time.getTime() || endDate < time.getTime()
+ }
+ }
this.getCompanyList()
this.visible = true
// 鏂板缓
--
Gitblit v1.9.3