Browse Source

YT-1325发料策略:保存不好使

intex
zhang_li 6 days ago
parent
commit
d0c3fec5ce
  1. 6
      src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue

6
src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue

@ -654,7 +654,9 @@ const searchTransactionType = ()=>{
) )
} }
// //
const blurVerify= async (type)=>{ const typeBlur = ref('')
const blurVerify = async (type) => {
typeBlur.value = type
let transactionType = formData.value.condition.find(item => item['ParamCode'] == type) let transactionType = formData.value.condition.find(item => item['ParamCode'] == type)
console.log(transactionType) console.log(transactionType)
if (transactionType && transactionType.Value) { if (transactionType && transactionType.Value) {
@ -864,6 +866,8 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗
const emit = defineEmits(['success']) // success const emit = defineEmits(['success']) // success
const submitForm = async () => { const submitForm = async () => {
await blurWarehouse() await blurWarehouse()
await blurVerify(typeBlur.value)
console.log('规则条件',formData.value.condition) console.log('规则条件',formData.value.condition)
// //

Loading…
Cancel
Save