Commit b2bc6f6f by qiaoyanqi

单据里面的删除接口也改变

parent 31a2d696
......@@ -15,8 +15,9 @@ export default {
data: bill.getBuillData()
};
let id = bill.getMasterData().getValue('id');
let url = `/rbc/bill/action/executed/${bill.getBillDefine()}/bill.Basic.delete?currentDataId=${id}`;
GMS.$http.post(url,JSON.stringify(postData)).then((data) => {
let url = `/rbc/bill/action/deleted/${bill.getBillDefine()}/${id} `
//let url = `/rbc/bill/action/executed/${bill.getBillDefine()}/bill.Basic.delete?currentDataId=${id}`;
GMS.$http.post(url).then((data) => {
if (data.status == 200 && data.data.code == 0) {
GMS.$hideContainer.$Modal.remove();
GMS.$hideContainer.$Message.success('删除成功');
......
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