chrislee 1 жил өмнө
parent
commit
8420a85037

+ 4 - 4
src/views/modules/warehouse/stock-order-inbound.vue

@@ -32,15 +32,15 @@
               <el-col :span="8">
                 <el-form-item label="名称" prop="materialId" :rules="{required: false, message: '名称不能为空', trigger: 'blur'}">
                   <el-input v-if="item.buttonType === '1'" placeholder="请输入" v-model="item.materialName"
-                            :disabled="display" @blur="blurMaterialName(item)" style="width: 200px; margin-right: 10px"/>
+                            :disabled="display" @blur="blurMaterialName(item)" style="width: 160px; margin-right: 5px"/>
                   <material-component v-else
                                       v-model="dataList[index]"
                                       :material-id="item.materialId"
                                       :material-type="item.materialTypeId"
-                                      biz-type="in">
+                                      biz-type="in" style="width: 160px; margin-right: 5px">
                   </material-component>
-                  <el-button v-show="item.buttonType && item.buttonType === '1'" @click="changeButtonType(item, 0)" type="danger">选择</el-button>
-                  <el-button v-show="!item.buttonType || item.buttonType === '0'" @click="changeButtonType(item, 1)" type="danger">输入</el-button>
+                  <el-button size="small" v-show="item.buttonType && item.buttonType === '1'" @click="changeButtonType(item, 0)" type="danger">选择</el-button>
+                  <el-button size="small" v-show="!item.buttonType || item.buttonType === '0'" @click="changeButtonType(item, 1)" type="danger">输入</el-button>
                 </el-form-item>
               </el-col>
               <el-col :span="8" style="padding-left: 20px">