Commit f2d6b308 by Joey

去掉保存

parent 73df73ee
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
} }
const fn = () => { const fn = () => {
saveBill(bill, param).then(() => { // saveBill(bill, param).then(() => {
GMS.$http.post( GMS.$http.post(
`/rbc/bill/action/zgh/change/work/${param.define}/bill.Basic.accept`, `/rbc/bill/action/zgh/change/work/${param.define}/bill.Basic.accept`,
{ {
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
GMS.$hideContainer.$Message.error('工作流配置错误,请联系管理员') GMS.$hideContainer.$Message.error('工作流配置错误,请联系管理员')
}.bind(this) }.bind(this)
); );
}) // })
} }
fn() fn()
......
...@@ -62,8 +62,8 @@ export default { ...@@ -62,8 +62,8 @@ export default {
? bill.getGlobalParam(BILL_GLOBAL_PARAM.APPROVAL_COMMENT).suggestions ? bill.getGlobalParam(BILL_GLOBAL_PARAM.APPROVAL_COMMENT).suggestions
: '' : ''
bill.clearSubDatas(SIGNATURE_TABLE_NAME) // bill.clearSubDatas(SIGNATURE_TABLE_NAME)
saveBill(bill, param).then(() => { // saveBill(bill, param).then(() => {
GMS.$http.post( GMS.$http.post(
`/rbc/bill/action/zgh/change/work/${param.define}/bill.Basic.reject`, `/rbc/bill/action/zgh/change/work/${param.define}/bill.Basic.reject`,
{ {
...@@ -96,14 +96,14 @@ export default { ...@@ -96,14 +96,14 @@ export default {
} }
}.bind(this) }.bind(this)
) )
.catch( .catch(
function (error) { function (error) {
bill.setControlsSate(param["_control_name_"], "loading", false) bill.setControlsSate(param["_control_name_"], "loading", false)
bill.setControlsSate(param["_control_name_"], "enable", true) bill.setControlsSate(param["_control_name_"], "enable", true)
GMS.$hideContainer.$Message.error('工作流配置错误,请联系管理员') GMS.$hideContainer.$Message.error('工作流配置错误,请联系管理员')
}.bind(this) }.bind(this)
); );
}) // })
} }
showCommentModal(bill, param, true).then(fn).catch((error) => { showCommentModal(bill, param, true).then(fn).catch((error) => {
......
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