src/pages/procurementManagement/paymentEntry/index.vue
@@ -75,7 +75,7 @@ size="small" class="action-btn" :disabled="item.unPaymentAmountTotal == 0" @click="openForm(item)" @click="openForm('add', item)" > 新增付款 </van-button> @@ -139,11 +139,12 @@ } // 打开新增表单 const openForm = (item) => { const openForm = (type, item) => { if (item.unPaymentAmountTotal == 0) { showToast('无需再付款') return } uni.setStorageSync('operationType', type); uni.setStorageSync('invoiceLedgerEditRow', JSON.stringify(item)) uni.navigateTo({ url: '/pages/procurementManagement/paymentEntry/add' }) }