支付表格拉取筛选状态

master
lynn 8 months ago
parent 2224eca894
commit e8755d33c1

@ -850,7 +850,8 @@ export default {
//
async getPaymentFormOptions() {
try {
const res = await getContractFormList({})
// status=1
const res = await getContractFormList({ status: 1 })
if (res.errcode !== undefined) {
this.$message.error(res.errmsg || '获取支付表格选项失败')
return
@ -862,7 +863,9 @@ export default {
id: item.id,
label: item.name || item.title || `附件${item.id}`
}))
this.originalPaymentForm = res.data[0].id // ID
if (res.data.length > 0) {
this.originalPaymentForm = res.data[0].id // ID
}
} else {
this.paymentFormOptions = []
}

Loading…
Cancel
Save