Browse Source

1.订单使用返利金额,订单抵扣余款金额改为必填
2.上游单据ID、创建人、更新人不展示
3.新增合同编号字段

002390 1 year ago
parent
commit
92e9d8c62e
1 changed files with 26 additions and 16 deletions
  1. 26 16
      src/views/purchase/purchase-order/add/column.js

+ 26 - 16
src/views/purchase/purchase-order/add/column.js

@@ -238,6 +238,7 @@ export const Columns = [
     controlsPosition: "right",
     precision:2,
     isShow:true, 
+    require: true,
   },
   { 
     key: "deductionMoney", 
@@ -246,6 +247,7 @@ export const Columns = [
     controlsPosition: "right",
     precision:2,
     isShow:true, 
+    require: true,
   },
   { 
     key: "goodsWarehouseName",
@@ -523,6 +525,14 @@ export const TabColumns = [
         disabled:true,
         require:false,
       },
+      { 
+        key: "contractNo",
+        title:"合同编号",
+        inputType: "Input", 
+        width: 180,
+        disabled:true,
+        require:false,
+      },
       // { key: "orderId", title: "采购订单ID", inputType: "Input", width: 180 },
       // {key: "material",title: "物料",inputType: "Input",   },
       {
@@ -848,8 +858,8 @@ export const TabColumns = [
        },
       { key: "exchangeRate", title: "折本汇率", inputType: "Input", },
       { key: "source", title: "上游单据号", inputType: "Input", width: 180 },
-      { key: "sourceId", title: "上游单据ID", inputType: "Input", width: 180 },
-      { key: "demandCode", title: "采购需求单号", inputType: "Input", width: 180 },
+      // { key: "sourceId", title: "上游单据ID", inputType: "Input", width: 180 },
+      // { key: "demandCode", title: "采购需求单号", inputType: "Input", width: 180 },
       { key: "arrivalDatePlan", title: "计划到货日期", inputType: "Input", width: 180 },
      
       { key: "isDistributionPrice", title: "配送价", inputType: "Checkbox", },
@@ -886,8 +896,8 @@ export const TabColumns = [
         disabled:true,
         readonly:true,
       },
-      { key: "createByName", title: "创建人", inputType: "Input", },
-      { key: "updateByName", title: "更新人", inputType: "Input", },
+      // { key: "createByName", title: "创建人", inputType: "Input", },
+      // { key: "updateByName", title: "更新人", inputType: "Input", },
       
     ]
   },
@@ -994,18 +1004,18 @@ export const TabColumns = [
         controlsPosition: "right",
         width: 180, 
       },
-      { 
-        key: "createByName", 
-        title: "创建人名称", 
-        inputType: "Input", 
-        width: 120 
-      },
-      { 
-        key: "updateByName", 
-        title: "更新人名称", 
-        inputType: "Input", 
-        width: 120 
-      },
+      // { 
+      //   key: "createByName", 
+      //   title: "创建人", 
+      //   inputType: "Input", 
+      //   width: 120 
+      // },
+      // { 
+      //   key: "updateByName", 
+      //   title: "更新人", 
+      //   inputType: "Input", 
+      //   width: 120 
+      // },
     ]
   },
 ];