Browse Source

去掉console

master
zhangli 1 year ago
parent
commit
a6cdb0f01c
  1. 3
      src/views/wms/strategy/arrivalInspectionStrategy/AddForm.vue
  2. 6
      src/views/wms/strategy/inspectStrategy/AddForm.vue
  3. 3
      src/views/wms/strategy/purchaseReceiptStrategy/AddForm.vue
  4. 5
      src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue

3
src/views/wms/strategy/arrivalInspectionStrategy/AddForm.vue

@ -105,10 +105,7 @@ const dialogTitle = ref('') // 弹窗的标题
const formLoading = ref(false) // 12 const formLoading = ref(false) // 12
const formType = ref('') // create - update - const formType = ref('') // create - update -
const formRef = ref() // Ref const formRef = ref() // Ref
const change = (e) => {
console.log(e);
}
const formStrategyCode = ref('') const formStrategyCode = ref('')
// form // form
const formData = ref({ const formData = ref({

6
src/views/wms/strategy/inspectStrategy/AddForm.vue

@ -155,10 +155,7 @@ const dialogTitle = ref('') // 弹窗的标题
const formLoading = ref(false) // 12 const formLoading = ref(false) // 12
const formType = ref('') // create - update - const formType = ref('') // create - update -
const formRef = ref() // Ref const formRef = ref() // Ref
const change = (e) => {
console.log(e);
}
const formStrategyCode = ref('') const formStrategyCode = ref('')
// form // form
const formData = ref({ const formData = ref({
@ -294,7 +291,6 @@ const submitForm = async () => {
if (!formRef) return if (!formRef) return
const valid = await formRef.value.validate() const valid = await formRef.value.validate()
if (!valid) return if (!valid) return
console.log(formData.value);
// //
formLoading.value = true formLoading.value = true
try { try {
@ -406,8 +402,6 @@ const inputNumberBlur=()=>{
} }
}) })
console.log(arr);
const isEmpty = arr.some(cur => { const isEmpty = arr.some(cur => {
return !cur return !cur
}) })

3
src/views/wms/strategy/purchaseReceiptStrategy/AddForm.vue

@ -115,10 +115,7 @@ const dialogTitle = ref('') // 弹窗的标题
const formLoading = ref(false) // 12 const formLoading = ref(false) // 12
const formType = ref('') // create - update - const formType = ref('') // create - update -
const formRef = ref() // Ref const formRef = ref() // Ref
const change = (e) => {
console.log(e);
}
const formStrategyCode = ref('') const formStrategyCode = ref('')
// form // form
const formData = ref({ const formData = ref({

5
src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue

@ -69,7 +69,7 @@
:key="cur.value" /> :key="cur.value" />
</el-select> </el-select>
<div class="checkbox"> <div class="checkbox">
<el-checkbox-group v-model="item.Value" @change="change"> <el-checkbox-group v-model="item.Value">
<el-checkbox :label="cur.label" v-for="cur in options.weekOptions" :key="cur.value" /> <el-checkbox :label="cur.label" v-for="cur in options.weekOptions" :key="cur.value" />
</el-checkbox-group> </el-checkbox-group>
</div> </div>
@ -169,10 +169,7 @@ const dialogTitle = ref('') // 弹窗的标题
const formLoading = ref(false) // 12 const formLoading = ref(false) // 12
const formType = ref('') // create - update - const formType = ref('') // create - update -
const formRef = ref() // Ref const formRef = ref() // Ref
const change = (e) => {
console.log(e);
}
const formStrategyCode = ref('') const formStrategyCode = ref('')
// form // form
const formData = ref({ const formData = ref({

Loading…
Cancel
Save