|
@@ -523,14 +523,18 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
let res = await listTableData(payLoad);
|
|
|
+ console.log(res.rows[0].resultMap.units,"打印数据")
|
|
|
+ console.log(res.rows[0].resultMap.specificationModel,"打印数据")
|
|
|
let labelRes = await getDictLabel(purchaseMaterielId);
|
|
|
if (res.code == 200 && labelRes.code == 200) {
|
|
|
let data = res.rows[0]?.resultMap;
|
|
|
printData.serialNumber = purchaseSerialNumber;
|
|
|
printData.materielId = purchaseMaterielId;
|
|
|
// printData.materielName = data?.materielName;//母粒名称
|
|
|
- printData.units = purchaseUnits;
|
|
|
- printData.specificationModel = purchaseSpecification;
|
|
|
+ // printData.units = purchaseUnits;
|
|
|
+ // printData.specificationModel = purchaseSpecification;
|
|
|
+ printData.units = res.rows[0].resultMap.units;
|
|
|
+ printData.specificationModel = res.rows[0].resultMap.specificationModel;
|
|
|
printData.quantity=purchaseQuantity
|
|
|
// printData.dictLabel = labelRes.msg;
|
|
|
}
|