diff --git a/src/pages/package/record/overPackageRecord.vue b/src/pages/package/record/overPackageRecord.vue index 42ce7591..6ca28151 100644 --- a/src/pages/package/record/overPackageRecord.vue +++ b/src/pages/package/record/overPackageRecord.vue @@ -342,8 +342,9 @@ overPackageRecordSubmit(params).then(res => { uni.hideLoading() if (res.data) { - let list = []; - res.data.forEach(item => { + let list = [] + let item = res.data; + // res.data.forEach(item => { list.push({ itemCode:item.itemCode, // 物品代码 itemName: item.itemName, // 物品名称 @@ -359,8 +360,8 @@ barcodeString: item.barcodeString, // 标签信息 barcodeBase64: '', }) - }) - this.showCommitSuccessMessage("提交成功
生成翻包记录
" + list) + // }) + this.showCommitSuccessMessage("提交成功
生成翻包记录
", list) } else { this.showErrorMessage("提交失败[" + res.msg + "]") }