瀏覽代碼

物料管理列表展示修改。

jxq 1 周之前
父節點
當前提交
e33653b998
共有 1 個文件被更改,包括 25 次插入7 次删除
  1. 25 7
      src/views/base/materials/index.vue

+ 25 - 7
src/views/base/materials/index.vue

@@ -25,7 +25,7 @@
           @click="multipleDelete"
           >删除</el-button
         >
-<!--        <el-button
+        <!--        <el-button
           :disabled="toDeleteIds.length < 1"
           type="refresh"
           icon="el-icon-refresh"
@@ -194,7 +194,7 @@ option.value = Object.assign(option.value, {
     {
       label: "物料编码",
       prop: "materialCode",
-      width: 130,
+      width: 150,
       overHidden: true,
       search: true,
       editDisabled: true,
@@ -209,7 +209,6 @@ option.value = Object.assign(option.value, {
     {
       label: "物料名称",
       prop: "materialName",
-      width: 140,
       overHidden: true,
       search: true,
       rules: [
@@ -224,9 +223,10 @@ option.value = Object.assign(option.value, {
       label: "物料属性",
       prop: "attributeDictValue",
       search: true,
+      hide: true,
       filterable: true,
       type: "select",
-      width: 100,
+
       overHidden: true,
       dicData: dicts.material_properties,
       props: { label: "dictLabel", value: "dictValue" },
@@ -241,7 +241,7 @@ option.value = Object.assign(option.value, {
     {
       label: "物料规格",
       prop: "spec",
-      width: 100,
+
       overHidden: true,
       rules: [
         {
@@ -255,6 +255,7 @@ option.value = Object.assign(option.value, {
       label: "单位",
       prop: "unitDictValue",
       filterable: true,
+      width: 60,
       type: "select",
       dicData: dicts.danwei_type,
       props: { label: "dictLabel", value: "dictValue" },
@@ -271,6 +272,7 @@ option.value = Object.assign(option.value, {
       prop: "levelDictValue",
       search: true,
       filterable: true,
+      hide: true,
       type: "select",
       width: 100,
       overHidden: true,
@@ -288,6 +290,7 @@ option.value = Object.assign(option.value, {
       label: "生产厂家",
       prop: "manufacturer",
       width: 100,
+      hide: true,
       overHidden: true,
       rules: [
         {
@@ -304,6 +307,7 @@ option.value = Object.assign(option.value, {
       filterable: true,
       type: "select",
       width: 100,
+      hide: true,
       overHidden: true,
       dicData: dicts.quality_testing_plan,
       props: { label: "dictLabel", value: "dictValue" },
@@ -314,6 +318,7 @@ option.value = Object.assign(option.value, {
       search: true,
       filterable: true,
       type: "select",
+      hide: true,
       width: 100,
       overHidden: true,
       dicData: dicts.applicable_platforms,
@@ -331,6 +336,7 @@ option.value = Object.assign(option.value, {
       prop: "qualityLevelDictValue",
       search: true,
       width: 100,
+      hide: true,
       overHidden: true,
       filterable: true,
       type: "select",
@@ -348,6 +354,7 @@ option.value = Object.assign(option.value, {
       label: "选用类型",
       prop: "selectionDictValue",
       search: true,
+      hide: true,
       filterable: true,
       width: 100,
       overHidden: true,
@@ -359,6 +366,7 @@ option.value = Object.assign(option.value, {
       label: "产品阶段",
       prop: "stageDictValue",
       search: true,
+      hide: true,
       filterable: true,
       width: 100,
       overHidden: true,
@@ -366,11 +374,18 @@ option.value = Object.assign(option.value, {
       dicData: dicts.stage,
       props: { label: "dictLabel", value: "dictValue" },
     },
-    { label: "客户型号", prop: "customerModel", width: 100, overHidden: true },
+    {
+      label: "客户型号",
+      hide: true,
+      prop: "customerModel",
+      width: 100,
+      overHidden: true,
+    },
     {
       label: "保质期(天)",
       prop: "qualityGuaranteePeriod",
       width: 100,
+      hide: true,
       overHidden: true,
       type: "number",
       min: 0,
@@ -380,6 +395,7 @@ option.value = Object.assign(option.value, {
       prop: "packageDictValue",
       search: true,
       width: 100,
+      hide: true,
       overHidden: true,
       filterable: true,
       type: "select",
@@ -391,6 +407,7 @@ option.value = Object.assign(option.value, {
       label: "是否工装",
       prop: "frock",
       search: true,
+      hide: true,
       width: 90,
       overHidden: true,
       filterable: true,
@@ -416,6 +433,7 @@ option.value = Object.assign(option.value, {
     },
     {
       label: "筛选规范",
+      hide: true,
       prop: "selectionSpec",
       width: 150,
       overHidden: true,
@@ -426,7 +444,7 @@ option.value = Object.assign(option.value, {
     {
       label: "备注",
       prop: "remark",
-      width: 150,
+      hide: true,
       overHidden: true,
       type: "textarea",
       span: 18,