Browse Source

BUG修改

master
yejiaxing 10 months ago
parent
commit
26684cd071
  1. 4
      src/utils/dict.ts
  2. 67
      src/views/eam/basic/item/item.data.ts
  3. 2
      src/views/eam/basic/location/location.data.ts
  4. 18
      src/views/eam/basic/locationArea/locationArea.data.ts
  5. 80
      src/views/eam/basic/supplier/supplier.data.ts
  6. 6
      src/views/eam/device/deviceAccounts/deviceAccounts.data.ts
  7. 2
      src/views/eam/device/deviceAllot/deviceAllot.data.ts
  8. 2
      src/views/eam/device/deviceInspectionMain/deviceInspectionMain.data.ts
  9. 2
      src/views/eam/device/deviceMaintainOrderMain/deviceMaintainOrderMain.data.ts
  10. 4
      src/views/eam/device/deviceMaintainPlan/deviceMaintainPlan.data.ts
  11. 2
      src/views/eam/device/deviceMaintenanceMain/deviceMaintenanceMain.data.ts
  12. 4
      src/views/eam/device/deviceRepair/deviceRepair.data.ts
  13. 2
      src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts
  14. 41
      src/views/eam/item/itemAccounts/itemAccounts.data.ts
  15. 44
      src/views/eam/item/itemApplyMain/itemApplyMain.data.ts
  16. 67
      src/views/eam/item/itemLocationInRecord/itemLocationInRecord.data.ts
  17. 68
      src/views/eam/item/itemLocationOutRecord/itemLocationOutRecord.data.ts
  18. 4
      src/views/eam/item/itemLocationRecord/itemLocationRecord.data.ts
  19. 62
      src/views/eam/item/itemMaintenance/itemMaintenance.data.ts
  20. 32
      src/views/eam/item/itemOrderMain/index.vue
  21. 40
      src/views/eam/item/itemOrderMain/itemOrderMain.data.ts
  22. 2
      src/views/eam/mold/moldAccounts/moldAccounts.data.ts
  23. 2
      src/views/eam/mold/moldInspectionMain/moldInspectionMain.data.ts
  24. 2
      src/views/eam/mold/moldMaintainOrderMain/moldMaintainOrderMain.data.ts
  25. 4
      src/views/eam/mold/moldMaintainPlan/moldMaintainPlan.data.ts
  26. 2
      src/views/eam/mold/moldMaintenanceMain/moldMaintenanceMain.data.ts
  27. 4
      src/views/eam/mold/moldRepair/moldRepair.data.ts

4
src/utils/dict.ts

@ -275,5 +275,9 @@ export enum DICT_TYPE {
LOCATION_AREA_TYPE = 'location_area_type', // 库区类型
DEVICEMOLDITEMS_STATUS = 'devicemolditems_status', // 项类型
DEVICE_MOLD_TYPE = 'device_mold_type', // 设备/模具类型
TRANSACTION_TYPE = 'transaction_Type', // 事务类型
RESULT = 'result', // 事务类型
}

67
src/views/eam/basic/item/item.data.ts

@ -21,40 +21,60 @@ export const Item = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '名称',
label: '备件名称',
field: 'name',
sort: 'custom',
isSearch: true,
},
{
label: '品牌',
field: 'brand',
sort: 'custom',
},
{
label: '规格型号',
label: '规格',
field: 'specifications',
sort: 'custom',
},
{
label: '是否存储',
field: 'isConstant',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '科目代码',
label: '科目',
field: 'subject',
sort: 'custom',
},
{
label: '枚举',
field: 'classification',
sort: 'custom',
},
{
label: '单位',
field: 'uom',
sort: 'custom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isSearch: true,
isTable: true,
table: {
width: 150
},
tableForm: {
type: 'Select'
}
},
{
label: '单价',
@ -94,11 +114,30 @@ export const Item = useCrudSchemas(reactive<CrudSchema[]>([
field: 'financer',
sort: 'custom',
},
{
label: '是否以旧换新',
field: 'isRadeIn',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '是否可用',

2
src/views/eam/basic/location/location.data.ts

@ -24,7 +24,7 @@ export const Location = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '名称',
label: '库位名称',
field: 'name',
sort: 'custom',
isSearch: true,

18
src/views/eam/basic/locationArea/locationArea.data.ts

@ -21,7 +21,7 @@ export const LocationArea = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '名称',
label: '库区名称',
field: 'name',
sort: 'custom',
isSearch: true,
@ -39,7 +39,7 @@ export const LocationArea = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '是否可用',
label: '状态',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
@ -64,14 +64,14 @@ export const LocationArea = useCrudSchemas(reactive<CrudSchema[]>([
}
},
{
label: '描述',
field: 'description',
sort: 'custom',
table: {
width: 150
},
{
label: '描述',
field: 'description',
sort: 'custom',
table: {
width: 150
},
},
{
label: '操作',

80
src/views/eam/basic/supplier/supplier.data.ts

@ -19,7 +19,7 @@ export const Supplier = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '名称',
label: '供应商名称',
field: 'name',
sort: 'custom',
isSearch: true,
@ -31,69 +31,41 @@ export const Supplier = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
},
{
label: '地址',
field: 'address',
sort: 'custom',
isSearch: true,
},
{
label: '国家',
field: 'country',
sort: 'custom',
isSearch: true,
},
{
label: '城市',
field: 'city',
label: '联系人',
field: 'contacts',
sort: 'custom',
isSearch: true,
},
{
label: '电话',
label: '联系电话',
field: 'phone',
sort: 'custom',
isSearch: true,
},
{
label: '传真',
field: 'fax',
sort: 'custom',
},
{
label: '邮编',
field: 'postId',
sort: 'custom',
},
{
label: '联系人',
field: 'contacts',
label: '状态',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '备注',
field: 'remark',

6
src/views/eam/device/deviceAccounts/deviceAccounts.data.ts

@ -37,9 +37,9 @@ export const DeviceAccounts = useCrudSchemas(reactive<CrudSchema[]>([
field: 'type',
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
},
form: {
component: 'Select'
},
},
{
label: '所属厂区编号',

2
src/views/eam/device/deviceAllot/deviceAllot.data.ts

@ -38,7 +38,7 @@ export const DeviceAllot = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

2
src/views/eam/device/deviceInspectionMain/deviceInspectionMain.data.ts

@ -69,7 +69,7 @@ export const DeviceInspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

2
src/views/eam/device/deviceMaintainOrderMain/deviceMaintainOrderMain.data.ts

@ -127,7 +127,7 @@ export const deviceMaintainOrderMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

4
src/views/eam/device/deviceMaintainPlan/deviceMaintainPlan.data.ts

@ -28,7 +28,7 @@ export const DeviceMaintainPlan = useCrudSchemas(reactive<CrudSchema[]>([
field: 'maintenanceType',
sort: 'custom',
form: {
component: 'SelectV2'
component: 'Select'
},
},
{
@ -51,7 +51,7 @@ export const DeviceMaintainPlan = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

2
src/views/eam/device/deviceMaintenanceMain/deviceMaintenanceMain.data.ts

@ -70,7 +70,7 @@ export const DeviceMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

4
src/views/eam/device/deviceRepair/deviceRepair.data.ts

@ -55,7 +55,7 @@ export const DeviceRepair = useCrudSchemas(reactive<CrudSchema[]>([
field: 'faultType',
sort: 'custom',
form: {
component: 'SelectV2'
component: 'Select'
},
},
{
@ -64,7 +64,7 @@ export const DeviceRepair = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

2
src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts

@ -57,7 +57,7 @@ export const DeviceSpotInspectionRecordMain = useCrudSchemas(reactive<CrudSchema
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

41
src/views/eam/item/itemAccounts/itemAccounts.data.ts

@ -26,35 +26,34 @@ export const ItemAccounts = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
},
{
label: '是否账内库TRUE账内FALSE账外',
label: '是否账内库',
field: 'isInAccount',
sort: 'custom',
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
isForm: false,
},
{
label: '地点ID',
field: 'siteId',
sort: 'custom',
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
},
{
label: '并发乐观锁',
field: 'concurrencyStamp',
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '操作',

44
src/views/eam/item/itemApplyMain/itemApplyMain.data.ts

@ -10,7 +10,7 @@ export const ItemApplyMainRules = reactive({
export const ItemApplyMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '编号',
label: '申请编号',
field: 'number',
sort: 'custom',
isSearch: true,
@ -21,12 +21,12 @@ export const ItemApplyMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
},
{
label: '维修申领、以旧换新字典',
label: '维修申领、以旧换新',
field: 'type',
sort: 'custom',
form: {
component: 'SelectV2'
},
form: {
component: 'Select'
},
},
{
label: '申领人id',
@ -115,25 +115,33 @@ export const ItemApplyMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false,
},
{
label: '地点ID',
field: 'siteId',
sort: 'custom',
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
},
{
label: '并发乐观锁',
field: 'concurrencyStamp',
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '操作',
field: 'action',

67
src/views/eam/item/itemLocationInRecord/itemLocationInRecord.data.ts

@ -13,7 +13,7 @@ export const ItemLocationInRecordRules = reactive({
export const ItemLocationInRecord = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '编号唯一标识',
label: '编号',
field: 'itemNumber',
sort: 'custom',
isSearch: true,
@ -24,12 +24,29 @@ export const ItemLocationInRecord = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
},
{
label: '事务类型IN、OUT',
label: '事务类型',
field: 'transactionType',
dictType: DICT_TYPE.TRANSACTION_TYPE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
form: {
component: 'SelectV2'
},
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '库存动作',
@ -42,9 +59,9 @@ export const ItemLocationInRecord = useCrudSchemas(reactive<CrudSchema[]>([
field: 'businessType',
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
},
form: {
component: 'Select'
},
},
{
label: '库存状态',
@ -55,7 +72,7 @@ export const ItemLocationInRecord = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '计量单位从备件中获取',
label: '计量单位',
field: 'uom',
sort: 'custom',
},
@ -80,24 +97,30 @@ export const ItemLocationInRecord = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false,
},
{
label: '地点ID',
field: 'siteId',
sort: 'custom',
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
},
{
label: '并发乐观锁',
field: 'concurrencyStamp',
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '操作',

68
src/views/eam/item/itemLocationOutRecord/itemLocationOutRecord.data.ts

@ -13,7 +13,7 @@ export const ItemLocationOutRecordRules = reactive({
export const ItemLocationOutRecord = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '编号唯一标识',
label: '编号',
field: 'itemNumber',
sort: 'custom',
isSearch: true,
@ -23,13 +23,31 @@ export const ItemLocationOutRecord = useCrudSchemas(reactive<CrudSchema[]>([
field: 'locationNumber',
sort: 'custom',
},
{
label: '事务类型IN、OUT',
label: '事务类型',
field: 'transactionType',
dictType: DICT_TYPE.TRANSACTION_TYPE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
form: {
component: 'SelectV2'
},
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '库存动作',
@ -42,9 +60,9 @@ export const ItemLocationOutRecord = useCrudSchemas(reactive<CrudSchema[]>([
field: 'businessType',
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
},
form: {
component: 'Select'
},
},
{
label: '库存状态',
@ -55,7 +73,7 @@ export const ItemLocationOutRecord = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '计量单位从备件中获取',
label: '计量单位',
field: 'uom',
sort: 'custom',
},
@ -80,24 +98,30 @@ export const ItemLocationOutRecord = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false,
},
{
label: '地点ID',
field: 'siteId',
sort: 'custom',
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
},
{
label: '并发乐观锁',
field: 'concurrencyStamp',
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '操作',

4
src/views/eam/item/itemLocationRecord/itemLocationRecord.data.ts

@ -28,7 +28,7 @@ export const ItemLocationRecord = useCrudSchemas(reactive<CrudSchema[]>([
field: 'transactionType',
sort: 'custom',
form: {
component: 'SelectV2'
component: 'Select'
},
},
{
@ -43,7 +43,7 @@ export const ItemLocationRecord = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

62
src/views/eam/item/itemMaintenance/itemMaintenance.data.ts

@ -11,13 +11,13 @@ export const ItemMaintenanceRules = reactive({
export const ItemMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '代码',
label: '编号',
field: 'number',
sort: 'custom',
isSearch: true,
},
{
label: '备件代码',
label: '备件编号',
field: 'itemNumber',
sort: 'custom',
isSearch: true,
@ -28,10 +28,29 @@ export const ItemMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
},
{
label: '维修结果YES、NO',
label: '事务类型',
field: 'result',
sort: 'custom',
dictType: DICT_TYPE.RESULT,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '创建时间',
@ -49,24 +68,31 @@ export const ItemMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false,
},
{
label: '地点ID',
field: 'siteId',
sort: 'custom',
},
{
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
},
{
label: '并发乐观锁',
field: 'concurrencyStamp',
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '操作',

32
src/views/eam/item/itemOrderMain/index.vue

@ -53,8 +53,6 @@
<!-- 详情 -->
<Detail ref="detailRef" :isBasic="true" :allSchemas="ItemOrderMain.allSchemas" />
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/eam/item-order-main/import" :importTemplateData="importTemplateData" @success="importSuccess" />
</template>
<script setup lang="ts">
@ -63,7 +61,6 @@ import { ItemOrderMain,ItemOrderMainRules } from './itemOrderMain.data'
import * as ItemOrderMainApi from '@/api/eam/item/itemOrderMain'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
defineOptions({ name: 'ItemOrderMain' })
@ -99,9 +96,8 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'eam:itemOrderMain:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'eam:itemOrderMain:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'eam:itemOrderMain:export'}), //
defaultButtons.defaultAddBtn(null), //
defaultButtons.defaultExportBtn(null), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
@ -119,9 +115,7 @@ const HeadButttondata = [
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
} else if (val == 'import') { //
handleImport()
} else if (val == 'export') { //
} else if (val == 'export') { //
handleExport()
} else if (val == 'refresh') { //
getList()
@ -133,8 +127,8 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'eam:itemOrderMain:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'eam:itemOrderMain:delete'}), //
defaultButtons.mainListEditBtn(null), //
defaultButtons.mainListDeleteBtn(null), //
]
// -
@ -211,21 +205,6 @@ const handleExport = async () => {
}
}
/** 导入 */
const importFormRef = ref()
const handleImport = () => {
importFormRef.value.open()
}
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '备件采购订单主导入模版.xlsx'
})
//
const importSuccess = () => {
getList()
}
//
const searchFormClick = (searchData) => {
tableObject.params = {
@ -238,7 +217,6 @@ const searchFormClick = (searchData) => {
/** 初始化 **/
onMounted(async () => {
getList()
importTemplateData.templateUrl = await ItemOrderMainApi.importTemplate()
})
</script>

40
src/views/eam/item/itemOrderMain/itemOrderMain.data.ts

@ -10,7 +10,7 @@ export const ItemOrderMainRules = reactive({
export const ItemOrderMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '订单号唯一标识',
label: '订单号',
field: 'number',
sort: 'custom',
isSearch: true,
@ -82,9 +82,9 @@ export const ItemOrderMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '付款方式',
field: 'paymentType',
sort: 'custom',
form: {
component: 'SelectV2'
},
form: {
component: 'Select'
},
},
{
label: '注册地',
@ -122,24 +122,30 @@ export const ItemOrderMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false,
},
{
label: '地点ID',
field: 'siteId',
sort: 'custom',
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
},
{
label: '并发乐观锁',
field: 'concurrencyStamp',
sort: 'custom',
form: {
component: 'InputNumber',
value: 0
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '操作',

2
src/views/eam/mold/moldAccounts/moldAccounts.data.ts

@ -37,7 +37,7 @@ export const MoldAccounts = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

2
src/views/eam/mold/moldInspectionMain/moldInspectionMain.data.ts

@ -69,7 +69,7 @@ export const MoldInspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

2
src/views/eam/mold/moldMaintainOrderMain/moldMaintainOrderMain.data.ts

@ -127,7 +127,7 @@ export const MoldMaintainOrderMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

4
src/views/eam/mold/moldMaintainPlan/moldMaintainPlan.data.ts

@ -28,7 +28,7 @@ export const MoldMaintainPlan = useCrudSchemas(reactive<CrudSchema[]>([
field: 'maintenanceType',
sort: 'custom',
form: {
component: 'SelectV2'
component: 'Select'
},
},
{
@ -51,7 +51,7 @@ export const MoldMaintainPlan = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

2
src/views/eam/mold/moldMaintenanceMain/moldMaintenanceMain.data.ts

@ -70,7 +70,7 @@ export const MoldMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

4
src/views/eam/mold/moldRepair/moldRepair.data.ts

@ -55,7 +55,7 @@ export const MoldRepair = useCrudSchemas(reactive<CrudSchema[]>([
field: 'faultType',
sort: 'custom',
form: {
component: 'SelectV2'
component: 'Select'
},
},
{
@ -64,7 +64,7 @@ export const MoldRepair = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
form: {
component: 'SelectV2'
component: 'Select'
},
},
{

Loading…
Cancel
Save