瀏覽代碼

流程里设备出库添加时,获取设备列表的接口请求中增加入参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) =>