diff --git a/fe/PC/src/api/wms-api.js b/fe/PC/src/api/wms-api.js
index 0a2b660d4..99190485e 100644
--- a/fe/PC/src/api/wms-api.js
+++ b/fe/PC/src/api/wms-api.js
@@ -682,6 +682,24 @@ export async function purchaseOrderCloseDetailld(id,detailld) {
})
}
+// 注塑计划-获取子物料汇总
+export function getInjectioModelPlanSumdetails(data) {
+ return request({
+ url: baseURL + 'wms/store/injection-model-plan/get-sumdetails-byNumbers',
+ method: 'post',
+ data:data
+ })
+}
+
+// 注塑计划-获取bom
+export function getInjectioModelPlanBom(data) {
+ return request({
+ url: baseURL + 'wms/store/injection-model-plan/get-bom-by-detail',
+ method: 'post',
+ data:data
+ })
+}
+
// 客户退拆任务-完成 todo
// export async function productionRecycleJobComplete(id) {
// return request({
diff --git a/fe/PC/src/components/tableDrawer/tableDrawer.vue b/fe/PC/src/components/tableDrawer/tableDrawer.vue
index 469fee462..32506c4d0 100644
--- a/fe/PC/src/components/tableDrawer/tableDrawer.vue
+++ b/fe/PC/src/components/tableDrawer/tableDrawer.vue
@@ -6,6 +6,8 @@
:visible="show"
:direction="direction"
@close="close"
+ :modal="showModal"
+ :close-on-press-escape="false"
>
@@ -43,6 +45,16 @@ export default {
};
},
props:{
+ setUTableHeight: {
+ type: Number,
+ default: () => {
+ return 20;
+ }
+ },
+ showModal:{
+ type: Boolean,
+ default: true,
+ },
size:{
type: String,
default: "40%",
diff --git a/fe/PC/src/filters/status.js b/fe/PC/src/filters/status.js
index 356b44a77..a4c1aad64 100644
--- a/fe/PC/src/filters/status.js
+++ b/fe/PC/src/filters/status.js
@@ -60,6 +60,39 @@ import store from '@/store/index'
return Enum(status, index, prop)
}
+
+//注塑计划申请状态(已过时(红色),执行中(绿色),未开启(橘色),有更新(#21DF4B),完成)
+ export function planStatus_ZS(index, prop) {
+ let status = {
+ 1: {
+ label: "新增",
+ value: 1,
+ background:"#45B5F3",
+ },
+ 5: {
+ label: "执行中",
+ value: 5,
+ background:"#5A7CF3"
+ },
+ 6: {
+ label: "已完成",
+ value: 6,
+ background:"#31BB99",
+ },
+ 10: {
+ label: "有更新",
+ value: 10,
+ background:"#21DF4B",
+ },
+ 11: {
+ label: "已过时",
+ value: 11,
+ background:"#DADADA",
+ },
+ }
+ return Enum(status, index, prop)
+}
+
//任务状态
/**
*
diff --git a/fe/PC/src/utils/primarySearchOption/index.js b/fe/PC/src/utils/primarySearchOption/index.js
index 1fd549579..6ef7629e6 100644
--- a/fe/PC/src/utils/primarySearchOption/index.js
+++ b/fe/PC/src/utils/primarySearchOption/index.js
@@ -25,25 +25,6 @@
// ]
export const IssuePlanZS = [
- // type == input
- { type: "input", label: "物品编码", prop: "code", action:"Like"},
- // type == select 枚举options(filters/status.js)
- { type: "select", label: "状态", prop: "status", options: "itemStatus"},
- // type == select 自定义options(使用userOptions参数)
-// { type: "select", label: "制造件", prop: 'canMake', userOptions: [
-// { "label": "是", id:'1', "value": true, },
-// { "label": "不是", id:'2',"value": false,}]
-// },
-// //type == date
-// { type: "date", label: "日期", prop: "date",},
-// // type == time
-// { type: "time", label: "时间", prop: "time",},
-// // type == dateTime
-// { type: "dateTime", label: "日期时间", prop: "dateTime",},
-// // type == dateTimelimit 选择范围:当前天及以后
-// { type: "dateTimelimit", label: "当前天及以后", prop: "dateTimelimit",},
-// 其他参数(以上方式通用):
-// 1、 value 添加默认值(默认为空),如:value:"111",默认值只为回显数据,不做查询处理
-// 如需要查询默认值,请在获取界面数据的paging()中配置
-// 2、 noClearable 去掉清除按钮(默认显示清除按钮)
+ { type: "input", label: "注塑计划号", prop: "number", action:"Like"},
+ { type: "select", label: "状态", prop: "requestStatus", options: "planStatus_ZS"},
]
\ No newline at end of file
diff --git a/fe/PC/src/utils/tableColumns/index.js b/fe/PC/src/utils/tableColumns/index.js
index 5d676b5b8..8a12309c9 100644
--- a/fe/PC/src/utils/tableColumns/index.js
+++ b/fe/PC/src/utils/tableColumns/index.js
@@ -4258,39 +4258,15 @@ export const completDumpNoteZP = [
// 注塑计划
export const IssuePlanZS = [
{
- label: _Names.itemCode,
- prop: "code",
+ label: "注塑计划号",
+ prop: "number",
fixed: "left",
+ width: orderWidth
},
- { label: _Names.itemName, prop: "name" },
- { label: _Names.itemDesc1, prop: "desc1" },
- { label: _Names.itemDesc2, prop: "desc2" },
- { label: _Public.status, prop: "status", type: "filter", filters: "itemStatus" },
- { label: _Public.type, prop: 'type', type: "filter", filters: "ItemTypeBasic" },
- { label: _Names.abcClass, prop: 'abcClass', type: "filter", filters: "abcClass" },
- { label: _Names.canMake, prop: 'canMake', type: "filter", filters: "whetherOrNot" },
- { label: _Names.canBuy, prop: 'canBuy', type: "filter", filters: "whetherOrNot" },
- { label: _Names.canOutsourcing, prop: 'canOutsourcing', type: "filter", filters: "whetherOrNot" },
- { label: _Names.isRecycled, prop: 'isRecycled', type: "filter", filters: "whetherOrNot" },
- { label: _Names.isPhantom, prop: "isPhantom", type: "filter", filters: "whetherOrNot" },
- { label: _Names.productLine, prop: 'productLine' },
- { label: _Names.elevel, prop: 'elevel' },
- { label: _Names.color, prop: "color" },
- // ---------------------------------------
- { label: _Public.creationTime, prop: "creationTime", type: "dateTime" },
- { label: _Public.lastModificationTime, prop: "lastModificationTime", type: "dateTime" },
- { label: _Names.category, prop: "category" },
- { label: _Names.group, prop: "group" },
- { label: _Names.configuration, prop: "configuration" },
- { label: _Names.basicUom, prop: "basicUom" },
- { label: _Names.stdPackQty, prop: "stdPackQty",isNumber:true },
- { label: _Names.project, prop: "project" },
- { label: _Names.version, prop: "version" },
- { label: _Names.eco, prop: "eco" },
- { label: _Names.validity, prop: "validity" },
- { label: _Names.validityUnit, prop: "validityUnit", type: "filter", filters: "validityUnit" },
- { label: _Names.manageType, prop: "manageType", type: "filter", filters: "manageType" },
- { label: _Public.remark, prop: "remark" },
+ { label: "计划说明", prop: 'remark',width:"auto" },
+ { label: "版本号", prop: 'version' },
+ { label: "状态", prop: "requestStatus",type: "tagFilter", filters: "planStatus_ZS",width:"auto" },
+ { label: "计划日期", prop: 'planTime', type: "dateTime",width:"auto"},
]
// 人工注塑申请
export const IssueRequestZS = [
diff --git a/fe/PC/src/views/materialIssueManage/ZS/IssuePlanZS.vue b/fe/PC/src/views/materialIssueManage/ZS/IssuePlanZS.vue
index ee9b6c51f..0026eff01 100644
--- a/fe/PC/src/views/materialIssueManage/ZS/IssuePlanZS.vue
+++ b/fe/PC/src/views/materialIssueManage/ZS/IssuePlanZS.vue
@@ -78,6 +78,8 @@
>