Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
陈薪名 5 months ago
parent
commit
72c4630f1b
  1. 5
      src/api/wms/expectin/index.ts
  2. 5
      src/api/wms/expectout/index.ts
  3. 2
      src/api/wms/inventorychangeRecordMain/index.ts
  4. 2
      src/api/wms/inventorychangeRequestMain/index.ts
  5. 2
      src/components/Table/src/Table.vue
  6. 2
      src/hooks/web/useTable.ts
  7. 13
      src/utils/disposition/defaultButtons.ts
  8. 14
      src/views/eam/equipmentInspectionMain/finishForm2.vue
  9. 26
      src/views/eam/equipmentMaintenanceMain/equipmentMaintenanceMain.data.ts
  10. 14
      src/views/eam/equipmentMaintenanceMain/finishForm2.vue
  11. 14
      src/views/eam/equipmentRepairJobMain/finishForm2.vue
  12. 14
      src/views/eam/equipmentSpotCheckMain/finishForm2.vue
  13. 4
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts
  14. 4
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts
  15. 4
      src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts
  16. 4
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts
  17. 4
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  18. 5
      src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts
  19. 4
      src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts
  20. 4
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts
  21. 4
      src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts
  22. 4
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
  23. 4
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
  24. 2
      src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts
  25. 14
      src/views/wms/deliversettlementManage/saleShipmentMainRecord/saleShipmentMainRecord.data.ts
  26. 14
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts
  27. 49
      src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts
  28. 31
      src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts
  29. 20
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts
  30. 50
      src/views/wms/inventoryManage/expectin/index.vue
  31. 51
      src/views/wms/inventoryManage/expectout/index.vue
  32. 36
      src/views/wms/inventoryManage/package/package.data.ts
  33. 17
      src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts
  34. 15
      src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts
  35. 38
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/inventoryinitRecordMain.data.ts
  36. 10
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts
  37. 4
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts
  38. 2
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts
  39. 2
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
  40. 6
      src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts
  41. 34
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts
  42. 6
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts
  43. 2
      src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue
  44. 2
      src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/inventorychangeRecordMain.data.ts
  45. 12
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts
  46. 120
      src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts
  47. 147
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts
  48. 128
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts
  49. 52
      src/views/wms/productionManage/processproduction/processproductionRecord/processproductionRecordMain.data.ts
  50. 71
      src/views/wms/productionManage/processproduction/processproductionRequest/processproductionRequestMain.data.ts
  51. 34
      src/views/wms/productionManage/productputaway/productputawayJobMain/productputawayJobMain.data.ts
  52. 33
      src/views/wms/productionManage/productputaway/productputawayRecordMain/productputawayRecordMain.data.ts
  53. 2
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue
  54. 6
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/productputawayAssembleJobMain.data.ts
  55. 33
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/productputawayAssembleRecordMain.data.ts
  56. 4
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/productputawayAssembleRequestMain.data.ts
  57. 18
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts
  58. 4
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/index.vue
  59. 2
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/sparereceiptJobMain.data.ts
  60. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue
  61. 107
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
  62. 5
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

5
src/api/wms/expectin/index.ts

@ -44,6 +44,11 @@ export const deleteExpectin = async (id: number) => {
return await request.delete({ url: `/wms/expectin/delete?id=` + id })
}
// 批量删除预计出库存
export const deleteExpectinIds = async (ids: string) => {
return await request.delete({ url: `/wms/expectin/deleteIds?ids=` + ids })
}
// 导出预计入库存 Excel
export const exportExpectin = async (params) => {
if (params.isSearch) {

5
src/api/wms/expectout/index.ts

@ -45,6 +45,11 @@ export const deleteExpectout = async (id: number) => {
return await request.delete({ url: `/wms/expectout/delete?id=` + id })
}
// 批量删除预计出库存
export const deleteExpectoutIds = async (ids: string) => {
return await request.delete({ url: `/wms/expectout/deleteIds?ids=` + ids })
}
// 导出预计出库存 Excel
export const exportExpectout = async (params) => {
if (params.isSearch) {

2
src/api/wms/inventorychangeRecordMain/index.ts

@ -56,7 +56,7 @@ export const exportInventorychangeRecordMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorychange-record-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/inventorychange-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/inventorychange-record-main/export-excel`, params })
}

2
src/api/wms/inventorychangeRequestMain/index.ts

@ -55,7 +55,7 @@ export const exportInventorychangeRequestMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorychange-request-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/inventorychange-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/inventorychange-request-main/export-excel`, params })
}

2
src/components/Table/src/Table.vue

@ -17,7 +17,7 @@ export default defineComponent({
// eslint-disable-next-line vue/no-reserved-component-names
name: 'Table',
props: {
pageSize: propTypes.number.def(10),
pageSize: propTypes.number.def(20),
currentPage: propTypes.number.def(1),
//
selection: propTypes.bool.def(false),

2
src/hooks/web/useTable.ts

@ -39,7 +39,7 @@ interface TableObject<T = any> {
export const useTable = <T = any>(config?: UseTableConfig<T>) => {
const tableObject = reactive<TableObject<T>>({
// 页数
pageSize: 10,
pageSize: 20,
// 当前页
currentPage: 1,
// 总条数

13
src/utils/disposition/defaultButtons.ts

@ -980,6 +980,19 @@ export function mainLisSelectiontPointBtn(option:any) {
hasPermi: ''
})
}
// 主列表-批量删除
export function mainLisSelectiontDeleteBtn(option:any) {
return __defaultBtnOption(option,{
label: t(`ts.批量删除`).replace('ts.', ''),
name: 'selection_delete',
hide: false,
type: 'primary',
icon: 'ep:download',
color: '',
float:'left',
hasPermi: ''
})
}
// 主列表-生成采购收货申请
export function mainListGenerateApplicationBtn(option:any) {
return __defaultBtnOption(option,{

14
src/views/eam/equipmentInspectionMain/finishForm2.vue

@ -2,11 +2,11 @@
<Dialog v-model="dialogVisible" :title="dialogTitle" :close-on-click-modal="false">
<el-form ref="basicFormRef" v-loading="formLoading" :model="formData" :rules="formRules" label-width="100px">
<el-row>
<el-col :span="12">
<el-form-item label="巡检人ID" prop="maintenancer">
<el-input v-model="formData.maintenancer" placeholder="请输入巡检人" :disabled="isDisabled"/>
</el-form-item>
</el-col>
<!-- <el-col :span="12">-->
<!-- <el-form-item label="巡检人ID" prop="maintenancer">-->
<!-- <el-input v-model="formData.maintenancer" placeholder="请输入巡检人" :disabled="isDisabled"/>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="12">
<el-form-item label="巡检人电话" prop="maintenancePhone">
<el-input v-model="formData.maintenancePhone" placeholder="请输入巡检人电话" />
@ -72,16 +72,12 @@ const InputRef = ref<InstanceType<typeof ElInput>>()
const formData = ref({
id:'',
number:'',
maintenancer: '',
maintenancePhone: '',
startTime:'',
endTime:'',
status:'5',
})
const formRules = reactive({
maintenancer: [
{ required: true, message: '巡检人ID不能为空', trigger: 'blur' },
],
maintenancePhone: [
{ required: true, message: '巡检人电话不能为空', trigger: 'blur' },
],

26
src/views/eam/equipmentMaintenanceMain/equipmentMaintenanceMain.data.ts

@ -9,11 +9,15 @@ import * as ItemApi from "@/api/eam/relationMaintenancePlanItem";
import {validateroundNumber} from "@/utils/validator";
import {BasicFaultType} from "@/views/eam/basicFaultType/basicFaultType.data";
import * as BasicFaultTypeApi from "@/api/eam/basicFaultType";
import {BasicMaintenanceOption} from "@/views/eam/basicMaintenanceOption/basicMaintenanceOption.data";
import * as BasicMaintenanceOptionApi from "@/api/eam/basicMaintenanceOption";
// 表单校验
export const EquipmentMaintenanceMainRules = reactive({
number: [required],
sources: [required],
optionCode:[required],
equipmentCode: [required],
type: [required],
planStartTime: [required],
@ -112,6 +116,28 @@ export const EquipmentMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '保养方案',
field: 'optionCode',
sort: 'custom',
isSearch: true,
isTable: false,
form: {
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择保养方案', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '保养方案信息', // 查询弹窗标题
searchAllSchemas: BasicMaintenanceOption.allSchemas, // 查询弹窗所需类
searchPage: BasicMaintenanceOptionApi.getBasicMaintenanceOptionPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
},
},
{
label: '保养计划工单号',
field: 'planNumber',

14
src/views/eam/equipmentMaintenanceMain/finishForm2.vue

@ -2,11 +2,11 @@
<Dialog v-model="dialogVisible" :title="dialogTitle" :close-on-click-modal="false">
<el-form ref="basicFormRef" v-loading="formLoading" :model="formData" :rules="formRules" label-width="100px">
<el-row>
<el-col :span="12">
<el-form-item label="保养人ID" prop="maintenancer">
<el-input v-model="formData.maintenancer" placeholder="请输入保养人" :disabled="isDisabled"/>
</el-form-item>
</el-col>
<!-- <el-col :span="12">-->
<!-- <el-form-item label="保养人ID" prop="maintenancer">-->
<!-- <el-input v-model="formData.maintenancer" placeholder="请输入保养人" :disabled="isDisabled"/>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="12">
<el-form-item label="保养人电话" prop="maintenancePhone">
<el-input v-model="formData.maintenancePhone" placeholder="请输入保养人电话" />
@ -71,16 +71,12 @@ const InputRef = ref<InstanceType<typeof ElInput>>()
const formData = ref({
id:'',
number:'',
maintenancer: '',
maintenancePhone: '',
startTime:'',
endTime:'',
status:'5',
})
const formRules = reactive({
maintenancer: [
{ required: true, message: '保养人ID不能为空', trigger: 'blur' },
],
maintenancePhone: [
{ required: true, message: '保养人电话不能为空', trigger: 'blur' },
],

14
src/views/eam/equipmentRepairJobMain/finishForm2.vue

@ -40,11 +40,11 @@
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="执行人" prop="maintenancer">
<el-input v-model="formData.maintenancer" placeholder="请输入执行人"/>
</el-form-item>
</el-col>
<!-- <el-col :span="12">-->
<!-- <el-form-item label="执行人" prop="maintenancer">-->
<!-- <el-input v-model="formData.maintenancer" placeholder="请输入执行人"/>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="12">
<el-form-item label="维修人电话" prop="maintenancePhone">
<el-input v-model="formData.maintenancePhone" placeholder="请输入维修人电话" />
@ -102,7 +102,6 @@ const formData = ref({
level: '',
startTime:'',
endTime:'',
maintenancer:'',
maintenancePhone:'',
completeResult:'',
status:'5'
@ -120,9 +119,6 @@ const formRules = reactive({
endTime: [
{ required: true, message: '结束时间不能为空', trigger: 'blur' },
],
maintenancer: [
{ required: true, message: '维修人ID不能为空', trigger: 'blur' },
],
maintenancePhone: [
{ required: true, message: '维修人电话不能为空', trigger: 'blur' },
],

14
src/views/eam/equipmentSpotCheckMain/finishForm2.vue

@ -2,11 +2,11 @@
<Dialog v-model="dialogVisible" :title="dialogTitle" :close-on-click-modal="false">
<el-form ref="basicFormRef" v-loading="formLoading" :model="formData" :rules="formRules" label-width="100px">
<el-row>
<el-col :span="12">
<el-form-item label="巡检人ID" prop="maintenancer">
<el-input v-model="formData.maintenancer" placeholder="请输入巡检人" :disabled="isDisabled"/>
</el-form-item>
</el-col>
<!-- <el-col :span="12">-->
<!-- <el-form-item label="巡检人ID" prop="maintenancer">-->
<!-- <el-input v-model="formData.maintenancer" placeholder="请输入巡检人" :disabled="isDisabled"/>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="12">
<el-form-item label="巡检人电话" prop="maintenancePhone">
<el-input v-model="formData.maintenancePhone" placeholder="请输入巡检人电话" />
@ -73,16 +73,12 @@ const InputRef = ref<InstanceType<typeof ElInput>>()
const formData = ref({
id:'',
number:'',
maintenancer: '',
maintenancePhone: '',
startTime:'',
endTime:'',
status:'5',
})
const formRules = reactive({
maintenancer: [
{ required: true, message: '巡检人ID不能为空', trigger: 'blur' },
],
maintenancePhone: [
{ required: true, message: '巡检人电话不能为空', trigger: 'blur' },
],

4
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts

@ -308,7 +308,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -325,7 +325,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false
isTable: true
},
// {
// label: '代码',

4
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts

@ -365,7 +365,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
valueFormat: 'x',
}
},
isTable: false,
isTable: true,
isForm: false
},
{
@ -383,7 +383,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
valueFormat: 'x',
}
},
isTable: false,
isTable: true,
isForm: false
},
{

4
src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts

@ -563,7 +563,7 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -580,7 +580,7 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '最后更新时间',

4
src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts

@ -328,7 +328,7 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -345,7 +345,7 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
// {
// label: '代码',

4
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

@ -505,7 +505,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable:false,
isTable:true,
form: {
component: 'DatePicker',
componentProps: {
@ -524,7 +524,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable:false,
isTable:true,
isForm: false
},
{

5
src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts

@ -542,6 +542,7 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
valueFormat: 'x',
}
},
isTable: false,
},
{
label: '创建者',
@ -550,11 +551,13 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isTable: false,
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
isTable: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
@ -570,11 +573,13 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
valueFormat: 'x',
}
},
isTable: false
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
isTable: false,
table: {
width: 150
},

4
src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts

@ -301,6 +301,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
isForm: false,
isTable: false,
},
{
label: '创建者',
@ -310,6 +311,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isForm: false,
isTable: false,
},
{
label: '申请时间',
@ -354,6 +356,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
isForm: false,
isTable: false,
},
{
label: '最后更新者',
@ -363,6 +366,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isForm: false,
isTable: false,
},
{
label: '操作',

4
src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts

@ -569,7 +569,7 @@ export const DeliverJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -586,7 +586,7 @@ export const DeliverJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '最后更新时间',

4
src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts

@ -334,7 +334,7 @@ export const DeliverRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -351,7 +351,7 @@ export const DeliverRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
// {
// label: '代码',

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

@ -524,7 +524,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -543,7 +543,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
isForm: false,
},
{

4
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

@ -226,7 +226,7 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -244,7 +244,7 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
isForm: false,
},
{

2
src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts

@ -214,6 +214,7 @@ export const SaleMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isForm: false,
isTable: false
},
{
label: '最后更新时间',
@ -235,6 +236,7 @@ export const SaleMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
isForm: false,
isTable: false
},
{
label: '当前阶段',

14
src/views/wms/deliversettlementManage/saleShipmentMainRecord/saleShipmentMainRecord.data.ts

@ -107,6 +107,9 @@ export const SaleShipmentMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
table: {
width: 180
},
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
@ -119,7 +122,16 @@ export const SaleShipmentMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
}
},
isForm: false,
isTable:false
isTable:true
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '地点ID',

14
src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts

@ -222,6 +222,9 @@ export const SaleShipmentMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
table: {
width: 180
},
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
@ -235,7 +238,16 @@ export const SaleShipmentMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false,
isTableForm: false,
isTable: false
isTable: true
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '操作',

49
src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts

@ -76,6 +76,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isTable: false,
search: {
component: 'DatePicker',
@ -101,6 +104,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isTable: false,
search: {
component: 'DatePicker',
@ -127,6 +133,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isTable: false,
search: {
component: 'DatePicker',
@ -164,6 +173,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
field: 'acceptTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
@ -202,6 +214,9 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
width: 180
},
isTable: false,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
search: {
component: 'DatePicker',
componentProps: {
@ -389,24 +404,18 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: false,
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 120
},
isTable: false,
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
table: {
width: 180
width: 120
},
isTable: false,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
hiddenInMain: true,
search: {
component: 'DatePicker',
componentProps: {
@ -415,7 +424,16 @@ export const StockupMainJob = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
isTableForm: false,
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '操作',
@ -600,6 +618,15 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false,
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 120
},
isTable: false,
},
{
label: '操作',
field: 'action',

31
src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts

@ -183,6 +183,9 @@ export const StockupMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
width: 180
},
isTable: false,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
@ -197,6 +200,9 @@ export const StockupMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
field: 'dueTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
search: {
component: 'DatePicker',
componentProps: {
@ -220,21 +226,32 @@ export const StockupMainRecord = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
search: {
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
table: {
width: 180
width: 130
},
isTable: false,
isForm: false,
isTable: true
},
{
label: '部门',

20
src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts

@ -176,12 +176,21 @@ export const StockupMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
isTable: false,
isTable: true,
table: {
width: 180
},
isForm: false,
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '发货日期',
field: 'deliverDate',
@ -773,6 +782,15 @@ export const StockupDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
},
isTableForm: false,
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '操作',
field: 'action',

50
src/views/wms/inventoryManage/expectin/index.vue

@ -1,7 +1,7 @@
<template>
<ContentWrap>
<!-- 搜索工作栏 -->
<Search :schema="Expectin.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" />
<Search :schema="Expectin.allSchemas.searchSchema" @search="searchList" @reset="searchList" />
</ContentWrap>
<!-- 列表头部 -->
@ -16,7 +16,9 @@
<!-- 列表 -->
<ContentWrap>
<Table v-clientTable
<Table ref="tableRef"
:selection="true"
v-clientTable
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
@ -26,6 +28,7 @@
v-model:pageSize="tableObject.pageSize"
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
@getSelectionRows="getSelectionRows"
>
<template #jobNumber="{row}">
<el-button type="primary" link @click="openDetail(row, '任务号', row.jobNumber)">
@ -96,6 +99,8 @@ const HeadButttondata = [
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
defaultButtons.mainLisSelectiontDeleteBtn(null), //
// {
// label: '',
// name: 'zdy',
@ -123,10 +128,51 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else if (val == 'selection_delete') { //
handleSelectionDelete()
} else { //
console.log('其他按钮', item)
}
}
const searchList = (model)=>{
selectionRows.value = []
setSearchParams(model)
}
const selectionRows = ref<any>([])
const tableRef = ref()
const getSelectionRows = (currentPage,currentPageSelectionRows) => {
console.log("getSelectionRows",currentPage,currentPageSelectionRows)
const currentRows = selectionRows.value.find(item=>item.currentPage==currentPage)
if(currentRows){
currentRows.selectionRows = currentPageSelectionRows
}else{
selectionRows.value.push({
currentPage,
selectionRows:currentPageSelectionRows
})
}
}
const handleSelectionDelete = async ()=>{
let rows:any = []
selectionRows.value.forEach(item=>{
rows = [...rows,...item.selectionRows.map(item1=>item1.id)]
})
if(rows.length==0){
return
}
try {
//
await message.delConfirm()
tableObject.loading = true
//
console.log('批量删除',rows.join(','))
await ExpectinApi.deleteExpectinIds(rows.join(','))
message.success(t('common.delSuccess'))
tableObject.loading = false
//
getList()
} catch {}
}
// -
const butttondata = [

51
src/views/wms/inventoryManage/expectout/index.vue

@ -1,7 +1,7 @@
<template>
<ContentWrap>
<!-- 搜索工作栏 -->
<Search :schema="Expectout.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" />
<Search :schema="Expectout.allSchemas.searchSchema" @search="searchList" @reset="searchList" />
</ContentWrap>
<!-- 列表头部 -->
@ -16,7 +16,9 @@
<!-- 列表 -->
<ContentWrap>
<Table v-clientTable
<Table ref="tableRef"
:selection="true"
v-clientTable
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
@ -26,6 +28,8 @@
v-model:pageSize="tableObject.pageSize"
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
@getSelectionRows="getSelectionRows"
>
<template #jobNumber="{row}">
<el-button type="primary" link @click="openDetail(row, '任务号', row.jobNumber)">
@ -96,6 +100,7 @@ const HeadButttondata = [
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
defaultButtons.mainLisSelectiontDeleteBtn(null), //
// {
// label: '',
// name: 'zdy',
@ -122,12 +127,52 @@ const buttonBaseClick = (val, item) => {
} else {
getList()
}
} else if (val == 'selection_delete') { //
handleSelectionDelete()
} else if (val == 'filtrate') { //
} else { //
console.log('其他按钮', item)
}
}
const searchList = (model)=>{
selectionRows.value = []
setSearchParams(model)
}
const selectionRows = ref<any>([])
const tableRef = ref()
const getSelectionRows = (currentPage,currentPageSelectionRows) => {
console.log("getSelectionRows",currentPage,currentPageSelectionRows)
const currentRows = selectionRows.value.find(item=>item.currentPage==currentPage)
if(currentRows){
currentRows.selectionRows = currentPageSelectionRows
}else{
selectionRows.value.push({
currentPage,
selectionRows:currentPageSelectionRows
})
}
}
const handleSelectionDelete = async ()=>{
let rows:any = []
selectionRows.value.forEach(item=>{
rows = [...rows,...item.selectionRows.map(item1=>item1.id)]
})
if(rows.length==0){
return
}
try {
//
await message.delConfirm()
tableObject.loading = true
//
console.log('批量删除',rows.join(','))
await ExpectoutApi.deleteExpectoutIds(rows.join(','))
message.success(t('common.delSuccess'))
tableObject.loading = false
//
getList()
} catch {}
}
// -
const butttondata = [
// defaultButtons.mainListEditBtn({hasPermi:'wms:expectout:update'}), //

36
src/views/wms/inventoryManage/package/package.data.ts

@ -90,6 +90,9 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
field: 'produceDate',
sort: 'custom',
formatter: dateFormatter2,
detail: {
dateFormat : 'YYYY-MM-DD'
},
search: {
component: 'DatePicker',
componentProps: {
@ -132,6 +135,9 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
field: 'expireDate',
sort: 'custom',
formatter: dateFormatter2,
detail: {
dateFormat : 'YYYY-MM-DD'
},
search: {
component: 'DatePicker',
componentProps: {
@ -417,6 +423,36 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
width: 150,
},
},
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '操作',
field: 'action',

17
src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts

@ -120,6 +120,12 @@ export const ContainerRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
search: {
component: 'DatePicker',
componentProps: {
@ -128,8 +134,17 @@ export const ContainerRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
isTable: false,
isTable: true,
isForm: false,
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '操作',

15
src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts

@ -212,6 +212,12 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
table: {
width: 180
},
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
search: {
component: 'DatePicker',
componentProps: {
@ -223,6 +229,15 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false,
isForm: false,
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '扩展属性',
field: 'extraProperties',

38
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/inventoryinitRecordMain.data.ts

@ -198,6 +198,42 @@ export const InventoryinitRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
// {
// label: '代码',
// field: 'code',
@ -585,6 +621,7 @@ export const InventoryinitRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x',
}
},
isTable: false
},
{
label: '最后更新者',
@ -593,6 +630,7 @@ export const InventoryinitRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false
},
]))

10
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts

@ -286,6 +286,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
isForm: false,
isTable: false,
},
{
label: '创建者',
@ -295,6 +296,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isForm: false,
isTable: false,
},
{
label: '最后更新时间',
@ -317,6 +319,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
isForm: false,
isTable: false,
},
{
label: '最后更新者',
@ -326,6 +329,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
isForm: false,
isTable: false,
},
{
label: '操作',
@ -1016,7 +1020,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
}
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false,
},
{
label: '最后更新者',
@ -1026,7 +1031,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 150
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false,
},
{
label: '操作',

4
src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts

@ -474,6 +474,7 @@ export const ScrapJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
@ -490,6 +491,7 @@ export const ScrapJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
},
{
label: '操作',
@ -728,6 +730,7 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x',
}
},
isTable: false,
},
{
label: '创建者',
@ -736,6 +739,7 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
},
]))

2
src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts

@ -204,6 +204,7 @@ export const ScrapRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
@ -217,6 +218,7 @@ export const ScrapRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '创建者',
field: 'creator',
sort: 'custom',
isTable: false,
table: {
width: 150
},

2
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -756,6 +756,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
@ -775,6 +776,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTableForm: false,
isForm: false
},

6
src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts

@ -889,7 +889,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
}
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false
},
{
label: '最后更新者',
@ -899,7 +900,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 150
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false
},
{
label: '操作',

34
src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts

@ -295,6 +295,40 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{
label: '是否可用',
field: 'available',

6
src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts

@ -666,7 +666,8 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false,
},
{
label: '最后更新者',
@ -676,7 +677,8 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false
},
{
label: '操作',

2
src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue

@ -157,7 +157,7 @@ const butttondata = (row,$index) => {
defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), //
defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), //
// defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), //
]
}

2
src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/inventorychangeRecordMain.data.ts

@ -183,6 +183,7 @@ export const InventorychangeRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x',
}
},
isTable: false
},
{
label: '创建者',
@ -191,6 +192,7 @@ export const InventorychangeRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false
},
// {
// label: '代码',

12
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts

@ -272,6 +272,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
}
},
isForm: false,
isTable: false,
},
{
label: '创建者',
@ -281,6 +282,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
width: 150
},
isForm: false,
isTable: false,
},
{
label: '最后更新时间',
@ -293,6 +295,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
@ -311,7 +314,8 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isForm: false
isForm: false,
isTable: false,
},
{
label: '操作',
@ -961,7 +965,8 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false,
},
{
label: '最后更新者',
@ -971,7 +976,8 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[]
width: 150
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false,
},
{
label: '操作',

120
src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts

@ -474,66 +474,66 @@ export const InventorymoveJobMain = useCrudSchemas(reactive<CrudSchema[]>([
// },
// isTable: false,
// },
// {
// label: '创建时间',
// field: 'createTime',
// formatter: dateFormatter,
// detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
// },
// sort: 'custom',
// table: {
// width: 180
// },
// isTable: false,
// form: {
// component: 'DatePicker',
// componentProps: {
// type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x',
// }
// },
// },
// {
// label: '创建者',
// field: 'creator',
// sort: 'custom',
// table: {
// width: 150
// },
// isTable: false,
// },
// {
// label: '最后更新时间',
// field: 'updateTime',
// formatter: dateFormatter,
// detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
// },
// sort: 'custom',
// table: {
// width: 180
// },
// isTable: false,
// form: {
// component: 'DatePicker',
// componentProps: {
// type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x',
// }
// },
// },
// {
// label: '最后更新者',
// field: 'updater',
// sort: 'custom',
// table: {
// width: 150
// },
// isTable: false,
// },
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isTable: true,
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isTable: false,
},
// {
// label: '状态',
// field: 'jobStageStatus',

147
src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts

@ -211,6 +211,7 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
// {
// label: '部门',
// field: 'departmentCode',
@ -238,34 +239,68 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150
// },
// },
// {
// label: '创建时间',
// field: 'createTime',
// formatter: dateFormatter,
// detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
// },
// sort: 'custom',
// table: {
// width: 180
// },
// form: {
// component: 'DatePicker',
// componentProps: {
// type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x',
// }
// },
// },
// {
// label: '创建者',
// field: 'creator',
// sort: 'custom',
// table: {
// width: 150
// },
// },
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
// {
// label: '代码',
// field: 'code',
@ -595,34 +630,34 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
// width: 150
// },
// },
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
},
// {
// label: '创建时间',
// field: 'createTime',
// formatter: dateFormatter,
// detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
// },
// sort: 'custom',
// table: {
// width: 180
// },
// form: {
// component: 'DatePicker',
// componentProps: {
// type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x',
// }
// },
// },
// {
// label: '创建者',
// field: 'creator',
// sort: 'custom',
// table: {
// width: 150
// },
// },
// {
// label: '代码',
// field: 'code',

128
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts

@ -340,68 +340,72 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
// }
// }
// },
// {
// label: '创建时间',
// field: 'createTime',
// formatter: dateFormatter,
// detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
// },
// sort: 'custom',
// table: {
// width: 180
// },
// form: {
// component: 'DatePicker',
// componentProps: {
// style: { width:'100%'},
// type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x',
// }
// },
// isForm: false,
// },
// {
// label: '创建者',
// field: 'creator',
// sort: 'custom',
// table: {
// width: 150
// },
// isForm: false,
// },
// {
// label: '最后更新时间',
// field: 'updateTime',
// formatter: dateFormatter,
// detail: {
// dateFormat: 'YYYY-MM-DD HH:mm:ss'
// },
// sort: 'custom',
// table: {
// width: 180
// },
// form: {
// component: 'DatePicker',
// componentProps: {
// style: { width:'100%'},
// type: 'datetime',
// dateFormat: 'YYYY-MM-DD HH:mm:ss',
// valueFormat: 'x',
// }
// },
// isForm: false
// },
// {
// label: '最后更新者',
// field: 'updater',
// sort: 'custom',
// table: {
// width: 150
// },
// isForm: false
// },
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: { width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: true
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
isTable: true
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: { width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false,
isTable: false
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isForm: false,
isTable: false
},
{
label: '操作',
field: 'action',

52
src/views/wms/productionManage/processproduction/processproductionRecord/processproductionRecordMain.data.ts

@ -87,6 +87,49 @@ export const ProcessproductionRecordMain = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false,
isForm: false
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{
label: '删除时间',
field: 'deletionTime',
@ -294,6 +337,15 @@ export const ProcessproductionRecordDetail = useCrudSchemas(reactive<CrudSchema[
width: 150
},
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '删除时间',
field: 'deletionTime',

71
src/views/wms/productionManage/processproduction/processproductionRequest/processproductionRequestMain.data.ts

@ -142,7 +142,51 @@ export const ProcessproductionRequestMain = useCrudSchemas(reactive<CrudSchema[]
}
},
isTableForm: false,
isForm: false
isForm: false,
isTable: false
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: false
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{
label: '删除时间',
@ -499,11 +543,32 @@ export const ProcessproductionRequestDetail = useCrudSchemas(reactive<CrudSchema
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTableForm: false,
isForm: false
},
{
label: '创建者',
field: 'creator',
table: {
width: 150
width: 130
},
isForm: false,
isTable: true
},
{
label: '删除时间',

34
src/views/wms/productionManage/productputaway/productputawayJobMain/productputawayJobMain.data.ts

@ -301,7 +301,7 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -318,8 +318,40 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: true,
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isTable: false,
},
{
label: '到仓库代码',
field: 'toWarehouseCode',

33
src/views/wms/productionManage/productputaway/productputawayRecordMain/productputawayRecordMain.data.ts

@ -204,7 +204,7 @@ export const ProductputawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
@ -217,6 +217,37 @@ export const ProductputawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isTable: false,
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',

2
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue

@ -159,7 +159,7 @@ const butttondata = (row,$index) => {
defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), //
defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), //
// defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), //
]
}

6
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/productputawayAssembleJobMain.data.ts

@ -149,7 +149,7 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '最后更新者',
field: 'update',
field: 'updater',
sort: 'custom',
table: {
width: 150
@ -303,7 +303,7 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -320,7 +320,7 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '到仓库代码',

33
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/productputawayAssembleRecordMain.data.ts

@ -204,7 +204,7 @@ export const ProductputawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
},
{
label: '创建时间',
@ -217,6 +217,37 @@ export const ProductputawayRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
},
{
label: '更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isTable: false,
},
{
label: '更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',

4
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/productputawayAssembleRequestMain.data.ts

@ -138,7 +138,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -156,7 +156,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTable: true,
isForm: false
},
{

18
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts

@ -331,15 +331,15 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '原因',
field: 'available',
sort: 'custom',
table: {
width: 150
},
isTable: true,
},
// {
// label: '原因',
// field: 'available',
// sort: 'custom',
// table: {
// width: 150
// },
// isTable: true,
// },
{
label: '创建时间',
field: 'createTime',

4
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/index.vue

@ -178,9 +178,9 @@ const butttondata = (row,$index) => {
return []
}
return [
defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchasereceipt-job-main:accept'}), //
// defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchasereceipt-job-main:accept'}), //
defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchasereceipt-job-main:close'}), //
defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:purchasereceipt-job-main:abandon'}), //
// defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:purchasereceipt-job-main:abandon'}), //
defaultButtons.mainListJobRecBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchasereceipt-job-main:execute'}), //
]
}

2
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/sparereceiptJobMain.data.ts

@ -608,7 +608,7 @@ export const PurchasereceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
isDetail: false,
isForm: false,
table: {
width: 120,
width: 150,
fixed: 'right'
},
},

1
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue

@ -241,6 +241,7 @@ const getSearchTableData = async (number,formField,searchField)=>{
defaultParams:{number},
getListApi: PurchasePlanDetailApi.getPurchasePlanDetailPage //
})
tableObject.pageSize = 500
//
const { getList:getList1 } = tableMethods
await getList1()

107
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -293,6 +293,14 @@ const basicFormFooter = computed(()=>{
})
} else {
//
if(formField=='supplierCode'&&val[0][searchField]!=searchFormRef.formModel.supplierCode){
tableData.value = []
}
//
if(formField=='orderType'&&val[0][searchField]!=searchFormRef.formModel.orderType){
tableData.value = []
}
const setV = {}
setV[formField] = val[0][searchField]
searchFormRef.setValues(setV)
@ -474,11 +482,19 @@ const handleImport = () => {
const formRef = ref()
const openForm = async (type : string, row ?: number) => {
if(type=='update'){
//
SupplierinvoiceRequestMain.allSchemas.formSchema.forEach((item) => {
//
if(item.field == 'supplierCode'){
item.componentProps.isSearchList = false
item.componentProps.disabled = true
}
//
if(item.field == 'orderType'){
item.componentProps.disabled = true
}
if(row.status=='1'){
//
if(row.status=='1'||row.status=='6'){
if(item.field == 'procurementCreator'){
//
item.componentProps.disabled = false
@ -487,13 +503,53 @@ const handleImport = () => {
//
item.componentProps.disabled = false
}
//
if(item.field == 'discountAmount'){
item.componentProps.disabled = false
}
//
if(item.field == 'adjustingTaxAmount'){
item.componentProps.disabled = false
}
//
if(item.field == 'discountAmount1'){
item.componentProps.disabled = false
}
//
if(item.field == 'goldenTaxInvoiceNumber'){
item.componentProps.disabled = false
}
//
if(item.field == 'invoiceTime'){
item.componentProps.disabled = false
}
}else{
if(item.field == 'procurementCreator'){
//
if(item.field == 'procurementCreator'){
item.componentProps.disabled = true
}
if(item.field == 'taxRate'){
//
if(item.field == 'taxRate'){
item.componentProps.disabled = true
}
//
if(item.field == 'discountAmount'){
item.componentProps.disabled = true
}
//
if(item.field == 'adjustingTaxAmount'){
item.componentProps.disabled = true
}
//
if(item.field == 'discountAmount1'){
item.componentProps.disabled = true
}
//
if(item.field == 'goldenTaxInvoiceNumber'){
item.componentProps.disabled = true
}
//
if(item.field == 'invoiceTime'){
item.componentProps.disabled = true
}
}
@ -501,20 +557,47 @@ const handleImport = () => {
})
}else{
//
SupplierinvoiceRequestMain.allSchemas.formSchema.forEach((item) => {
if(item.field == 'orderType'){
item.componentProps.disabled = false
}
//
if(item.field == 'supplierCode'){
//
item.value = defaultSupplierCode.value
item.componentProps.isSearchList = true
item.componentProps.disabled = false
}
if(item.field == 'procurementCreator'){
//
if(item.field == 'orderType'){
item.componentProps.disabled = false
}
//
if(item.field == 'procurementCreator'){
item.componentProps.disabled = false
}
if(item.field == 'taxRate'){
//
if(item.field == 'taxRate'){
item.componentProps.disabled = false
}
//
if(item.field == 'discountAmount'){
item.componentProps.disabled = false
}
//
if(item.field == 'adjustingTaxAmount'){
item.componentProps.disabled = false
}
//
if(item.field == 'discountAmount1'){
item.componentProps.disabled = false
}
//
if(item.field == 'goldenTaxInvoiceNumber'){
item.componentProps.disabled = false
}
//
if(item.field == 'invoiceTime'){
item.componentProps.disabled = false
}
})
@ -902,10 +985,10 @@ const handleImport = () => {
message.warning(t('ts.请添明细数据'))
return;
}
if(data.subList.length > 999){
message.warning(t('ts.明细数据条数已超过最大数量限制【999条】'))
return;
}
// if(data.subList.length > 999){
// message.warning(t('ts.999'))
// return;
// }
await SupplierinvoiceRequestMainApi.createSupplierinvoiceRequestMain(data)
message.success(t('common.createSuccess'))
} else {

5
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -223,14 +223,12 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
form: {
component: 'InputNumber',
componentProps: {
min: 0,
precision: 6,
disabled: true,
}
},
tableForm: {
type: 'InputNumber',
min: 0,
precision: 6,
}
},
@ -291,14 +289,12 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
form: {
component: 'InputNumber',
componentProps: {
min: 0,
precision: 6,
disabled: true,
}
},
tableForm: {
type: 'InputNumber',
min: 0,
precision: 6,
}
},
@ -313,7 +309,6 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
form: {
component: 'InputNumber',
componentProps: {
min: 0,
precision: 6,
disabled: true,
}

Loading…
Cancel
Save