guoyujia 9 mesiacov pred
rodič
commit
793aa89461

+ 2 - 2
src/views/business/examine/form.vue

@@ -12,8 +12,8 @@
           <el-icon><Document /></el-icon>
           <span>序检详情</span>
         </span>
-        <el-button type="success" @click="handleUpdateStatus(2)"> 通过 </el-button>
-        <el-button v-if="!detail.isNextProcess" type="danger" style="margin-left: 40px" @click="handleUpdateStatus(1)">
+        <el-button type="success" v-hasPermi="['business:examine:pass']" @click="handleUpdateStatus(2)"> 通过 </el-button>
+        <el-button v-if="!detail.isNextProcess" v-hasPermi="['business:examine:fail']" type="danger" style="margin-left: 40px" @click="handleUpdateStatus(1)">
           不通过
         </el-button>
 

+ 2 - 0
src/views/business/inventoryCheck/form.vue

@@ -103,6 +103,8 @@
                   controls-position="right"
                   style="width: 100px"
                   :min="0"
+                  :precision="0"
+                  :max="99999"
                   @input="(val) => {handleChangeTaksStockNum(val, scope.row,scope.$index)}"
                 />
                 <div v-else>{{ scope.row.taksStockNum }}</div>