diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
index f021c1c7e..0b4b2df2d 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
@@ -291,7 +291,7 @@
-
+
@@ -318,6 +312,29 @@
+ -->
+
+
+
+
+
+
+
+
+
+
+
+
@@ -630,6 +647,8 @@ import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
import { isString } from '@/utils/is'
import * as TransactiontypeApi from '@/api/wms/transactiontype'
import { Transactiontype } from '@/views/wms/basicDataManage/documentSetting/transactiontype/transactiontype.data'
+import * as BusinesstypeApi from '@/api/wms/businesstype'
+import { Businesstype } from '@/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data'
const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗
@@ -666,7 +685,9 @@ const formData = ref({
// 存储类型
{ ParamCode: 'StorageType', Operator: 'IN', Value: [] },
// 库存事务
- { ParamCode: 'TransactionType', Operator: 'IN', Value: '' }
+ { ParamCode: 'TransactionType', Operator: 'IN', Value: '' },
+ // 业务类型
+ { ParamCode: 'BusinessType', Operator: 'IN', Value: '' },
],
configuration: {
// 仓库代码
@@ -1003,6 +1024,20 @@ const blurWarehouse = async ()=>{
})
}
+// 业务类型
+const searchBusinessType = ()=>{
+ searchTableRef.value.open(
+ '请选择业务类型',
+ Businesstype.allSchemas,
+ BusinesstypeApi.getBusinesstypePage,
+ 'BusinessType',
+ 'code',
+ true,
+ undefined,
+ undefined,
+ undefined
+ )
+}
//事务类型
const searchTransactionType = ()=>{
searchTableRef.value.open(
@@ -1045,6 +1080,12 @@ const searchTableSuccess = (formField, searchField, val, type, row) => {
transactionType.Value = val.map(item=>(item['code'])).join(',')
}
return
+ }else if(formField=='BusinessType'){
+ let businessType = formData.value.condition.find(item=>item['ParamCode']=='BusinessType')
+ if(businessType){
+ businessType.Value = val.map(item=>(item['code'])).join(',')
+ }
+ return
}
formData.value.configuration[warehouseType.value] = val.map(item=>(item['code'])).join(',')
let fields = ['WarehouseCode','AreaCode','LocationGroupCode','LocationCode']
@@ -1271,7 +1312,9 @@ const resetForm = () => {
// 存储类型
{ ParamCode: 'StorageType', Operator: 'IN', Value: [] },
// 库存事务
- { ParamCode: 'TransactionType', Operator: 'IN', Value: '' }
+ { ParamCode: 'TransactionType', Operator: 'IN', Value: '' },
+ // 业务类型
+ { ParamCode: 'BusinessType', Operator: 'IN', Value: '' },
],
configuration: {
// 仓库代码