diff --git a/src/api/plan/workorder.js b/src/api/plan/workorder.js index 298c59c..f3c2697 100644 --- a/src/api/plan/workorder.js +++ b/src/api/plan/workorder.js @@ -181,10 +181,7 @@ export function getProdLineList() { params: {} }); } -export function getIdCardList(workorderCode){ - const data={ - workorderCode - } +export function getIdCardList(data){ return request({ url:'/plan/pro/workorder/getIdCardList', method:'post', diff --git a/src/views/plan/workorder/printID.vue b/src/views/plan/workorder/printID.vue index cd0f695..4f83b05 100644 --- a/src/views/plan/workorder/printID.vue +++ b/src/views/plan/workorder/printID.vue @@ -1,6 +1,15 @@