记账凭证-必填项校验

main
mo 1 year ago
parent ef42ba826b
commit 068bf7cabe

@ -204,11 +204,6 @@
/>
</el-form-item>
</el-col>
<!-- <el-col :span="8">
<el-form-item label="条目顺序号" prop="lineNum">
<el-input v-model="form.lineNum" placeholder="请输入条目顺序号" />
</el-form-item>
</el-col> -->
<el-col :span="8">
<el-form-item label="科目编码" prop="subjectCode">
<el-input
@ -227,6 +222,11 @@
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="条目顺序号" prop="lineNum">
<el-input v-model="form.lineNum" placeholder="请输入条目顺序号" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="辅助核算" prop="assistCheck">
<el-input
@ -252,8 +252,6 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="摘要" prop="digest">
<el-input
v-model="form.digest"
@ -262,8 +260,6 @@
placeholder="请输入摘要"
/>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm" v-if="optType != 'view'"
@ -346,6 +342,12 @@ export default {
voucherNum: [
{ required: true, message: "凭证号不能为空", trigger: "blur" },
],
subjectCode: [
{ required: true, message: "科目编码不能为空", trigger: "blur" },
],
subjectName: [
{ required: true, message: "科目名称不能为空", trigger: "blur" },
],
},
};
},

Loading…
Cancel
Save