瀏覽代碼

采购订单维护-列表、详情增加交货日期字段

002390 1 年之前
父節點
當前提交
71dbfda4ef

+ 18 - 0
src/views/purchase/purchase-order/add/column.js

@@ -594,6 +594,15 @@ const PurchaseTabColumns = [
         inputType: "Checkbox",
       },
       {
+        key: "deliveryDate",
+        title: "交货日期",
+        inputType: "DatePicker",
+        type: 'date',
+        disabled: true,
+        isShow: true,
+        width: 180,
+      },
+      {
         key: "floatQty",
         title: "未到货数量",
         inputType: "InputNumber",
@@ -1396,6 +1405,15 @@ const CauseTabColumns = [
         isSummary: true,
       },
       {
+        key: "deliveryDate",
+        title: "交货日期",
+        inputType: "DatePicker",
+        type: 'date',
+        disabled: true,
+        isShow: true,
+        width: 180,
+      },
+      {
         key: "goodsWarehouseName",
         title: "收货仓库",
         inputType: "Input",

+ 1 - 0
src/views/purchase/purchase-order/add/index.vue

@@ -264,6 +264,7 @@ export default {
                 v.goodsAllocation = "";
                 v.goodsAllocationName = "";
                 v.sourceBillDate = "";
+                v.deliveryDate = "";
                 v["isInvoice"] && (v["isInvoice"] = "N");
                 v["isStorage"] && (v["isStorage"] = "N");
                 v["isArrival"] && (v["isArrival"] = "N");

+ 8 - 0
src/views/purchase/purchase-order/column.js

@@ -1002,6 +1002,10 @@ const PurTabColumns = [
         },
       },
       {
+        item: { key: "deliveryDate", title: "交货日期", width: 150, },
+        attr: {},
+      },
+      {
         item: { key: "unarrivedQty", title: "未到货数量", width: 80, },
         attr: {
           isSummary: true,
@@ -1637,6 +1641,10 @@ const CommonTabColumns = [
         },
       },
       {
+        item: { key: "deliveryDate", title: "交货日期", width: 150, },
+        attr: {},
+      },
+      {
         item: { key: "materialClassifyOneName", title: "物料一级分类", width: 100, },
         attr: {
           isHidden: true,