|
|
@@ -1126,7 +1126,7 @@
|
|
|
import { tableHeader } from '../common';
|
|
|
import { getCode } from '@/api/codeManagement/index.js';
|
|
|
import { number } from 'echarts/core';
|
|
|
- import { purchaseorderGetById, contactlink } from '@/api/mes';
|
|
|
+ import { purchaseorderGetById, contactlink, oneId } from '@/api/mes';
|
|
|
export default {
|
|
|
components: {
|
|
|
selectUpload,
|
|
|
@@ -1342,8 +1342,9 @@
|
|
|
this.formData.extInfo.supplierName = row.partbName;
|
|
|
this.formData.extInfo.supplierId = row.partbId;
|
|
|
await this.searchContact(row.partbId);
|
|
|
- const data = await purchaseorderGetById(row.id);
|
|
|
+ const data = await oneId(row.id);
|
|
|
if (this.warehousingMaterialList.length == 0) {
|
|
|
+ console.log('data===', data);
|
|
|
let list = data.data.productList.map((item) => {
|
|
|
return {
|
|
|
...item,
|