|
@@ -339,7 +339,12 @@ export class UserData {
|
|
|
// 获取待验货物列表
|
|
|
async getStorePendingList(form): Promise<any> {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
- this.api.request('get',`${environment.APP_SERVE_URL}/inventory/qc/mobile/Pending`,form,{}).then((data)=>{
|
|
|
+ let back_url = ''
|
|
|
+ for(let i in form) {
|
|
|
+ back_url += `&${i}=${form[i]}`
|
|
|
+ }
|
|
|
+ back_url = back_url.substring(1,back_url.length)
|
|
|
+ this.api.request('get',`${environment.APP_SERVE_URL}/inventory/qc/mobile/Pending?${back_url}`,{},{}).then((data)=>{
|
|
|
resolve(data['data'].records)
|
|
|
}).catch(e => {console.log(e)})
|
|
|
});
|
|
@@ -385,7 +390,7 @@ export class UserData {
|
|
|
// 获取QC验货初检报告列表
|
|
|
async getQCList(form): Promise<any> {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
- this.api.request('get',`${environment.APP_SERVE_URL}/inventory/qc/mobile`,form,{}).then((data)=>{
|
|
|
+ this.api.request('get',`${environment.APP_SERVE_URL}/inventory/qc/mobile?current=${form.current}&size=${form.size}&scpCode=${form.scpCode}&sscCode=${form.sscCode}&scpCustomercode=${form.scpCustomercode}&poCode=${form.poCode}`,{},{}).then((data)=>{
|
|
|
resolve(data)
|
|
|
}).catch(e => {console.log(e)})
|
|
|
});
|