|
|
|
@ -773,7 +773,7 @@ export default {
|
|
|
|
|
// 根据选中的 IDs 获取数据
|
|
|
|
|
const selectedIds = this.ids[0]; // 获取选中的 ID
|
|
|
|
|
let queryParams = {
|
|
|
|
|
produceCode: selectedIds // 根据选中的数据获取多个工单号,可以根据需要调整
|
|
|
|
|
ID: selectedIds // 根据选中的数据获取多个工单号,可以根据需要调整
|
|
|
|
|
};
|
|
|
|
|
listReturnDY(queryParams).then(response => {
|
|
|
|
|
this.showWorkorderCode = true;
|
|
|
|
@ -801,8 +801,7 @@ export default {
|
|
|
|
|
this.printData.produceCode = response.data.produceCode
|
|
|
|
|
this.refreshNewWorkerTable = true // 立即将refreshProTable设置为true,显示表格
|
|
|
|
|
this.newWorkerLoading = false // 设置加载状态为false,表示加载完成
|
|
|
|
|
|
|
|
|
|
this.generateBarcode(this.outorderList[0].produceCode); //条码 根据工单号生成
|
|
|
|
|
this.generateBarcode(response.data[0].produceCode); //条码 根据工单号生成
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
//产品编码格式化
|
|
|
|
|