Browse Source

YT-1197发货策略,点保存按钮没有反应,保存不上

intex
zhang_li 5 days ago
parent
commit
f9d8984db0
  1. 11
      src/views/wms/basicDataManage/strategySetting/strategy/deliverStrategy/AddForm.vue

11
src/views/wms/basicDataManage/strategySetting/strategy/deliverStrategy/AddForm.vue

@ -754,15 +754,18 @@ const filterMethodWarehouseList = (query: string) => {
const searchTableRef = ref()
const moduleValue = ref()
const typeValue = ref()
const blurWarehouse = async ({ module = 'config', type }) => {
console.log(22,warehouseType.value)
console.log(22,module)
console.log(22, module)
moduleValue.value = module
typeValue.value = warehouseType.value
//
let warehouseValue = formData.value.configuration[warehouseType.value]
let conditionObj = null
if(module=='condition'){
typeValue.value = type
//
conditionObj = formData.value.condition.find(item=>item['ParamCode']==type)
if(conditionObj){
@ -1124,7 +1127,7 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗
/** 提交表单 */
const emit = defineEmits(['success']) // success
const submitForm = async () => {
await blurWarehouse()
await blurWarehouse({module:moduleValue.value,type:typeValue.value})
await blurTransactionType()
console.log('规则条件',formData.value.condition)

Loading…
Cancel
Save