Browse Source

调试

master_hella_20240701
zhaoyiran 7 months ago
parent
commit
a4c85a5c06
  1. 2
      src/views/qms/sampleCode/index.vue

2
src/views/qms/sampleCode/index.vue

@ -237,11 +237,13 @@ const searchFormClick = (searchData) => {
getList() // getList() //
} }
const onChange = async (field, value, formRef) => { const onChange = async (field, value, formRef) => {
if(field == "batchLowLimiting" || field == "batchUpperLimiting"){
var upperLimit = formRef.value.formModel.batchUpperLimiting var upperLimit = formRef.value.formModel.batchUpperLimiting
var lowLimit = formRef.value.formModel.batchLowLimiting var lowLimit = formRef.value.formModel.batchLowLimiting
if(parseInt(upperLimit) <= parseInt(lowLimit)){ if(parseInt(upperLimit) <= parseInt(lowLimit)){
message.warning("批量上限须大于批量下限") message.warning("批量上限须大于批量下限")
} }
}
} }
/** 初始化 **/ /** 初始化 **/
onMounted(async () => { onMounted(async () => {

Loading…
Cancel
Save