Kaynağa Gözat

采购订单维护-事业发展部将物料名称参照改为物料编码

002390 1 yıl önce
ebeveyn
işleme
503dc0a1dd

+ 5 - 5
src/views/purchase/purchase-order/add/column.js

@@ -1174,12 +1174,12 @@ const CauseTabColumns =[
       },
 
       {
-        key: "materialName",
-        title: "物料",
+        key: "materialCode",
+        title: "物料编码",
         inputType: "PopoverSelect",
         width: 180,
         require: true,
-        valueKey: "id",
+        valueKey: "code",
         referName: "MATERIAL_PARAM",
         dataMapping: {
           material: "id",
@@ -1208,8 +1208,8 @@ const CauseTabColumns =[
         queryParams: () => ({}),
       },
       {
-        key: "materialCode",
-        title: "物料编码",
+        key: "materialName",
+        title: "物料名称",
         inputType: "Input",
         require: true,
         width: 180,