diff --git a/src/App.vue b/src/App.vue index 721d3a32..cb46977e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,29 @@ diff --git a/src/views/PurchasingCenter/CreateContract/index.vue b/src/views/PurchasingCenter/CreateContract/index.vue index 8edbfa7b..5c85a1a3 100644 --- a/src/views/PurchasingCenter/CreateContract/index.vue +++ b/src/views/PurchasingCenter/CreateContract/index.vue @@ -186,7 +186,7 @@ style="margin-top:10px" @click="calculateContractSum">计算合同总额 合同总额: - + @@ -237,10 +237,10 @@ export default { searchView: '', fileList: [], minDate: null, - endDateOpt: { // 为了让规定到货时间早于物料计划到货时间 + endDateOpt: { // 禁用大于规定到货日期和小于当前日期 disabledDate: (time) => { if (this.minDate) { - return time.getTime() > this.minDate + return time.getTime() > this.minDate || time.getTime() < new Date() } } }, @@ -262,8 +262,8 @@ export default { payTime5Value: '', // 付款时间 payTime6Value: '', // 付款时间 freight: '', // 运费 - taxRate: '', // 税率 - currencyValue: '', // 币种 + taxRate: '0.17', // 税率 + currencyValue: 1, // 币种 currency: [ { label: '人民币',