Commit 5e3c5b96 by lsk

到单表格调整

parent a1699ee2
......@@ -168,7 +168,7 @@
<c-button
style="margin-left: 0"
size="small"
@click="removeRow(scope.$index, scope.row)"
@click="removeRow(scope.$index)"
>
删除
</c-button>
......@@ -203,7 +203,7 @@
</c-col>
<!-- <c-col :span="24"> -->
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="addRow">添加</el-button>
<el-button type="primary" @click="addRow">确定</el-button>
<el-button @click="addDialogVisible = false">取消</el-button>
</span>
<!-- </c-col> -->
......@@ -229,11 +229,20 @@ export default {
cmail2: "",
docnam: "",
},
liData:["增值税发票11","增值税发票222","增值税发票33","增值税发票44","增值税发票55"],
liData:["增值税发票","发票","装箱单","空运单","海运提单","铁路运单","货物收据","邮政收据","出库单","保险单","质检证","受益人证明"],
};
},
methods: {
...Event,
addRow(){
this.addDialogVisible=false;
let newRow = {...this.dialog};
this.model.bdtp.docgrdm.docgrd.push(newRow);
},
removeRow(idx){
this.model.bdtp.docgrdm.docgrd.pop(idx);
}
},
created: function () {},
};
......@@ -242,6 +251,4 @@ export default {
.el-checkbox >>> .el-checkbox__label {
width: 70px;
}
.inputDiv {
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment