日期必填

main
mo 1 year ago
parent 97ac3cfe41
commit 1fc993b7f2

@ -125,6 +125,17 @@
>新增</el-button
>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple1"
@click="handleDelete"
>删除</el-button
>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
@ -337,7 +348,7 @@
v-model="form.tradTime"
type="date"
value-format="timestamp"
placeholder="选择交易日期"
placeholder="手动填写"
/>
</el-form-item>
</el-col>
@ -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() {

Loading…
Cancel
Save