Commit 496df23e by qiaoyanqi

凭证中心

parent dd5c5194
......@@ -55,7 +55,7 @@ export default {
generateVoucher(list,context){
axios({
          method: 'POST',
          url:GMS.url+'/mechanismVchr/singleCreateVchr',//单张生成接口
          url:'/mechanismVchr/singleCreateVchr',//单张生成接口
          headers: {
              Authorization:GMS.token,
          },
......@@ -81,7 +81,7 @@ export default {
searchBillObj(billDefine, billId, index) {
return new Promise((resolve, reject) => {
GMS.$http.get(
`/gms/bill/${billDefine}/${billId}?withSubs=true`
`/gms/bill/bill.${billDefine}/${billId}?withSubs=true`
).then((data) => {
if (data.status == 200 && data.data.code == 0) {
let obj = data.data.content
......
......@@ -55,7 +55,7 @@ export default {
generateVoucher(list,context){
axios({
          method: 'POST',
url:GMS.url+'/mechanismVchr/combineCreateVchr',//汇总生成
url:'/mechanismVchr/combineCreateVchr',//汇总生成
          headers: {
              Authorization:GMS.token,
          },
......@@ -81,7 +81,7 @@ export default {
searchBillObj(billDefine, billId ,index) {
return new Promise((resolve, reject) => {
GMS.$http.get(
`/gms/bill/${billDefine}/${billId}?withSubs=true`
`/gms/bill/bill.${billDefine}/${billId}?withSubs=true`
).then((data) => {
if (data.status == 200 && data.data.code == 0) {
let obj = data.data.content
......
......@@ -27,7 +27,7 @@ export default {
deleteVchrAsync(list,context){
axios({
          method: 'POST',
          url:GMS.url+'/mechanismVchr/deleteVchr',//撤销凭证
          url:'/mechanismVchr/deleteVchr',//撤销凭证
          headers: {
              Authorization:GMS.token,
          },
......
......@@ -33,7 +33,7 @@ export default {
showVchrAsync(obj,context){
axios({
          method: 'POST',
          url:GMS.url+'/mechanismVchr/showVchr',//查看凭证
          url:'/mechanismVchr/showVchr',//查看凭证
          headers: {
              Authorization:GMS.token,
          },
......
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