Просмотр исходного кода

产品管理-bom 工序配置修改

longfenglin 1 год назад
Родитель
Сommit
da6b5b94ac

+ 35 - 3
src/views/material/BOMmanage/components/workingProcedure.vue

@@ -1,7 +1,36 @@
 <template>
-  <el-dialog :title="title" :visible.sync="visible" :before-close="handleClose" :close-on-click-modal="false"
-    :close-on-press-escape="false" append-to-body width="85%">
+    <ele-modal custom-class="ele-dialog-form long-dialog-form"
+             :centered="true" :visible.sync="visible" :title="title"
+             append-to-body
+             :close-on-click-modal="false" width="85%" :maxable="true">
+
     <el-card shadow="never">
+      <header-title title="物品信息"></header-title>
+      <el-form label-width="100px" ref="form" :model="rowData" class="item-height">
+        <el-row>
+          <el-col :span="6" label-width="100px">
+            <el-form-item label="名称" prop="name">
+              <el-input disabled placeholder="物品名称" v-model="treeData.name"></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6" label-width="100px">
+            <el-form-item label="编码" prop="code">
+              <el-input disabled placeholder="物品编码" v-model="treeData.code"></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6" label-width="100px">
+            <el-form-item label="型号" prop="modelType">
+              <el-input disabled placeholder="物品型号" v-model="treeData.modelType"></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6" label-width="100px">
+            <el-form-item label="规格" prop="specification">
+              <el-input disabled placeholder="物品规格" v-model="treeData.specification"></el-input>
+            </el-form-item>
+          </el-col>
+        </el-row>
+      </el-form>
+      
       <header-title title="工序信息"></header-title>
       <el-form label-width="100px" ref="form" :model="rowData">
         <el-row>
@@ -434,7 +463,7 @@
         }}</el-button>
       <el-button size="small" @click="handleClose">关闭</el-button>
     </div>
-  </el-dialog>
+   </ele-modal>
 </template>
 
 <script>
@@ -1456,4 +1485,7 @@ export default {
     }
   }
 }
+.item-height{
+  margin-bottom: 20px;
+}
 </style>

+ 1 - 1
src/views/material/BOMmanage/details.vue

@@ -141,7 +141,7 @@
               @tab-click="handleClick"
             >
               <el-tab-pane label="属性" name="属性">
-                <attribute :attributeData="currentNodeData"attribute></attribute>
+                <attribute :attributeData="currentNodeData"></attribute>
               </el-tab-pane>
               <el-tab-pane
                 :label="