|
@@ -112,7 +112,7 @@ const route = useRoute();
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
const supplierList = ref([]);
|
|
|
const invoiceType = ref([]);
|
|
|
-const fundsPaymentMethod = ref([]);
|
|
|
+const payMethod = ref([]);
|
|
|
const accountList = ref([]);
|
|
|
const contractList = ref([]);
|
|
|
let formData = reactive({
|
|
@@ -273,9 +273,9 @@ const formConfig = computed(() => {
|
|
|
},
|
|
|
{
|
|
|
type: "select",
|
|
|
- label: "付款方式",
|
|
|
+ label: "付款类型",
|
|
|
prop: "payType",
|
|
|
- data: fundsPaymentMethod.value,
|
|
|
+ data: payMethod.value,
|
|
|
itemWidth: 50,
|
|
|
},
|
|
|
{
|
|
@@ -325,7 +325,7 @@ const formConfig = computed(() => {
|
|
|
const rules = ref({
|
|
|
supplyId: [{ required: true, message: "请选择供应商", trigger: "change" }],
|
|
|
invoiceType: [{ required: true, message: "请选择发票类型", trigger: "change" }],
|
|
|
- payType: [{ required: true, message: "请选择付款方式", trigger: "change" }],
|
|
|
+ payType: [{ required: true, message: "请选择付款类型", trigger: "change" }],
|
|
|
// accountManagementId: [{ required: true, message: "请选择付款账户", trigger: "change" }],
|
|
|
purchaseId: [{ required: true, message: "请选择采购合同", trigger: "change" }],
|
|
|
money: [{ required: true, message: "请输入付款金额", trigger: "blur" }],
|
|
@@ -358,12 +358,12 @@ const getDict = () => {
|
|
|
.post("/dictTenantData/page", {
|
|
|
pageNum: 1,
|
|
|
pageSize: 999,
|
|
|
- dictCode: "funds_payment_method",
|
|
|
+ dictCode: "pay_method",
|
|
|
tenantId: useUserStore().user.tenantId,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
if (res.rows && res.rows.length > 0) {
|
|
|
- fundsPaymentMethod.value = res.rows.map((item) => {
|
|
|
+ payMethod.value = res.rows.map((item) => {
|
|
|
return {
|
|
|
label: item.dictValue,
|
|
|
value: item.dictKey,
|