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

发薪批次管理;签约优化

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