Browse Source

高级筛选,增加默认类型

hella_online_20240829
TengXF 5 months ago
parent
commit
b976de48c1
  1. 5
      src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue
  2. 3
      src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue
  3. 3
      src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue
  4. 3
      src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
  5. 3
      src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue
  6. 3
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue
  7. 3
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue
  8. 14
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue

5
src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue

@ -139,7 +139,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
newRow['toInventoryStatus'] = 'OK'
tableData.value.push(newRow)
})
}else if(formField == 'toLocationCode'){
row['toLocationCode'] = val[0]['code']
}else {
@ -487,6 +487,9 @@ const searchFormClick = (searchData) => {
'action':'==',
'value':'INITIAL'
}
if (!Array.isArray(searchData.filters)) {
searchData.filters = [];
}
searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,

3
src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue

@ -260,6 +260,9 @@ const searchFormClick = (searchData) => {
'action':'==',
'value':'predict'
}
if (!Array.isArray(searchData.filters)) {
searchData.filters = [];
}
searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,

3
src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue

@ -170,6 +170,9 @@ const searchFormClick = (searchData) => {
'action':'==',
'value':'predict'
}
if (!Array.isArray(searchData.filters)) {
searchData.filters = [];
}
searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,

3
src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue

@ -426,6 +426,9 @@ const searchFormClick = (searchData) => {
'action':'==',
'value':'predict'
}
if (!Array.isArray(searchData.filters)) {
searchData.filters = [];
}
searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,

3
src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue

@ -364,6 +364,9 @@ const searchFormClick = (searchData) => {
'action':'==',
'value':'predict'
}
if (!Array.isArray(searchData.filters)) {
searchData.filters = [];
}
searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,

3
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue

@ -301,6 +301,9 @@ const searchFormClick = (searchData) => {
'action':'==',
'value':'scrap'
}
if (!Array.isArray(searchData.filters)) {
searchData.filters = [];
}
searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,

3
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue

@ -213,6 +213,9 @@ const searchFormClick = (searchData) => {
'action':'==',
'value':'scrap'
}
if (!Array.isArray(searchData.filters)) {
searchData.filters = [];
}
searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,

14
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue

@ -115,7 +115,7 @@
</Dialog>
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/productreceipt-request-main/import" :importTemplateData="importTemplateData"
<ImportForm ref="importFormRef" url="/wms/productreceipt-request-main/import" :importTemplateData="importTemplateData"
@success="importSuccess" :updateIsDisable="true" :coverIsDisable="true" :mode="2" :extend="'scrap'"/>
<!-- 标签打印 -->
<SearchTable style="width:905px" ref="searchTableRef" @searchTableSuccess="searchTableSuccess1" />
@ -169,7 +169,7 @@ const buttondataTable = ref([{
const detailListTableColumns = ProductreceiptRequestLabel.allSchemas
const isCreateLabel = ref(false)
const formLabelRef = ref()
const labelType = ref('') //
const labelType = ref('') //
const { tableObject: detatableData, tableMethods: detatableMethods } =useTable({
getListApi: ProductreceiptRequestDetailApi.getProductreceiptRequestDetailPageScrap
})
@ -637,6 +637,16 @@ const importSuccess = () => {
//
const searchFormClick = (searchData) => {
if (!Array.isArray(searchData.filters)) {
searchData.filters = [];
}
const cmd = {
'column':'type',
'action':'==',
'value':'scrap'
};
searchData.filters.push(cmd);
tableObject.params = {
isSearch: true,
filters: searchData.filters

Loading…
Cancel
Save