Переглянути джерело

核料:新增字段“图号”

chrislee 9 місяців тому
батько
коміт
8874306aec

+ 1 - 1
src/views/modules/common/material-component.vue

@@ -109,7 +109,7 @@
             } else if (this.bizType === 'check') {
               data.data.records.forEach(item => {
                 this.options.push({...item,
-                  label: item.materialName + ' - ' + item.specifications + ' - ' + item.cnt,
+                  label: item.materialName + ' - ' + item.mapNumber + ' - ' + item.specifications + ' - ' + item.cnt,
                   value: item.materialId,
                   specification: item.specifications,
                   cntLimit: Number(item.cnt) - Number(item.lockCnt)

+ 6 - 0
src/views/modules/production/scheduling-check.vue

@@ -33,6 +33,11 @@
                 <el-input v-model="dataForm.materials" placeholder="材料" disabled></el-input>
               </el-form-item>
             </el-col>
+            <el-col :span="8">
+              <el-form-item label="图号" prop="mapNumber">
+                <el-input v-model="dataForm.mapNumber" placeholder="图号" disabled></el-input>
+              </el-form-item>
+            </el-col>
           </el-row>
           <el-row class="my-row">
             <el-col :span="8">
@@ -123,6 +128,7 @@ export default {
         this.specifications = item.specifications
         this.dataForm.cnt = item.cnt
         this.dataForm.materialId = item.materialId
+        this.dataForm.mapNumber = item.mapNumber
       }
     }
   }