Browse Source

流程里设备出库添加时,获取设备列表的接口请求中增加入参sopNo

刘洋 1 year ago
parent
commit
4bc06705c2

+ 1 - 1
src/views/sop/components/dynamic-form-item/device-table/edit-column-dialog.vue

@@ -162,7 +162,7 @@ const rules = {
 
 const getDeviceOptions = async () => {
   const func = props.isOutType ? deviceCanOut : deviceCanIn;
-  const res = await func();
+  const res = await func({ sopNo: props.sop.sopNo });
   deviceOptions.value = res
     .filter(
       (item) =>