import { checkPhone } from "@/utils/myValidate" export const contractNatures = ['普通合同', '框架合同', '补充协议', '其它合同'] // firstParty: '', // contractName: '', // contractNature: this.$route.query.checkedContractNature, // contarctRemarks: ' ', // contractStartTime: '', // contractFirstParty: '', // contractMoney: "0", // contractNumber: '', // contractPaetyb: '', // contractEndTime: '', // signingTime: '', // partybName: '', // taxPoint: '', // tax: '0', // typeId: '', // safekeeping: '', // firstPartyAddress: '', // preparedBy: '', // contractParent: '' export const addFormValidRules = { firstPartyPhone: [ { required: true, validator: checkPhone, trigger: ['blur', 'change'] }, ], }