From d51a5c3687bc4cff16e8e214fd64b7b22707864c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E8=83=9C=E6=A5=A0?= <2792649152@qq.com>
Date: Thu, 2 Nov 2023 13:42:41 +0800
Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/BasicForm/src/BasicForm.vue | 10 ++
.../countRequestMain/countRequestMain.data.ts | 68 +++++++---
.../countadjustRequestMain.data.ts | 75 +++++-----
.../customerreceiptRequestMain.data.ts | 76 ++++++-----
.../customerreturnRequestMain.data.ts | 80 ++++++-----
.../customersettleRequestMain.data.ts | 80 ++++++-----
.../deliverRequestMain.data.ts | 78 ++++++-----
.../inventoryinitRequestMain.data.ts | 78 ++++++-----
.../scrapRequestMain/scrapRequestMain.data.ts | 81 ++++++-----
.../transferissueRequestMain.data.ts | 81 ++++++-----
.../transferreceiptRequestMain.data.ts | 81 ++++++-----
.../unplannedissueRequestMain.data.ts | 81 ++++++-----
.../unplannedreceiptRequestMain.data.ts | 80 ++++++-----
.../issueRequestMain/issueRequestMain.data.ts | 78 ++++++-----
.../onlinesettlementRequestMain.data.ts | 73 +++++-----
.../pickRequestMain/pickRequestMain.data.ts | 81 ++++++-----
.../productionreturnRequestMain.data.ts | 73 +++++-----
.../repleinshRequestMain.data.ts | 80 ++++++-----
.../inventorychangeRequestMain.data.ts | 71 +++++-----
.../inventorymoveRequestMain.data.ts | 69 ++++++----
.../offlinesettlementRequestMain.data.ts | 69 +++++-----
.../productdismantleRequestMain.data.ts | 81 ++++++-----
.../productputawayRequestMain.data.ts | 79 ++++++-----
.../productreceiptRequestMain.data.ts | 82 ++++++-----
.../productrepairRequestMain.data.ts | 81 ++++++-----
.../productscrapRequestMain.data.ts | 77 ++++++-----
.../inspectRequestMain.data.ts | 72 +++++-----
.../purchasereceiptRequestMain/index.vue | 14 +-
.../purchasereceiptRequestMain.data.ts | 84 ++++++------
.../purchasereturnRequestMain/index.vue | 4 +-
.../purchasereturnRequestMain.data.ts | 89 +++++++-----
.../putawayRequestMain.data.ts | 80 ++++++-----
.../supplierdeliverRequestMain/index.vue | 46 ++++++-
.../supplierdeliverRequestMain.data.ts | 82 ++++++-----
.../supplierinvoiceRequestMain/index.vue | 18 +--
.../supplierinvoiceRequestMain.data.ts | 128 +++++++++++-------
36 files changed, 1483 insertions(+), 1077 deletions(-)
diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue
index 5e4d26b1e..51d11c076 100644
--- a/src/components/BasicForm/src/BasicForm.vue
+++ b/src/components/BasicForm/src/BasicForm.vue
@@ -104,6 +104,16 @@
+
+
+
+
+
+
+
+
+
+
([
field: 'stage',
dictType: DICT_TYPE.COUNT_STAGE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
+ isSearch: true,
},
{
label: '仓库代码',
@@ -56,14 +56,18 @@ export const CountRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isForm: false,
+ isSearch: true,
},
{
label: '业务类型',
@@ -72,6 +76,12 @@ export const CountRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ form: {
+ value: 'Count',
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '备注',
@@ -80,6 +90,7 @@ export const CountRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isForm: false,
},
{
label: '创建时间',
@@ -100,6 +111,7 @@ export const CountRequestMain = useCrudSchemas(([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '创建者',
@@ -108,6 +120,7 @@ export const CountRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isForm: false,
},
{
label: '申请时间',
@@ -157,7 +170,10 @@ export const CountRequestMain = useCrudSchemas(([
width: 150
},
form: {
- value: userDept.name
+ value: userDept.name,
+ componentProps: {
+ disabled: true
+ }
}
},
{
@@ -171,6 +187,7 @@ export const CountRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isForm: false,
},
{
label: '最后更新时间',
@@ -191,6 +208,7 @@ export const CountRequestMain = useCrudSchemas(([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '最后更新者',
@@ -199,20 +217,21 @@ export const CountRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isForm: false,
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
form: {
component: 'Switch',
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
},
sort: 'custom',
@@ -225,14 +244,14 @@ export const CountRequestMain = useCrudSchemas(([
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
form: {
component: 'Switch',
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
},
sort: 'custom',
@@ -245,14 +264,14 @@ export const CountRequestMain = useCrudSchemas(([
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
form: {
component: 'Switch',
value: requestsettingData.autoExecute,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
},
sort: 'custom',
@@ -265,14 +284,14 @@ export const CountRequestMain = useCrudSchemas(([
field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
form: {
component: 'Switch',
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
},
sort: 'custom',
@@ -311,18 +330,9 @@ export const CountRequestMainRules = reactive({
directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
businessType: [
{ required: true, message: '请输入业务类型', trigger: 'blur' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
@@ -391,7 +401,6 @@ export const CountRequestDetail = useCrudSchemas(reactive([
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -454,7 +463,6 @@ export const CountRequestDetail = useCrudSchemas(reactive([
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -480,6 +488,8 @@ export const CountRequestDetail = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '最后更新者',
@@ -488,6 +498,8 @@ export const CountRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '单据号',
@@ -496,6 +508,12 @@ export const CountRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ form: {
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '物品代码',
@@ -512,6 +530,8 @@ export const CountRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建时间',
@@ -532,6 +552,8 @@ export const CountRequestDetail = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建者',
@@ -540,6 +562,8 @@ export const CountRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
]))
diff --git a/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts b/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts
index 808826688..62c160afb 100644
--- a/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts
+++ b/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts
@@ -28,6 +28,7 @@ export const CountadjustRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '盘点记录单号',
@@ -44,21 +45,28 @@ export const CountadjustRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isForm: false,
+ isSearch: true,
},
{
label: '业务类型',
field: 'businessType',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ componentProps: {
+ disabled: true
+ }
},
},
{
@@ -68,6 +76,7 @@ export const CountadjustRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isForm: false
},
{
label: '创建时间',
@@ -88,6 +97,7 @@ export const CountadjustRequestMain = useCrudSchemas(([
valueFormat: 'x',
}
},
+ isForm: false
},
{
label: '创建者',
@@ -96,6 +106,7 @@ export const CountadjustRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isForm: false
},
{
label: '申请时间',
@@ -145,7 +156,10 @@ export const CountadjustRequestMain = useCrudSchemas(([
width: 150
},
form: {
- value: userDept.name
+ value: userDept.name,
+ componentProps: {
+ disabled: true
+ }
}
},
{
@@ -159,6 +173,7 @@ export const CountadjustRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isForm: false
},
{
label: '最后更新时间',
@@ -179,6 +194,7 @@ export const CountadjustRequestMain = useCrudSchemas(([
valueFormat: 'x',
}
},
+ isForm: false
},
{
label: '最后更新者',
@@ -187,20 +203,21 @@ export const CountadjustRequestMain = useCrudSchemas(([
table: {
width: 150
},
+ isForm: false
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
form: {
component: 'Switch',
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
},
sort: 'custom',
@@ -213,14 +230,14 @@ export const CountadjustRequestMain = useCrudSchemas(([
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
form: {
component: 'Switch',
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
},
sort: 'custom',
@@ -233,14 +250,14 @@ export const CountadjustRequestMain = useCrudSchemas(([
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
form: {
component: 'Switch',
value: requestsettingData.autoExecute,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
},
sort: 'custom',
@@ -253,14 +270,14 @@ export const CountadjustRequestMain = useCrudSchemas(([
field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
form: {
component: 'Switch',
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
},
sort: 'custom',
@@ -281,9 +298,6 @@ export const CountadjustRequestMainRules = reactive({
departmentCode: [
{ required: true, message: '请输入部门', trigger: 'blur' }
],
- status: [
- { required: true, message: '请选择状态', trigger: 'change' }
- ],
autoCommit: [
{ required: true, message: '请选择是否自动提交', trigger: 'change' }
],
@@ -296,18 +310,9 @@ export const CountadjustRequestMainRules = reactive({
directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
businessType: [
{ required: true, message: '请输入业务类型', trigger: 'blur' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
/**
@@ -367,7 +372,6 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -455,7 +459,6 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -481,6 +484,8 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '最后更新者',
@@ -489,6 +494,8 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '单据号',
@@ -497,6 +504,12 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ form: {
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '物品代码',
@@ -513,6 +526,8 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建时间',
@@ -533,6 +548,8 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建者',
@@ -541,6 +558,8 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
]))
@@ -576,10 +595,4 @@ export const CountadjustRequestDetailRules = reactive({
itemCode: [
{ required: true, message: '请选择物品代码', trigger: 'change' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
\ No newline at end of file
diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts
index 713813d31..8706bb6e2 100644
--- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts
+++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts
@@ -28,6 +28,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isSearch: true,
},
{
label: '发货计划单号',
@@ -44,6 +45,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isSearch: true,
},
{
label: '客户月台代码',
@@ -98,7 +100,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -110,7 +111,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
field: 'toLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -138,8 +138,11 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isForm: false,
+ isSearch: true,
},
{
label: '业务类型',
@@ -148,6 +151,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isForm: false
},
{
label: '备注',
@@ -156,6 +160,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isForm: false
},
{
label: '创建时间',
@@ -176,6 +181,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
valueFormat: 'x',
}
},
+ isForm: false
},
{
label: '创建者',
@@ -192,6 +198,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
valueFormat: 'x',
}
},
+ isForm: false
},
{
label: '申请时间',
@@ -241,7 +248,10 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
width: 150
},
form: {
- value: userDept.name
+ value: userDept.namem,
+ componentProps: {
+ disabled: true
+ }
}
},
{
@@ -255,6 +265,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isForm: false
},
{
label: '最后更新时间',
@@ -275,6 +286,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
valueFormat: 'x',
}
},
+ isForm: false
},
{
label: '最后更新者',
@@ -283,13 +295,13 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isForm: false
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -300,7 +312,8 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -309,7 +322,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -320,7 +332,8 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -329,7 +342,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -340,7 +352,8 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
value: requestsettingData.autoExecute,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -349,7 +362,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -360,7 +372,8 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive(
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -392,9 +405,6 @@ export const CustomerreceiptRequestMainRules = reactive({
departmentCode: [
{ required: true, message: '请输入部门', trigger: 'blur' }
],
- status: [
- { required: true, message: '请选择状态', trigger: 'change' }
- ],
autoCommit: [
{ required: true, message: '请选择是否自动提交', trigger: 'change' }
],
@@ -407,18 +417,9 @@ export const CustomerreceiptRequestMainRules = reactive({
directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
businessType: [
{ required: true, message: '请输入业务类型', trigger: 'blur' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
/**
@@ -470,7 +471,6 @@ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '发货记录单号',
@@ -52,6 +53,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '客户月台代码',
@@ -114,7 +116,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -126,7 +127,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
field: 'toLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -154,8 +154,11 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isForm: false,
+ isSearch: true,
},
{
label: '业务类型',
@@ -164,6 +167,12 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ form: {
+ value: 'CustomerReject',
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '备注',
@@ -172,6 +181,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false
},
{
label: '创建时间',
@@ -192,6 +202,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false
},
{
label: '创建者',
@@ -200,6 +211,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false
},
{
label: '申请时间',
@@ -251,7 +263,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
form: {
value: userDept.name,
componentProps: {
- disabled: 'true'
+ disabled: true
}
}
},
@@ -260,12 +272,13 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
+ isForm: false,
+ isSearch: true,
},
{
label: '最后更新时间',
@@ -286,6 +299,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false
},
{
label: '最后更新者',
@@ -294,13 +308,13 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -311,7 +325,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -320,7 +335,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -331,7 +345,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -340,7 +355,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -351,7 +365,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoExecute,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -360,7 +375,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -371,7 +385,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -409,9 +424,6 @@ export const CustomerreturnRequestMainRules = reactive({
departmentCode: [
{ required: true, message: '请输入部门', trigger: 'blur' }
],
- status: [
- { required: true, message: '请选择状态', trigger: 'change' }
- ],
autoCommit: [
{ required: true, message: '请选择是否自动提交', trigger: 'change' }
],
@@ -424,18 +436,9 @@ export const CustomerreturnRequestMainRules = reactive({
directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
businessType: [
{ required: true, message: '请输入业务类型', trigger: 'blur' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
/**
@@ -487,7 +490,6 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -517,6 +519,12 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
+ isTableForm: false,
+ form: {
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '物品代码',
@@ -533,6 +541,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建时间',
@@ -553,6 +563,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建者',
@@ -561,6 +573,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '物品名称',
@@ -610,7 +624,6 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -652,6 +665,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '最后更新者',
@@ -660,6 +675,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
]))
@@ -680,16 +697,7 @@ export const CustomerreturnRequestDetailRules = reactive({
fromLocationCode: [
{ required: true, message: '请选择从库位代码', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
itemCode: [
{ required: true, message: '请选择物品代码', trigger: 'change' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
\ No newline at end of file
diff --git a/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts b/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts
index 5973bb0fd..b66290ccf 100644
--- a/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts
+++ b/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts
@@ -44,6 +44,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '从仓库代码',
@@ -58,12 +59,12 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
+ isSearch: true,
},
{
label: '从库区代码范围',
@@ -78,8 +79,11 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isForm: false,
+ isSearch: true,
},
{
label: '业务类型',
@@ -88,6 +92,12 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ form: {
+ value: 'CustomerSettle',
+ componentProps:{
+ disabled: true
+ }
+ }
},
{
label: '备注',
@@ -96,6 +106,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '创建时间',
@@ -116,6 +127,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '创建者',
@@ -124,6 +136,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '申请时间',
@@ -173,7 +186,10 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
width: 150
},
form: {
- value: userDept.name
+ value: userDept.name,
+ componentProps: {
+ disabled: true
+ }
}
},
{
@@ -187,6 +203,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '最后更新时间',
@@ -207,6 +224,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '最后更新者',
@@ -215,13 +233,13 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -232,7 +250,8 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -241,7 +260,6 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -252,7 +270,8 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -261,7 +280,6 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -272,7 +290,8 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoExecute,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -281,7 +300,6 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -292,7 +310,8 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -330,18 +349,9 @@ export const CustomersettleRequestMainRules = reactive({
directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
businessType: [
{ required: true, message: '请输入业务类型', trigger: 'blur' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
/**
@@ -393,7 +403,6 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -413,8 +422,15 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isTableForm: false,
+ form: {
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '物品代码',
@@ -431,6 +447,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建时间',
@@ -451,6 +469,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建者',
@@ -459,6 +479,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '物品名称',
@@ -508,7 +530,6 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -534,6 +555,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '最后更新者',
@@ -542,6 +565,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
]))
@@ -562,16 +587,7 @@ export const CustomersettleRequestDetailRules = reactive({
fromLocationCode: [
{ required: true, message: '请选择从库位代码', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
itemCode: [
{ required: true, message: '请选择物品代码', trigger: 'change' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
\ No newline at end of file
diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
index 713dbb1dd..1cb961239 100644
--- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
+++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
@@ -44,6 +44,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '客户月台代码',
@@ -52,6 +53,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '承运商',
@@ -98,7 +100,6 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -110,7 +111,6 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
field: 'toLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -146,8 +146,11 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isForm: false,
+ isSearch: true,
},
{
label: '业务类型',
@@ -156,6 +159,12 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ form: {
+ value: 'Deliver',
+ componentProps: {
+ disabled: true,
+ }
+ }
},
{
label: '备注',
@@ -164,6 +173,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '创建时间',
@@ -184,6 +194,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '创建者',
@@ -192,6 +203,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '申请时间',
@@ -241,7 +253,10 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
width: 150
},
form: {
- value: userDept.name
+ value: userDept.name,
+ componentProps: {
+ disabled: true
+ }
}
},
{
@@ -255,6 +270,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '最后更新时间',
@@ -275,6 +291,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '最后更新者',
@@ -283,13 +300,13 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -300,7 +317,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -309,7 +327,6 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -320,7 +337,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -329,7 +347,6 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -340,7 +357,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoExecute,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -349,7 +367,6 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -360,7 +377,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -407,18 +425,9 @@ export const DeliverRequestMainRules = reactive({
directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
businessType: [
{ required: true, message: '请输入业务类型', trigger: 'blur' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
/**
@@ -470,7 +479,6 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -500,6 +508,12 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ form: {
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '物品代码',
@@ -516,6 +530,8 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建时间',
@@ -536,6 +552,8 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建者',
@@ -544,6 +562,8 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '物品名称',
@@ -593,7 +613,6 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -627,6 +646,8 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '最后更新者',
@@ -635,6 +656,8 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
]))
@@ -655,16 +678,7 @@ export const DeliverRequestDetailRules = reactive({
toLocationCode: [
{ required: true, message: '请选择到库位代码', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
itemCode: [
{ required: true, message: '请选择物品代码', trigger: 'change' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
\ No newline at end of file
diff --git a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts
index 14fd58624..322614f67 100644
--- a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts
+++ b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts
@@ -28,14 +28,17 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isSearch: true,
},
{
label: '业务类型',
@@ -44,6 +47,12 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ form: {
+ value: 'InventoryInitial',
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '备注',
@@ -52,6 +61,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '创建时间',
@@ -72,6 +82,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '创建者',
@@ -80,6 +91,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '申请时间',
@@ -129,7 +141,10 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
width: 150
},
form: {
- value: userDept.name
+ value: userDept.name,
+ componentProps: {
+ disabled: true
+ }
}
},
{
@@ -143,6 +158,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '最后更新时间',
@@ -163,6 +179,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '最后更新者',
@@ -171,13 +188,13 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -188,7 +205,8 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -197,7 +215,6 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -208,7 +225,8 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -217,7 +235,6 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -228,7 +245,8 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoExecute,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -237,7 +255,6 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -248,7 +265,8 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -262,9 +280,6 @@ export const InventoryinitRequestMainRules = reactive({
departmentCode: [
{ required: true, message: '请输入部门', trigger: 'blur' }
],
- status: [
- { required: true, message: '请选择状态', trigger: 'change' }
- ],
autoCommit: [
{ required: true, message: '请选择是否自动提交', trigger: 'change' }
],
@@ -277,18 +292,9 @@ export const InventoryinitRequestMainRules = reactive({
directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
businessType: [
{ required: true, message: '请输入业务类型', trigger: 'blur' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
/**
@@ -400,7 +406,6 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive(
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -447,7 +452,6 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive(
field: 'stdPackUnit',
dictType: DICT_TYPE.PACK_UNIT,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -461,6 +465,12 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive(
table: {
width: 150
},
+ isTableForm: false,
+ form: {
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '物品代码',
@@ -477,6 +487,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive(
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建时间',
@@ -497,6 +509,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive(
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建者',
@@ -505,6 +519,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive(
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '物品名称',
@@ -554,7 +570,6 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive(
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -580,6 +595,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive(
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '最后更新者',
@@ -588,6 +605,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive(
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
]))
@@ -626,16 +645,7 @@ export const InventoryinitRequestDetailRules = reactive({
stdPackUnit: [
{ required: true, message: '请选择标包单位', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
itemCode: [
{ required: true, message: '请选择物品代码', trigger: 'change' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
\ No newline at end of file
diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
index 40fd8c594..f6ca6bf04 100644
--- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
+++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
@@ -28,18 +28,19 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '从库位类型范围',
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
+ isSearch: true,
},
{
label: '从库区代码范围',
@@ -54,8 +55,11 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isForm: false,
+ isSearch: true,
},
{
label: '业务类型',
@@ -64,6 +68,12 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ form: {
+ value: 'Scrap',
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '备注',
@@ -72,6 +82,7 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '创建时间',
@@ -92,6 +103,7 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '创建者',
@@ -100,6 +112,7 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '申请时间',
@@ -149,7 +162,10 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
width: 150
},
form: {
- value: userDept.name
+ value: userDept.name,
+ componentProps: {
+ disabled: true
+ }
}
},
{
@@ -163,6 +179,7 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '最后更新时间',
@@ -183,6 +200,7 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '最后更新者',
@@ -191,13 +209,13 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -208,7 +226,8 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disable: true
}
}
},
@@ -217,7 +236,6 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -228,7 +246,8 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disable: true
}
}
},
@@ -237,7 +256,6 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -248,7 +266,8 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoExecute,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disable: true
}
}
},
@@ -257,7 +276,6 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -268,7 +286,8 @@ export const ScrapRequestMain = useCrudSchemas(reactive([
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disable: true
}
}
},
@@ -288,9 +307,6 @@ export const ScrapRequestMainRules = reactive({
departmentCode: [
{ required: true, message: '请输入部门', trigger: 'blur' }
],
- status: [
- { required: true, message: '请选择状态', trigger: 'change' }
- ],
autoCommit: [
{ required: true, message: '请选择是否自动提交', trigger: 'change' }
],
@@ -303,18 +319,9 @@ export const ScrapRequestMainRules = reactive({
directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
businessType: [
{ required: true, message: '请输入业务类型', trigger: 'blur' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
/**
@@ -366,7 +373,6 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -378,7 +384,6 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([
field: 'reason',
dictType: DICT_TYPE.SCRAP_REASON,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -433,7 +438,6 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -459,6 +463,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '最后更新者',
@@ -467,6 +473,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '单据号',
@@ -475,6 +483,12 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ form: {
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '物品代码',
@@ -491,6 +505,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建时间',
@@ -511,6 +527,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建者',
@@ -519,6 +537,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
]))
@@ -536,16 +556,7 @@ export const ScrapRequestDetailRules = reactive({
inventoryStatus: [
{ required: true, message: '请选择库存状态', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
itemCode: [
{ required: true, message: '请选择物品代码', trigger: 'change' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
\ No newline at end of file
diff --git a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts
index 00b16304b..fb14d10d7 100644
--- a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts
+++ b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts
@@ -36,6 +36,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '车牌号',
@@ -66,19 +67,18 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
+ isSearch: true,
},
{
label: '到库位类型范围',
field: 'toLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -114,8 +114,11 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isForm: false,
+ isSearch: true,
},
{
label: '业务类型',
@@ -124,6 +127,12 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ form: {
+ value: 'TransferDeliver',
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '备注',
@@ -132,6 +141,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '创建时间',
@@ -152,6 +162,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '创建者',
@@ -160,6 +171,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '申请时间',
@@ -209,7 +221,10 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
width: 150
},
form: {
- value: userDept.name
+ value: userDept.name,
+ componentProps: {
+ disabled: true
+ }
}
},
{
@@ -223,6 +238,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '最后更新时间',
@@ -243,6 +259,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '最后更新者',
@@ -251,13 +268,13 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -268,7 +285,8 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -277,7 +295,6 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -288,7 +305,8 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -297,7 +315,6 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -308,7 +325,8 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoExecute,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -317,7 +335,6 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -328,7 +345,8 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -357,9 +375,6 @@ export const TransferissueRequestMainRules = reactive({
departmentCode: [
{ required: true, message: '请输入部门', trigger: 'blur' }
],
- status: [
- { required: true, message: '请选择状态', trigger: 'change' }
- ],
autoCommit: [
{ required: true, message: '请选择是否自动提交', trigger: 'change' }
],
@@ -372,18 +387,9 @@ export const TransferissueRequestMainRules = reactive({
directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
businessType: [
{ required: true, message: '请输入业务类型', trigger: 'blur' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
/**
@@ -419,7 +425,6 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive(
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -457,6 +462,12 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive(
table: {
width: 150
},
+ isTableForm: false,
+ form: {
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '备注',
@@ -465,6 +476,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive(
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建者',
@@ -473,6 +486,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive(
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '创建时间',
@@ -493,6 +508,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive(
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
{
label: '物品代码',
@@ -550,7 +567,6 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive(
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -564,6 +580,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive(
table: {
width: 150
},
+ isTableForm: false,
+ isForm: false
},
{
label: '最后更新时间',
@@ -584,6 +602,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive(
valueFormat: 'x',
}
},
+ isTableForm: false,
+ isForm: false
},
]))
@@ -595,16 +615,7 @@ export const TransferissueRequestDetailRules = reactive({
toLocationCode: [
{ required: true, message: '请选择到库位代码', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
itemCode: [
{ required: true, message: '请选择物品代码', trigger: 'change' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
\ No newline at end of file
diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts
index a7a1b3eae..e7d40e815 100644
--- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts
+++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts
@@ -36,6 +36,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isSearch: true,
},
{
label: '车牌号',
@@ -66,7 +67,6 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -78,7 +78,6 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
field: 'toLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -108,14 +107,18 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isSearch: true,
},
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isForm: false,
+ isSearch: true,
},
{
label: '业务类型',
@@ -124,6 +127,12 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ form: {
+ value: 'TransferReceipt',
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '备注',
@@ -132,6 +141,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isForm: false,
},
{
label: '创建时间',
@@ -152,6 +162,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '创建者',
@@ -160,6 +171,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isForm: false,
},
{
label: '申请时间',
@@ -209,7 +221,10 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
width: 150
},
form: {
- value: userDept.name
+ value: userDept.name,
+ componentProps: {
+ disabled: true
+ }
}
},
{
@@ -223,6 +238,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isForm: false,
},
{
label: '最后更新时间',
@@ -243,6 +259,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '最后更新者',
@@ -251,13 +268,13 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
table: {
width: 150
},
+ isForm: false,
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -268,7 +285,8 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -277,7 +295,6 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -288,7 +305,8 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -297,7 +315,6 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -308,7 +325,8 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
value: requestsettingData.autoExecute,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -317,7 +335,6 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -328,7 +345,8 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive(
value: requestsettingData.directCreateRecord,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -357,9 +375,6 @@ export const TransferreceiptRequestMainRules = reactive({
departmentCode: [
{ required: true, message: '请输入部门', trigger: 'blur' }
],
- status: [
- { required: true, message: '请选择状态', trigger: 'change' }
- ],
autoCommit: [
{ required: true, message: '请选择是否自动提交', trigger: 'change' }
],
@@ -372,18 +387,9 @@ export const TransferreceiptRequestMainRules = reactive({
directCreateRecord: [
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' }
],
- number: [
- { required: true, message: '请输入单据号', trigger: 'blur' }
- ],
businessType: [
{ required: true, message: '请输入业务类型', trigger: 'blur' }
],
- createTime: [
- { required: true, message: '请输入创建时间', trigger: 'blur' }
- ],
- creator: [
- { required: true, message: '请输入创建者', trigger: 'blur' }
- ],
})
/**
@@ -419,7 +425,6 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive([
field: 'fromLocationTypes',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
+ isSearch: true,
},
{
label: '从库区代码范围',
@@ -48,14 +48,18 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isSearch: true,
},
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
- width: 150
+ width: 150,
+ fixed: 'left'
},
+ isForm: false,
+ isSearch: true,
},
{
label: '业务类型',
@@ -64,6 +68,12 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ form: {
+ value: 'UnplannedDeliver',
+ componentProps: {
+ disabled: true
+ }
+ }
},
{
label: '备注',
@@ -72,6 +82,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '创建时间',
@@ -92,6 +103,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '创建者',
@@ -100,6 +112,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '申请时间',
@@ -149,7 +162,10 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
width: 150
},
form: {
- value: userDept.name
+ value: userDept.name,
+ componentProps: {
+ disabled: true
+ }
}
},
{
@@ -163,6 +179,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '最后更新时间',
@@ -183,6 +200,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
valueFormat: 'x',
}
},
+ isForm: false,
},
{
label: '最后更新者',
@@ -191,13 +209,13 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
table: {
width: 150
},
+ isForm: false,
},
{
label: '自动提交',
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -208,7 +226,8 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoCommit,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -217,7 +236,6 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
- isSearch: true,
isTable: true,
sort: 'custom',
table: {
@@ -228,7 +246,8 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([
value: requestsettingData.autoAgree,
componentProps: {
inactiveValue: 'FALSE',
- activeValue: 'TRUE'
+ activeValue: 'TRUE',
+ disabled: true
}
}
},
@@ -237,7 +256,6 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive