liuchen864 12 months ago
parent
commit
5cc2608ab3
  1. 4
      src/utils/dict.ts
  2. 16
      src/views/wms/basicDataManage/documentSetting/documentsetting/documentsetting.data.ts
  3. 4
      src/views/wms/basicDataManage/documentSetting/documentsetting/index.vue
  4. 4
      src/views/wms/basicDataManage/documentSetting/jobsetting/index.vue
  5. 12
      src/views/wms/basicDataManage/documentSetting/jobsetting/jobsetting.data.ts
  6. 4
      src/views/wms/basicDataManage/documentSetting/recordsetting/index.vue
  7. 31
      src/views/wms/basicDataManage/documentSetting/recordsetting/recordsetting.data.ts
  8. 4
      src/views/wms/basicDataManage/documentSetting/requestsetting/index.vue
  9. 14
      src/views/wms/basicDataManage/documentSetting/requestsetting/requestsetting.data.ts
  10. 2
      src/views/wms/basicDataManage/documentSetting/switch/index.vue
  11. 13
      src/views/wms/basicDataManage/documentSetting/switch/switch.data.ts
  12. 4
      src/views/wms/basicDataManage/documentSetting/transactiontype/index.vue
  13. 50
      src/views/wms/basicDataManage/documentSetting/transactiontype/transactiontype.data.ts
  14. 13
      src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts
  15. 16
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
  16. 42
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

4
src/utils/dict.ts

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

16
src/views/wms/basicDataManage/documentSetting/documentsetting/documentsetting.data.ts

@ -15,6 +15,11 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'left'
},
isSearch: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '名称',
@ -24,6 +29,11 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isSearch: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '描述',
@ -142,7 +152,7 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
isTable: true,
isTable: false,
formatter: dateFormatter,
isForm: false,
detail: {
@ -185,8 +195,6 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150
@ -199,6 +207,8 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false
},
{
label: '操作',

4
src/views/wms/basicDataManage/documentSetting/documentsetting/index.vue

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:documentsetting:create'}), //
// defaultButtons.defaultAddBtn({hasPermi:'wms:documentsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:documentsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:documentsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:documentsetting:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:documentsetting:delete'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:documentsetting:delete'}), //
]
// -

4
src/views/wms/basicDataManage/documentSetting/jobsetting/index.vue

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:jobsetting:create'}), //
// defaultButtons.defaultAddBtn({hasPermi:'wms:jobsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:jobsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:jobsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:jobsetting:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:jobsetting:delete'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:jobsetting:delete'}), //
]
// -

12
src/views/wms/basicDataManage/documentSetting/jobsetting/jobsetting.data.ts

@ -15,6 +15,11 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'left'
},
isSearch: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '有效分钟',
@ -225,8 +230,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
@ -239,6 +242,8 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false,
},
{
label: '生效时间',
@ -267,7 +272,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'isSoftDeleted',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
@ -280,6 +284,8 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false,
},
{
label: '失效时间',

4
src/views/wms/basicDataManage/documentSetting/recordsetting/index.vue

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:recordsetting:create'}), //
// defaultButtons.defaultAddBtn({hasPermi:'wms:recordsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:recordsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:recordsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:recordsetting:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:recordsetting:delete'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:recordsetting:delete'}), //
]
// -

31
src/views/wms/basicDataManage/documentSetting/recordsetting/recordsetting.data.ts

@ -15,6 +15,11 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'left'
},
isSearch: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '接口类型',
@ -24,9 +29,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '生效时间',
@ -37,9 +39,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
@ -59,9 +58,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
@ -82,9 +78,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
@ -99,9 +92,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建者',
@ -109,21 +99,13 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false,
isForm: false,
sort: 'custom',
table: {
width: 150
},
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
@ -132,6 +114,8 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false,
},
{
label: '操作',
@ -139,7 +123,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
isDetail: false,
isForm: false ,
table: {
width: 150,
fixed: 'right'
}
}

4
src/views/wms/basicDataManage/documentSetting/requestsetting/index.vue

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:requestsetting:create'}), //
// defaultButtons.defaultAddBtn({hasPermi:'wms:requestsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:requestsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:requestsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:requestsetting:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:requestsetting:delete'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:requestsetting:delete'}), //
]
// -

14
src/views/wms/basicDataManage/documentSetting/requestsetting/requestsetting.data.ts

@ -15,6 +15,11 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'left'
},
isSearch: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '申请模式',
@ -26,6 +31,11 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
}
},
{
label: '自动提交',
@ -108,8 +118,6 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
@ -122,6 +130,8 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false
},
{
label: '生效时间',

2
src/views/wms/basicDataManage/documentSetting/switch/index.vue

@ -124,7 +124,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:switch:update'}), //
defaultButtons.mainListEditBtn(null), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:switch:delete'}), //
]

13
src/views/wms/basicDataManage/documentSetting/switch/switch.data.ts

@ -10,7 +10,6 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
table: {
width: 150,
fixed: 'left'
},
form: {
@ -24,9 +23,6 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
field: 'description',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
form: {
componentProps: {
disabled: true
@ -41,9 +37,6 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
@ -60,10 +53,8 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
table: {
width: 150
},
isTable: false,
isForm: false,
form: {
component: 'Switch',
value: 'TRUE',

4
src/views/wms/basicDataManage/documentSetting/transactiontype/index.vue

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:transactiontype:create'}), //
// defaultButtons.defaultAddBtn({hasPermi:'wms:transactiontype:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:transactiontype:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:transactiontype:export'}), //
defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:transactiontype:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:transactiontype:delete'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:transactiontype:delete'}), //
]
// -

50
src/views/wms/basicDataManage/documentSetting/transactiontype/transactiontype.data.ts

@ -11,26 +11,29 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
field: 'code',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isSearch: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '名称',
field: 'name',
sort: 'custom',
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
}
},
{
label: '描述',
field: 'description',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库存动作',
@ -40,9 +43,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '允许负数',
@ -52,9 +52,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
@ -70,11 +67,8 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
@ -83,17 +77,15 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isForm: false,
},
{
label: '是否软删除',
field: 'isSoftDeleted',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
@ -102,6 +94,7 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isForm: false,
},
{
label: '生效时间',
@ -112,9 +105,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
},
form: {
component: 'DatePicker',
componentProps: {
@ -134,9 +124,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
},
form: {
component: 'DatePicker',
componentProps: {
@ -155,9 +142,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
},
isTable: false,
isForm: false,
form: {
@ -174,9 +158,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建者',
@ -184,9 +165,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false,
isForm: false,
sort: 'custom',
table: {
width: 150
},
},
{
label: '操作',

13
src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts

@ -95,7 +95,18 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code',
searchTitle: '物品信息',
searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage
searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{
key:'enableMake',
value:'TRUE',
isMainValue: false
},
{
key:'type',
value:'FG,SEMI',
isMainValue: false
},
]
}
}
},

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

42
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

@ -615,7 +615,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
searchPage: PurchaseMainApi.getPurchaseMainPage
},
form: {
// labelMessage: '信息提示说明!!!',
labelMessage: '该订单号会影响订单行的选择',
componentProps: {
isSearchList: true,
searchListPlaceholder: '请选择订单号',
@ -633,25 +633,35 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: {
width: 150
},
tableForm:{
isInpuFocusShow: true,
searchListPlaceholder: '请选择订单行',
searchField: 'lineNumber',
searchTitle: '采购订单信息',
searchAllSchemas: PurchaseDetail.allSchemas,
searchPage: PurchaseDetailApi.getPurchaseDetailPage
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true,
searchListPlaceholder: '请选择订单行',
searchField: 'lineNumber',
searchTitle: '采购订单信息',
searchAllSchemas: PurchaseDetail.allSchemas,
searchPage: PurchaseDetailApi.getPurchaseDetailPage
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择订单行', // 输入框占位文本
searchField: 'lineNumber', // 查询弹窗赋值字段
searchTitle: '订单信息', // 查询弹窗标题
searchAllSchemas: PurchaseDetail.allSchemas, // 查询弹窗所需类
searchPage: PurchaseDetailApi.getPurchaseDetailPage, // 查询弹窗所需分页方法
searchCondition: [{
key:'number',
value:'poNumber',
isMainValue: true
}]
}
},
tableForm:{
isInpuFocusShow: true,
searchListPlaceholder: '请选择订单行', // 输入框占位文本
searchField: 'lineNumber', // 查询弹窗赋值字段
searchTitle: '订单信息', // 查询弹窗标题
searchAllSchemas: PurchaseDetail.allSchemas, // 查询弹窗所需类
searchPage: PurchaseDetailApi.getPurchaseDetailPage, // 查询弹窗所需分页方法
searchCondition: [{
key:'number',
value:'poNumber',
isMainValue: true
}]
}
}
},
{
label: '标包数量',

Loading…
Cancel
Save