|
@@ -9,7 +9,7 @@
|
|
|
<el-row class="my-row">
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="名称" prop="materialName">
|
|
|
- <el-input v-model="dataForm.materialName" placeholder="物品(零件)名称" :disabled="isEdit"></el-input>
|
|
|
+ <el-input v-model="dataForm.materialName" :disabled="isEdit"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
@@ -20,24 +20,36 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="规格" prop="specifications">
|
|
|
- <el-input v-model="dataForm.specifications" placeholder="物品(零件)规格" :disabled="isEdit"></el-input>
|
|
|
+ <el-input v-model="dataForm.specifications" :disabled="isEdit"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row class="my-row">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="图号" prop="mapNumber">
|
|
|
+ <el-input v-model="dataForm.mapNumber" :disabled="isEdit"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="材料牌号" prop="materials">
|
|
|
+ <el-input v-model="dataForm.materials" :disabled="isEdit"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="my-row">
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="数量" prop="cnt">
|
|
|
- <el-input-number v-model="dataForm.cnt" :min="0" placeholder="物品(零件)数量" :disabled="isEdit"></el-input-number>
|
|
|
+ <el-input-number v-model="dataForm.cnt" :min="0" :disabled="isEdit"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="单价" prop="price">
|
|
|
- <el-input-number v-model="dataForm.price" :precision="2" :step="0.1" :min="0.0" placeholder="物品(零件)单价" :disabled="isEdit"></el-input-number>
|
|
|
+ <el-input-number v-model="dataForm.price" :precision="2" :step="0.1" :min="0.0" :disabled="isEdit"></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="金额" prop="amount">
|
|
|
- <el-input :value="!id?(dataForm.price * dataForm.cnt):dataForm.amount" :disabled="true" placeholder="物品(零件)总金额"></el-input>
|
|
|
+ <el-input :value="!id?(dataForm.price * dataForm.cnt):dataForm.amount" :disabled="true"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|