Browse Source

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

hella_online_20240829
zhaoxuebing 4 months ago
parent
commit
37c81cf6cf
  1. 21
      src/api/wms/business/inputBlur.ts
  2. 4
      src/api/wms/productionlineitem/index.ts
  3. 12
      src/components/TableFormCountPlan/src/TableFormCountPlan.vue
  4. 2
      src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts
  5. 45
      src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts
  6. 14
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
  7. 65
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts
  8. 49
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts
  9. 56
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts
  10. 13
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
  11. 5
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts
  12. 2
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue
  13. 4
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts
  14. 6
      src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts

21
src/api/wms/business/inputBlur.ts

@ -66,7 +66,15 @@ export const tableFormBlurVer = async (headerItem, val, row, index, routeName, f
filters.push({ filters.push({
action: searchCondition[i].action || '==', action: searchCondition[i].action || '==',
column: searchCondition[i].key, column: searchCondition[i].key,
value: formRef.formModel[searchCondition[i].value] value: formRef.formModel[
searchCondition[i].value
]
? formRef.formModel[searchCondition[i].value]
: detailData
? detailData[searchCondition[i].value]
: row
? row[searchCondition[i].value]
: ''
}) })
} else if (searchCondition[i].isTableRowValue) { } else if (searchCondition[i].isTableRowValue) {
if (searchCondition[i].required) { if (searchCondition[i].required) {
@ -807,10 +815,9 @@ export const getListByBottonInput = async (headerItem, val, row, routeName, form
console.log(999, verificationParams) console.log(999, verificationParams)
if (verificationParams && verificationParams.length > 0) { if (verificationParams && verificationParams.length > 0) {
for (let i = 0; i < verificationParams.length; i++) { for (let i = 0; i < verificationParams.length; i++) {
if (verificationParams[i].key == 'code') { console.log(54565, verificationParams[i].key)
verificationParams[i].key = 'codes' verificationParams[i].key1 = verificationParams[i].key +'s'
} params.value[verificationParams[i].key1] = val
params.value[verificationParams[i].key] = val
} }
} }
await tableFormSchemaObj.verificationPage(params.value).then(async (res) => { await tableFormSchemaObj.verificationPage(params.value).then(async (res) => {
@ -828,10 +835,10 @@ export const getListByBottonInput = async (headerItem, val, row, routeName, form
let repeatCode = [] let repeatCode = []
if (tableData.length > 0) { if (tableData.length > 0) {
tableData.forEach((item) => { tableData.forEach((item) => {
const findIndex = arr1.findIndex(valItem => valItem == item[field]) const findIndex = arr1.findIndex(valItem => valItem == item[headerItem.field])
if (findIndex > -1) { if (findIndex > -1) {
arr1.splice(findIndex, 1) arr1.splice(findIndex, 1)
repeatCode.push(item[field]) repeatCode.push(item[headerItem.field])
} }
}) })
} }

4
src/api/wms/productionlineitem/index.ts

@ -69,6 +69,6 @@ export const importTemplate = () => {
} }
export const getProductionLineCodelistByCodes = (data) => { export const getProductionLineCodelistByCodes = async (params) => {
return request.get({ url: `/wms/productionlineitem/listByCodes?productionLineCode=`+data.productionLineCode +'&itemCodes='+data.itemCodes}) return await request.get({ url: `/wms/productionlineitem/listByCodes`, params })
} }

12
src/components/TableFormCountPlan/src/TableFormCountPlan.vue

@ -66,16 +66,18 @@
row.type == 'LOCATION_CODE' row.type == 'LOCATION_CODE'
" "
> >
<div class="input-box">
<el-input <el-input
:key="'值input' + $index" :key="'值input' + $index"
v-model="row.value" v-model="row.value"
:placeholder="tableFields[1].placeholder || '请输入' + tableFields[1].label" :placeholder="tableFields[1].placeholder || '请输入' + tableFields[1].label"
:disabled = "row.disabled || false" :disabled = "row.disabled || false"
style="flex: 1"
/> />
<el-button :key="'值button' + $index" @click="inpuFocus(tableFields[1], row)" <el-button :key="'值button' + $index" @click="inpuFocus(tableFields[1], row)"
><Icon icon="ep:search" size="14" ><Icon icon="ep:search" size="14"
/></el-button> /></el-button>
</div>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
:key="'值formitem' + $index" :key="'值formitem' + $index"
@ -262,4 +264,12 @@ defineExpose({
} }
} }
} }
.input-box{
display: flex;
flex: 1!important;
}
.input-box ::v-deep .el-input{
flex: 1!important;
width: 0px!important;
}
</style> </style>

2
src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts

@ -191,7 +191,7 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
componentProps: { componentProps: {
inactiveValue: 'FALSE', inactiveValue: 'FALSE',
activeValue: 'TRUE', activeValue: 'TRUE',
disabled: true // disabled: true
} }
}, },
isSearch: true isSearch: true

45
src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts

@ -27,6 +27,26 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '是否可用',
field: 'available',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isSearch: true,
table: {
width: 120
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{ {
label: '描述1', label: '描述1',
field: 'desc1', field: 'desc1',
@ -50,9 +70,9 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.ITEM_STATUS, dictType: DICT_TYPE.ITEM_STATUS,
dictClass: 'string', dictClass: 'string',
isForm: true, isForm: false,
isSearch: true, isSearch: false,
isTable: true, isTable: false,
table: { table: {
width: 100 width: 100
} , } ,
@ -346,25 +366,6 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '是否可用',
field: 'available',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
table: {
width: 120
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{ {
label: '生效时间', label: '生效时间',
field: 'activeTime', field: 'activeTime',

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

@ -491,10 +491,14 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchAllSchemas: Balance.allSchemas, searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalanceItemPage, searchPage: BalanceApi.getBalanceItemPage,
searchCondition: [{ searchCondition: [{
message: '请填写从仓库代码!',
key: 'warehouseCode', key: 'warehouseCode',
value: 'fromWarehouseCode', value: 'fromWarehouseCode',
message: '请填写从仓库代码!', isFormModel:true, // filters中添加筛选的数据--取于formModel
isMainValue: true required:true, // 前置添加必有,和isFormModel结合使用
action: '==',
isSearch: true,
isMainValue: false
},{ },{
key: 'businessType', key: 'businessType',
value: 'Scrap', value: 'Scrap',
@ -507,12 +511,6 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
action: '==', action: '==',
isSearch: true, isSearch: true,
isMainValue: false isMainValue: false
},{
key: 'inventoryStatus',
value: 'SCRAP',
action: '==',
isSearch: true,
isMainValue: false
}] }]
}, },
form: { form: {

65
src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

@ -81,7 +81,15 @@ export const IssueRequestMain = useCrudSchemas(
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
} }
] ],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
} }
} }
}, },
@ -95,6 +103,7 @@ export const IssueRequestMain = useCrudSchemas(
isTable: false, isTable: false,
hiddenInMain: true, hiddenInMain: true,
tableForm: { tableForm: {
enterSearch:true,
isInpuFocusShow: true, isInpuFocusShow: true,
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本 searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
@ -113,11 +122,20 @@ export const IssueRequestMain = useCrudSchemas(
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
} }
] ],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
enterSearch:true,
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本 searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
@ -136,7 +154,15 @@ export const IssueRequestMain = useCrudSchemas(
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
} }
] ],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
} }
} }
}, },
@ -168,7 +194,15 @@ export const IssueRequestMain = useCrudSchemas(
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
} }
] ],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -192,7 +226,15 @@ export const IssueRequestMain = useCrudSchemas(
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
} }
] ],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
} }
} }
}, },
@ -792,7 +834,18 @@ export const IssueRequestDetail = useCrudSchemas(
value: 'Issue', value: 'Issue',
isMainValue: false isMainValue: false
} }
] ],
verificationPage: ItembasicApi.getItemListByCodes, // 校验数去焦点输入是否正确的方法
isShowTableFormSearch: true,
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',

49
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts

@ -90,6 +90,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
enterSearch: true,
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择车间代码', // 输入框占位文本 searchListPlaceholder: '请选择车间代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
@ -100,7 +101,15 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
}] }],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
} }
}, },
}, },
@ -114,6 +123,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
enterSearch: true,
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本 searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
@ -129,7 +139,15 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>
value: 'workshopCode', value: 'workshopCode',
message: '请选择车间信息!', // 当前置条件为空时 弹出信息提示 message: '请选择车间信息!', // 当前置条件为空时 弹出信息提示
isMainValue: true isMainValue: true
}] }],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
} }
}, },
tableForm:{ tableForm:{
@ -579,7 +597,9 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
value: 'productionLineCode', value: 'productionLineCode',
message: '请选择生产线信息!', message: '请选择生产线信息!',
isMainValue: true isMainValue: true
}] }],
} }
}, },
tableForm:{ tableForm:{
@ -605,7 +625,17 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
value: 'productionLineCode', value: 'productionLineCode',
message: '请选择生产线信息!', message: '请选择生产线信息!',
isMainValue: true isMainValue: true
}] }],
verificationPage: WorkstationApi.getWorkstationByCodes, // 校验数去焦点输入是否正确的方法
isShowTableFormSearch: true,
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}, },
}, },
{ {
@ -945,6 +975,7 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
isTable:true, isTable:true,
isTableForm: true, isTableForm: true,
tableForm: { tableForm: {
enterSearch:true,
isInpuFocusShow: true, isInpuFocusShow: true,
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装规格', // 输入框占位文本 searchListPlaceholder: '请选择包装规格', // 输入框占位文本
@ -961,7 +992,15 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
value: 'itemCode', value: 'itemCode',
message: '请先选择物料代码!', message: '请先选择物料代码!',
isMainValue: true isMainValue: true
}] }],
verificationParams: [{
key: 'packUnit',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',

56
src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

@ -104,6 +104,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
enterSearch: true,
isSearchList: true, isSearchList: true,
searchListPlaceholder: '请选择车间', searchListPlaceholder: '请选择车间',
searchField: 'code', searchField: 'code',
@ -114,7 +115,15 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
}] }],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
} }
} }
}, },
@ -129,6 +138,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
enterSearch:true,
isSearchList: true, isSearchList: true,
searchListPlaceholder: '请选择生产线', searchListPlaceholder: '请选择生产线',
searchField: 'code', searchField: 'code',
@ -144,7 +154,15 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
value: 'workshop', value: 'workshop',
message: '请填写车间代码!', message: '请填写车间代码!',
isMainValue: true isMainValue: true
}] }],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
} }
} }
}, },
@ -158,6 +176,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
enterSearch: true,
isSearchList: true, isSearchList: true,
searchListPlaceholder: '请选择班组', searchListPlaceholder: '请选择班组',
searchField: 'code', searchField: 'code',
@ -168,7 +187,15 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
}] }],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
} }
} }
}, },
@ -182,6 +209,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
enterSearch: true,
isSearchList: true, isSearchList: true,
searchListPlaceholder: '请选择班次', searchListPlaceholder: '请选择班次',
searchField: 'code', searchField: 'code',
@ -192,7 +220,15 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
}] }],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
} }
} }
}, },
@ -652,6 +688,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
}], }],
} }
}, },
tableForm:{ tableForm:{
@ -673,6 +710,17 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
}], }],
verificationPage: ProductionlineitemApi.getProductionLineCodelistByCodes, // 校验数去焦点输入是否正确的方法
isShowTableFormSearch: true,
verificationParams: [{
key: 'itemCode',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}, },
}, },
{ {

13
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts

@ -980,6 +980,9 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem
isTable: false, isTable: false,
isSearch: false, isSearch: false,
isDetail: true, isDetail: true,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
}, },
{ {
label: '税率(%)', label: '税率(%)',
@ -1069,12 +1072,14 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive<CrudSchem
label: '财务审批时间', label: '财务审批时间',
field: 'financialCreateTime', field: 'financialCreateTime',
formatter: dateFormatter, formatter: dateFormatter,
sortTableDefault: 6, sortTableDefault: 6,
isForm: false, isForm: false,
isTable: false, isTable: false,
isSearch: false, isSearch: false,
isDetail: true, isDetail: true,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
}, },
{ {
label: '税额', label: '税额',
@ -1361,9 +1366,15 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
label: '货币', label: '货币',
field: 'currency', field: 'currency',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.CURRENCY,
dictClass: 'string',
table: { table: {
width: 150 width: 150
}, },
tableForm:{
type:'Select',
disabled: true
}
}, },
{ {
label: '合同价格', label: '合同价格',

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

@ -1957,10 +1957,12 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '货币', label: '货币',
field: 'currency', field: 'currency',
dictType: DICT_TYPE.CURRENCY,
dictClass: 'string',
isTableForm:true,
table: { table: {
width: 150 width: 150
}, },
@ -1970,6 +1972,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
tableForm:{ tableForm:{
type:'Select',
disabled: true disabled: true
} }
}, },

2
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue

@ -4,7 +4,7 @@
<Search class="search-box" :schema="SupplierinvoiceRequestMain.allSchemas.searchSchema" @search="searchList" @reset="resetList" > <Search class="search-box" :schema="SupplierinvoiceRequestMain.allSchemas.searchSchema" @search="searchList" @reset="resetList" >
<template #cha> <template #cha>
<div class="el-form-item__content " style="display:inline-flex;"> <div class="el-form-item__content " style="display:inline-flex;">
<el-input-number style="flex:0.5;margin-right:10px" v-model="staDifferencePrice" :max="endDifferencePrice" :placeholder="t('ts.最小值')"/>-<el-input-number style="flex:0.5;margin-left:10px" v-model="endDifferencePrice" :min="staDifferencePrice" :placeholder="t('ts.最大值')"/> <el-input-number style="flex:0.5;margin-right:10px" v-model="staDifferencePrice" :max="endDifferencePrice?endDifferencePrice:Infinity" :placeholder="t('ts.最小值')"/>-<el-input-number style="flex:0.5;margin-left:10px" v-model="endDifferencePrice" :min="staDifferencePrice?staDifferencePrice:-Infinity" :placeholder="t('ts.最大值')"/>
</div> </div>
</template> </template>
</Search> </Search>

4
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts

@ -1960,6 +1960,9 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
{ {
label: '货币', label: '货币',
field: 'currency', field: 'currency',
dictType: DICT_TYPE.CURRENCY,
dictClass: 'string',
isTableForm:true,
table: { table: {
width: 150 width: 150
}, },
@ -1969,6 +1972,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
tableForm:{ tableForm:{
type:'Select',
disabled: true disabled: true
} }
}, },

6
src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts

@ -188,9 +188,15 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive<CrudSchema[]>([
label: '货币', label: '货币',
field: 'currency', field: 'currency',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.CURRENCY,
dictClass: 'string',
table: { table: {
width: 150 width: 150
}, },
tableForm:{
type:'Select',
disabled: true
}
}, },
{ {
label: '创建时间', label: '创建时间',

Loading…
Cancel
Save