Преглед на файлове

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

刘洋 преди 1 година
родител
ревизия
4bc06705c2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/sop/components/dynamic-form-item/device-table/edit-column-dialog.vue

+ 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) =>