Commit 75e26eff by 袁成

Merge branch 'develop' of ssh://nvwa.jiuqi.com.cn:2222/GFP/RBC/rbc-frontend into develop-yuancheng

parents 99d9841d 9b256d63
......@@ -52,9 +52,7 @@ export default {
})
},
generateVoucher(list,context){
GMS.$http.post('/mechanismVchr/singleCreateVchr',{
data:list
    }).then(res => {
GMS.$http.post('/mechanismVchr/singleCreateVchr',list).then(res => {
           if (res.status === 200) {
if(res.data.data.showVoucher){//展示凭证
GMS.vbus.$emit('previewVoucher',res.data.data);
......
......@@ -52,9 +52,7 @@ export default {
})
},
generateVoucher(list,context){
GMS.$http.post('/mechanismVchr/combineCreateVchr',{
data:list
    }).then(res => {
GMS.$http.post('/mechanismVchr/allCreateVchr',list).then(res => {
          if (res.status === 200) {
if(res.data.data.showVoucher){//展示凭证
GMS.vbus.$emit('previewVoucher',res.data.data);
......
......@@ -24,9 +24,7 @@ export default {
that.deleteVchrAsync(arr,context);
},
deleteVchrAsync(list,context){
GMS.$http.post('/mechanismVchr/deleteVchr',{
data:list
    }).then(res => {
GMS.$http.post('/mechanismVchr/deleteVchr',list).then(res => {
        if (res.status === 200) {
if(res.data.data.showVoucher){//展示凭证
GMS.vbus.$emit('previewVoucher',res.data.data);
......
......@@ -30,9 +30,7 @@ export default {
that.showVchrAsync(obj,context);
},
showVchrAsync(obj,context){
GMS.$http.post('/mechanismVchr/showVchr',{
data:obj
    }).then(res => {
GMS.$http.post('/mechanismVchr/showVchr',obj).then(res => {
        if (res.status === 200) {
if(res.data.data.showVoucher){//展示凭证
let resObj = res.data.data;
......
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