Selaa lähdekoodia

采购订单生成-新增紧急程度和补单标识

002390 1 vuosi sitten
vanhempi
commit
4024ecfdd3
2 muutettua tiedostoa jossa 28 lisäystä ja 14 poistoa
  1. 1 1
      src/components/super-ux-table/index.vue
  2. 27 13
      src/views/purchase/task/columns.js

+ 1 - 1
src/components/super-ux-table/index.vue

@@ -400,7 +400,7 @@ export default {
       <ux-table-column
         v-if="checkbox"
         fixed="left"
-        width="60"
+        width="50"
         align="center"
         type="checkbox"
         resizable

+ 27 - 13
src/views/purchase/task/columns.js

@@ -9,11 +9,11 @@ export default function useColumns() {
       },
     },
     {
-      item: { key: "existPrice", title: "是否有价格",width :100 },
+      item: { key: "existPrice", title: "是否有价格",width :90 },
       attr: { is: "el-dict-tag", dictName: "sys_true_false" },
     },
     {
-      item: { key: "materialCode", title: "物料编码",width :150 },
+      item: { key: "materialCode", title: "物料编码",width :120 },
       attr: {},
     },
     { item: { key: "materialName", title: "物料名称",width :150 }, attr: {} },
@@ -22,43 +22,57 @@ export default function useColumns() {
       item: { key: "manufacturerName", title: "生产厂家" ,width :100},
       attr: {},
     },
-    { item: { key: "unitName", title: "单位" ,width :100}, attr: {} },
-    { item: { key: "puQty", title: "采购数量",width :100 }, 
+    { item: { key: "unitName", title: "单位" ,width :60}, attr: {} },
+    { item: { key: "puQty", title: "采购数量",width :80 }, 
       attr: {
         isSummary:true,
       } 
     },
     {
-      item: { key: "executeQty", title: "已执行数量" ,width :100},
+      item: { key: "executeQty", title: "已执行数量" ,width :90},
       attr: {
         isSummary:true,
       },
     },
     {
-      item: { key: "residueQty", title: "未执行数量",width :100 },
+      item: { key: "residueQty", title: "未执行数量",width :90 },
       attr: {
         isSummary:true,
       },
     },
     {
-      item: { key: "closeQty", title: "关闭数量",width :100 },
+      item: { key: "closeQty", title: "关闭数量",width :80 },
       attr: {
         isSummary:true,
       },
     },
-    { item: { key: "buyerName", title: "采购员",width :100 }, attr: {} },
+    { item: { key: "buyerName", title: "采购员",width :80 }, attr: {} },
     {
       item: { key: "customerName", title: "收货客户",width :100 },
       attr: {},
     },
     { item: { key: "demandCode", title: "需求单号",width :150 }, attr: {} },
+    { item: { key: "isUrgency", title: "紧急程度",width :75 },
+      attr: { 
+        clearable: true,
+        is: "el-dict-tag", 
+        dictName: "urgency_degree" 
+      },
+    },
+    { item: { key: "isReplenishment", title: "补单标识",width :75 }, 
+      attr: { 
+        clearable: true,
+        is: "el-dict-tag", 
+        dictName: "sys_yes_no" 
+      },
+    },
     {
       item: { key: "assignSupplierName", title: "指定供应商" ,width :100},
       attr: {},
     },
     { item: { key: "code", title: "订单生成单号",width :160 }, attr: {} },
     { 
-      item: { key: "createTime", title: "创建时间",width :160 }, 
+      item: { key: "createTime", title: "创建时间",width:135 ,}, 
       attr: {} 
     },
     // {
@@ -71,8 +85,8 @@ export default function useColumns() {
     },
     { item: { key: "demandDate", title: "需求时间",width :100 }, attr: {} },
     {
-      item: { key: "isBack", title: "是否退回",width :100 },
-      attr: { is: "el-dict-tag", dictName: "sys_yes_no" ,width :100},
+      item: { key: "isBack", title: "是否退回",width :75 },
+      attr: { is: "el-dict-tag", dictName: "sys_yes_no" },
     },
     { item: { key: "baskCause", title: "退回原因" ,width :100}, attr: {} },
     { item: { key: "backDate", title: "退回日期",width :100 }, attr: {} },
@@ -92,7 +106,7 @@ export default function useColumns() {
       },
     },
     { 
-      item:{ key: "redeployDate", title: "转派时间" ,},
+      item:{ key: "redeployDate", title: "转派时间" ,width:135 ,},
       attr:{
         isHidden:true,
       },
@@ -277,7 +291,7 @@ export default function useColumns() {
       attr: { 
         clearable: true,
         is: "el-select", 
-        dictName: "sys_yes_no" 
+        dictName: "urgency_degree" 
       },
     },
     {