发票添加作废日期框显示隐式切换

main
mo 1 year ago
parent 1fc993b7f2
commit 6a48086bc4

@ -100,6 +100,17 @@
>新增</el-button >新增</el-button
> >
</el-col> </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-col :span="1.5">
<el-button <el-button
type="warning" type="warning"
@ -593,7 +604,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8" v-if="form.invoiceState == 0">
<el-form-item label="作废日期" prop="printNum"> <el-form-item label="作废日期" prop="printNum">
<el-date-picker <el-date-picker
clearable clearable
@ -801,6 +812,8 @@ export default {
loading: true, loading: true,
// //
multiple: true, multiple: true,
//
multiple1: true,
// //
exportLoading: false, exportLoading: false,
downloadLoading: false, downloadLoading: false,
@ -1171,6 +1184,7 @@ export default {
} else { } else {
this.multiple = true; this.multiple = true;
} }
this.multiple1 = !selection.length;
}, },
/** 新增按钮操作 */ /** 新增按钮操作 */
handleAdd() { handleAdd() {
@ -1259,7 +1273,7 @@ export default {
}, },
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const id = row.id; const id = row.id || this.ids;
this.$modal this.$modal
.confirm('是否确认删除发票编号为"' + id + '"的数据项?') .confirm('是否确认删除发票编号为"' + id + '"的数据项?')
.then(function () { .then(function () {

Loading…
Cancel
Save