Commit 213568de authored by 许珑标's avatar 许珑标

发薪批次管理;签约优化

parent 1f6561ba
...@@ -68,11 +68,15 @@ export function delLaborSign(id) { ...@@ -68,11 +68,15 @@ export function delLaborSign(id) {
}) })
} }
// 删除代发合约签订 // 同意代发合约
export function agreeSign(id) { export function agreeSign(id, taxRate) {
return request({ return request({
url: '/business/laborSign/agree/' + id, url: '/business/laborSign/agree',
method: 'post' method: 'post',
data: {
id: id,
defaultTaxRate: taxRate
}
}) })
} }
export function agreeSeal(data) { export function agreeSeal(data) {
......
...@@ -198,7 +198,9 @@ export default { ...@@ -198,7 +198,9 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
agreeSign(this.doAgreeData.id).then(resp => { // TODO 这里换成用户输入的费率
const taxRate = '';
agreeSign(this.doAgreeData.id, taxRate).then(resp => {
if (200 === resp.code) { if (200 === resp.code) {
this.$modal.msgSuccess("操作成功") this.$modal.msgSuccess("操作成功")
this.doAgreePanelVisible = false this.doAgreePanelVisible = false
......
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