|
@@ -743,6 +743,7 @@ export default {
|
|
|
pid: this.form.id,
|
|
|
dc: type,
|
|
|
accStatus: 0,
|
|
|
+ auditStatus:'0',
|
|
|
businessType: this.form.businessType,
|
|
|
billNo: this.form.businessNo,
|
|
|
billDate: this.form.businessDate,
|
|
@@ -754,6 +755,7 @@ export default {
|
|
|
pid: this.form.id,
|
|
|
dc: type,
|
|
|
accStatus: 0,
|
|
|
+ auditStatus:'0',
|
|
|
businessType: this.form.businessType,
|
|
|
billNo: this.form.businessNo,
|
|
|
billDate: this.form.businessDate,
|
|
@@ -774,6 +776,7 @@ export default {
|
|
|
pid: this.form.id,
|
|
|
dc: type,
|
|
|
accStatus: 0,
|
|
|
+ auditStatus:'0',
|
|
|
businessType: this.form.businessType,
|
|
|
billNo: this.form.businessNo,
|
|
|
billDate: this.form.businessDate,
|
|
@@ -785,6 +788,7 @@ export default {
|
|
|
pid: this.form.id,
|
|
|
dc: type,
|
|
|
accStatus: 0,
|
|
|
+ auditStatus:'0',
|
|
|
businessType: this.form.businessType,
|
|
|
billNo: this.form.businessNo,
|
|
|
billDate: this.form.businessDate,
|
|
@@ -942,12 +946,21 @@ export default {
|
|
|
if (name == '一键编辑') {
|
|
|
if (type == 'D') {
|
|
|
this.form.feeCenterListD.forEach(e => {
|
|
|
- this.$set(e, '$cellEdit', true)
|
|
|
+ if (e.accStatus == 0) {
|
|
|
+ if(e.auditStatus=='0'){
|
|
|
+ this.$set(e, '$cellEdit', true)
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
if (type == 'C') {
|
|
|
this.form.feeCenterListC.forEach(e => {
|
|
|
- this.$set(e, '$cellEdit', true)
|
|
|
+ if (e.accStatus == 0) {
|
|
|
+ if(e.auditStatus=='0'){
|
|
|
+ this.$set(e, '$cellEdit', true)
|
|
|
+ }
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
}
|
|
@@ -956,9 +969,11 @@ export default {
|
|
|
let arr = []
|
|
|
for (let index in this.selectionDList) {
|
|
|
if (this.selectionDList[index].accStatus == 1) return this.$message.error("第" + (Number(this.selectionDList[index].$index) + 1) + "行不允许删除");
|
|
|
+ if (this.selectionDList[index].auditStatus != '0') return this.$message.error("第" + (Number(this.selectionDList[index].$index) + 1) + "行不允许删除");
|
|
|
}
|
|
|
for (let index in this.selectionCList) {
|
|
|
if (this.selectionCList[index].accStatus == 1) return this.$message.error("第" + (Number(this.selectionCList[index].$index) + 1) + "行不允许删除");
|
|
|
+ if (this.selectionCList[index].auditStatus != '0') return this.$message.error("第" + (Number(this.selectionCList[index].$index) + 1) + "行不允许删除");
|
|
|
}
|
|
|
if (type == 'D') {
|
|
|
this.$confirm("确定将选择数据删除?", {
|