Browse Source

between字符修改

intex_online20241111
zhang_li 1 month ago
parent
commit
6b98a60032
  1. 12
      src/components/SearchHigh/src/SearchHigh.vue
  2. 3
      src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/index.vue
  3. 2
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  4. 2
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

12
src/components/SearchHigh/src/SearchHigh.vue

@ -131,7 +131,7 @@ const butttondata = [
defaultButtons.defaultSearchBtn(null), //
// defaultButtons.defaultSearchResetBtn(null), //
]
// ==,!=,>,<,>=,<=,like,in,notIn,betweeen,isNull,isNotNull
// ==,!=,>,<,>=,<=,like,in,notIn,between,isNull,isNotNull
const moreListOptions = ref({
action: [
{
@ -163,7 +163,7 @@ const moreListOptions = ref({
value: 'notIn',
label: t('ts.不包含')
}, {
value: 'betweeen',
value: 'between',
label: t('ts.区间')
}, {
value: 'isNull',
@ -218,13 +218,13 @@ const getFilterable = (val) => {
}
return precision
}
// ==,!=,>,<,>=,<=,like,in,notIn,betweeen,isNull,isNotNull
// ==,!=,>,<,>=,<=,like,in,notIn,between,isNull,isNotNull
const formatMoreListActions = (val) => {
if (val) {
if(getInputType(val.column)=='datePicker'|| getInputType(val.column) == 'date'){
return moreListOptions.value.action.filter(item => item.value == 'betweeen')
return moreListOptions.value.action.filter(item => item.value == 'between')
}else{
return moreListOptions.value.action.filter(item => item.value != 'betweeen')
return moreListOptions.value.action.filter(item => item.value != 'between')
}
}
return moreListOptions.value.action
@ -256,7 +256,7 @@ const lastestType = ref('')
//
const resetSelect = (val) => {
if (getInputType(val.column) == 'datePicker' || getInputType(val.column) == 'date') {
val.action = 'betweeen'
val.action = 'between'
val.disabled = false
}else{
val.action = 'like'

3
src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/index.vue

@ -42,8 +42,7 @@
</el-table-column>
</el-table>
<!-- 分页 -->
<Pagination v-model:limit="queryParams.pageSize" v-model:page="queryParams.pageNo" :total="total"
@pagination="getList" />
<Pagination v-model:limit="queryParams.pageSize" v-model:page="queryParams.pageNo" :total="total" @pagination="getList" />
</ContentWrap>
<!-- 导入 -->
<ImportForm

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

@ -171,7 +171,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(
{
key: 'createTime', // 查询列表中字段
value: dateTime - 30 * 24 * 60 * 60 * 1000 + ',' + dateTime, // 指查询具体值
action: 'betweeen', // 查询拼接条件
action: 'between', // 查询拼接条件
isSearch: true, // 使用自定义拼接条件
isMainValue: false // 拼接条件必须要 false 同时不能与 isMainValue: true 同用
},

2
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

@ -176,7 +176,7 @@ const onEnter = async (field,value)=>{
{
key: 'createTime', //
value: dateTime - 30 * 24 * 60 * 60 * 1000 + "," + dateTime, //
action: 'betweeen', //
action: 'between', //
isSearch: true, // 使
isMainValue: false // false isMainValue: true
},

Loading…
Cancel
Save