Commit 70460e48 by Joey

feat(@gms/gms-plugin-billexpand): 凭证中心接口判断billDefine是否拼bill.

parent 266a87e0
......@@ -72,9 +72,10 @@ export default {
        })
},
searchBillObj(billDefine, billId, index) {
!billDefine.startsWith('bill.') && (billDefine = 'bill.' + billDefine)
return new Promise((resolve, reject) => {
GMS.$http.get(
`/gms/bill/bill.${billDefine}/${billId}?withSubs=true`
`/gms/bill/${billDefine}/${billId}?withSubs=true`
).then((data) => {
if (data.status == 200 && data.data.code == 0) {
let obj = data.data.content
......
......@@ -72,9 +72,10 @@ export default {
        })
},
searchBillObj(billDefine, billId ,index) {
!billDefine.startsWith('bill.') && (billDefine = 'bill.' + billDefine)
return new Promise((resolve, reject) => {
GMS.$http.get(
`/gms/bill/bill.${billDefine}/${billId}?withSubs=true`
`/gms/bill/${billDefine}/${billId}?withSubs=true`
).then((data) => {
if (data.status == 200 && data.data.code == 0) {
let obj = data.data.content
......
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