Browse Source

修改厂家系统认款分页列表点击通过时调用接口传递的参数方式

master
yunuo970428 3 years ago
parent
commit
ea8c5e78d7
  1. 4
      anrui-scm/anrui-scm-ui/src/api/supplychain/manufacturers.js
  2. 2
      anrui-scm/anrui-scm-ui/src/views/supplychain/changjiaxitong/manufacturers.vue

4
anrui-scm/anrui-scm-ui/src/api/supplychain/manufacturers.js

@ -10,9 +10,9 @@ export default {
headers: { 'Content-Type': 'application/json' } headers: { 'Content-Type': 'application/json' }
}) })
}, },
adopt: function(data, sid, remarks) { adopt: function(data) {
return request({ return request({
url: '/base/v1/basemanufactorsubscription/adopt/' + sid + '/' + remarks, url: '/base/v1/basemanufactorsubscription/adopt',
method: 'post', method: 'post',
data: data, data: data,
headers: { 'Content-Type': 'application/json' } headers: { 'Content-Type': 'application/json' }

2
anrui-scm/anrui-scm-ui/src/views/supplychain/changjiaxitong/manufacturers.vue

@ -267,7 +267,7 @@ export default {
this.init() this.init()
}, },
handPass(row) { handPass(row) {
req.adopt({ sid: row.sid, remarks: row.remarks }, row.sid, row.remarks).then((res) => { req.adopt({ sid: row.sid, remarks: row.remarks, userSid: window.sessionStorage.getItem('userSid') }).then((res) => {
if (res.success) { if (res.success) {
this.init() this.init()
this.$message({ showClose: true, type: 'success', message: '操作成功' }) this.$message({ showClose: true, type: 'success', message: '操作成功' })

Loading…
Cancel
Save