diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts
index edb8b8d7e..7f637131d 100644
--- a/src/utils/disposition/defaultButtons.ts
+++ b/src/utils/disposition/defaultButtons.ts
@@ -1154,7 +1154,7 @@ export function mainCopyBtn(option: any) {
// 主列表-部件
export function componentBtn(option: any) {
return __defaultBtnOption(option, {
- label: '部件',
+ label: '关联部件',
name: 'component',
hide: false,
type: 'primary',
@@ -1166,7 +1166,7 @@ export function componentBtn(option: any) {
// 主列表-备件
export function sparePartBtn(option: any) {
return __defaultBtnOption(option, {
- label: '备件',
+ label: '关联备件',
name: 'sparePart',
hide: false,
type: 'primary',
diff --git a/src/views/eam/equipmentAccounts/index.vue b/src/views/eam/equipmentAccounts/index.vue
index e17ae39a8..7196e45b5 100644
--- a/src/views/eam/equipmentAccounts/index.vue
+++ b/src/views/eam/equipmentAccounts/index.vue
@@ -1,18 +1,22 @@
-
+
-
-
+
+
@@ -27,13 +31,13 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
-
+
{{ row.code }}
-
+
@@ -51,68 +55,105 @@
/>
-
+ />
-
+
diff --git a/src/views/eam/toolAccounts/index.vue b/src/views/eam/toolAccounts/index.vue
index 0442cbfe7..27ebebe3f 100644
--- a/src/views/eam/toolAccounts/index.vue
+++ b/src/views/eam/toolAccounts/index.vue
@@ -1,18 +1,22 @@
-
+
-
-
+
+
@@ -27,13 +31,13 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
-
+
{{ row.code }}
-
+
@@ -51,19 +55,19 @@
/>
-
@@ -71,40 +75,75 @@
-
+
diff --git a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts
index 8b51c9881..7db799ca6 100644
--- a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts
+++ b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts
@@ -465,6 +465,15 @@ export const Itembasic = useCrudSchemas(reactive([
isForm: false,
isTable: false
},
+ {
+ label: '产品类',
+ field: 'prodCla',
+ sort: 'custom',
+ isForm:false,
+ table: {
+ width: 100
+ } ,
+ },
{ label: '备注', field: 'remark', sort: 'custom', isTable: false},
{
label: '操作',
diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
index 2e481c612..b9c9fbe01 100644
--- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
+++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
@@ -6,7 +6,7 @@ import * as getRequestsettingApi from '@/api/wms/requestsetting/index'
import * as DeliverPlanMainApi from '@/api/wms/deliverPlanMain'
import * as DeliverPlanDetailApi from '@/api/wms/deliverPlanDetail'
-import { DeliverPlanMain ,DeliverPlanDetail} from '../../deliverplan/deliverPlanMain/deliverPlanMain.data'
+import { DeliverPlanMain ,DeliverPlanDetail,DeliverPlanDetailRequest} from '../../deliverplan/deliverPlanMain/deliverPlanMain.data'
import * as CustomerItemApi from '@/api/wms/customeritem'
import { Customeritem } from '@/views/wms/basicDataManage/customerManage/customeritem/customeritem.data'
@@ -190,7 +190,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([
searchListPlaceholder: '请选择发货计划单号', // 输入框占位文本
searchField: 'number', // 查询弹窗赋值字段
searchTitle: '发货计划信息', // 查询弹窗标题
- searchAllSchemas: DeliverPlanDetail.allSchemas, // 查询弹窗所需类
+ searchAllSchemas: DeliverPlanDetailRequest.allSchemas, // 查询弹窗所需类
searchPage: DeliverPlanDetailApi.getDeliverPlanDetailPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
diff --git a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
index 753350d31..fac92203b 100644
--- a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
+++ b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
@@ -873,3 +873,89 @@ export const DeliverPlanDetailRules = reactive({
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
})
+
+/**
+ * @returns {Array} 发货计划子表
+ */
+export const DeliverPlanDetailRequest = useCrudSchemas(reactive([
+ {
+ label: '单据号',
+ field: 'number',
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ componentProps: {
+ disabled: true
+ }
+ }
+ },
+ {
+ label: '物料代码',
+ field: 'itemCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ tableForm:{
+ multiple:true,
+ isInpuFocusShow: true, // 开启查询弹窗
+ searchListPlaceholder: '请选择物料代码',
+ searchField: 'itemCode',
+ searchTitle: '客户物料基础信息',
+ searchAllSchemas: Customeritem.allSchemas,
+ searchPage: CustomerItemApi.getPageBusinessTypeToItemCode,
+ },
+ form: {
+ componentProps: {
+ isSearchList: true,
+ searchListPlaceholder: '请选择物料代码',
+ searchField: 'itemCode',
+ searchTitle: '客户物料基础信息',
+ searchAllSchemas: Customeritem.allSchemas,
+ searchPage: CustomerItemApi.getPageBusinessTypeToItemCode,
+ }
+ }
+ },
+ {
+ label: '计划数量',
+ field: 'planQty',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form: {
+ component: 'InputNumber',
+ componentProps: {
+ min: 0,
+ precision: 6
+ }
+ },
+ tableForm: {
+ type: 'InputNumber',
+ min: 0,
+ precision: 6
+ }
+ },
+ {
+ label: '计量单位',
+ field: 'uom',
+ dictType: DICT_TYPE.UOM,
+ dictClass: 'string',
+ isTable: true,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ tableForm: {
+ disabled: true,
+ type: 'Select'
+ },
+ form: {
+ componentProps: {
+ disabled: true
+ }
+ }
+ },
+]))
\ No newline at end of file
diff --git a/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue
index b8f15698c..83e25ee9b 100644
--- a/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue
+++ b/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue
@@ -129,7 +129,7 @@ const getSwitchStatus = async ()=>{
console.log('getSwitchStatus',res)
if(res&&res.list){
switchproductPutawayJobPrint.value = res.list[0].effectiveSetValue == 'TRUE'
-
+
}
}
// 列表头部按钮
@@ -255,6 +255,12 @@ const handleExport = async () => {
// 筛选提交
const searchFormClick = (searchData) => {
+ const cmd = {
+ 'column':'type',
+ 'action':'==',
+ 'value':'predict'
+ }
+ searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters
diff --git a/src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue
index bbe6e11a9..9778c239b 100644
--- a/src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue
+++ b/src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue
@@ -165,6 +165,12 @@ const handleExport = async () => {
// 筛选提交
const searchFormClick = (searchData) => {
+ const cmd = {
+ 'column':'type',
+ 'action':'==',
+ 'value':'predict'
+ }
+ searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters
diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
index aa88d864f..9cfa44045 100644
--- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
+++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
@@ -421,6 +421,12 @@ const importSuccess = () => {
// 筛选提交
const searchFormClick = (searchData) => {
+ const cmd = {
+ 'column':'type',
+ 'action':'==',
+ 'value':'predict'
+ }
+ searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters
diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue
index 345042c99..ce5ab9968 100644
--- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue
+++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue
@@ -299,7 +299,7 @@ const searchFormClick = (searchData) => {
const cmd = {
'column':'type',
'action':'==',
- 'value':'predict'
+ 'value':'scrap'
}
searchData.filters.push(cmd)
tableObject.params = {
diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue
index 84962d800..e5f369ecc 100644
--- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue
+++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue
@@ -208,6 +208,12 @@ const handleExport = async () => {
// 筛选提交
const searchFormClick = (searchData) => {
+ const cmd = {
+ 'column':'type',
+ 'action':'==',
+ 'value':'scrap'
+ }
+ searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters