소스 검색

Finish Hotfix-mo-87

莫绍宝 3 년 전
부모
커밋
4f64659adb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/supply/retail/components/retail_form.vue

+ 1 - 1
src/views/supply/retail/components/retail_form.vue

@@ -85,7 +85,7 @@
         <el-table-column align="center" label="单位" prop="unit" min-width="100" show-overflow-tooltip></el-table-column>
         <el-table-column align="center" label="单价" prop="price" min-width="100" show-overflow-tooltip>
           <template slot-scope="scope">
-            <el-input v-model="scope.row.price" size="small" type="number" v-if="listItem"></el-input>
+            <el-input v-model="scope.row.price" size="small" type="number" v-if="listItem && !isDealer"></el-input>
             <div v-else>{{scope.row.price}}</div>
           </template>
         </el-table-column>