Browse Source

发货申请修改

master
李胜楠 1 year ago
parent
commit
d16419522c
  1. 4
      src/utils/dict.ts
  2. 16
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

4
src/utils/dict.ts

@ -265,6 +265,6 @@ export enum DICT_TYPE {
STRATEGY_PARAM_OPEARTOR = 'strategy_param_opeartor', // 策略参数操作符 STRATEGY_PARAM_OPEARTOR = 'strategy_param_opeartor', // 策略参数操作符
DATA_TYPE = 'data_type', // 数据类型 DATA_TYPE = 'data_type', // 数据类型
PACK_UNIT = 'pack_unit', // 包装单位 PACK_UNIT = 'pack_unit', // 包装单位
DETAIL_STATUS = 'detail_status' // 明细状态 DETAIL_STATUS = 'detail_status', // 明细状态
TRANSFER_MODE = 'transfer_mode' // 运输方式
} }

16
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

@ -18,6 +18,9 @@ import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/item
import * as CustomerdockApi from '@/api/wms/customerdock' import * as CustomerdockApi from '@/api/wms/customerdock'
import { Customerdock } from '@/views/wms/basicDataManage/customerManage/customerdock/customerdock.data' import { Customerdock } from '@/views/wms/basicDataManage/customerManage/customerdock/customerdock.data'
import * as CarrierApi from '@/api/wms/carrier'
import { Carrier } from '@/views/wms/basicDataManage/orderManage/carrier/carrier.data'
const { t } = useI18n() // 国际化 const { t } = useI18n() // 国际化
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值 // 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
@ -113,11 +116,24 @@ export const DeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择承运商', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '承运商信息', // 查询弹窗标题
searchAllSchemas: Carrier.allSchemas, // 查询弹窗所需类
searchPage: CarrierApi.getCarrierPage // 查询弹窗所需分页方法
}
}
}, },
{ {
label: '运输方式', label: '运输方式',
field: 'transferMode', field: 'transferMode',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.TRANSFER_MODE,
dictClass: 'string',
table: { table: {
width: 150 width: 150
}, },

Loading…
Cancel
Save