diff --git a/src/views/accounting/bankSlip/index.vue b/src/views/accounting/bankSlip/index.vue
index 20fe25b2..6c72f3be 100644
--- a/src/views/accounting/bankSlip/index.vue
+++ b/src/views/accounting/bankSlip/index.vue
@@ -125,6 +125,17 @@
>新增
+
+ 删除
+
@@ -703,6 +714,8 @@ export default {
loading: true,
// 多个禁用
multiple: true,
+ // 非多个禁用
+ multiple1: true,
// 导出遮罩层
exportLoading: false,
// 显示搜索条件
@@ -771,6 +784,9 @@ export default {
// 表单校验
rules: {
staffName: [{ required: true, message: "请选择", trigger: "blur" }],
+ tradTime: [
+ { required: true, message: "请选择交易日期", trigger: "blur" },
+ ],
},
fileList: [], // 文件列表
uploadUrl:
@@ -1058,7 +1074,7 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
- const id = row.id;
+ const id = row.id || this.ids;
this.$modal
.confirm('是否确认删除银行回单编号为"' + id + '"的数据项?')
.then(function () {
@@ -1098,6 +1114,7 @@ export default {
} else {
this.multiple = true;
}
+ this.multiple1 = !selection.length;
},
//关联凭证
handleGLPZ() {