change - 物料信息页面安全库存可为0

master
yinq 1 month ago
parent 43046e0a46
commit 5c45771682

@ -268,7 +268,7 @@
</el-table-column> </el-table-column>
<el-table-column label="旧物料编码" align="center" prop="oldMaterialCode"/> <el-table-column label="旧物料编码" align="center" prop="oldMaterialCode"/>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">-->
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <el-button--> <!-- <el-button-->
<!-- size="mini"--> <!-- size="mini"-->
@ -286,8 +286,8 @@
<!-- @click="handleDelete(scope.row)"--> <!-- @click="handleDelete(scope.row)"-->
<!-- v-hasPermi="['mes:materialinfo:remove']"--> <!-- v-hasPermi="['mes:materialinfo:remove']"-->
<!-- >删除</el-button>--> <!-- >删除</el-button>-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
</el-table> </el-table>
<pagination <pagination
@ -423,7 +423,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="安全库存数量" prop="safeStockAmount"> <el-form-item label="安全库存数量" prop="safeStockAmount">
<el-input-number v-model="form.safeStockAmount" placeholder="请输入安全库存数量" :min="1" :max="10000000000" <el-input-number v-model="form.safeStockAmount" placeholder="请输入安全库存数量" :min="0" :max="10000000000"
style="width:180px"/> style="width:180px"/>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -800,6 +800,7 @@ export default {
this.$modal.msgSuccess("批量保存成功"); this.$modal.msgSuccess("批量保存成功");
this.modifiedSafeStockData = []; // this.modifiedSafeStockData = []; //
this.batchOpen = false; this.batchOpen = false;
this.open = false;
this.getList(); // this.getList(); //
}).catch(() => { }).catch(() => {
this.loading = false; this.loading = false;

Loading…
Cancel
Save