diff --git a/common/style/layout.css b/common/style/layout.css index c539697..391ea1a 100644 --- a/common/style/layout.css +++ b/common/style/layout.css @@ -184,6 +184,10 @@ uni-toast .uni-toast { border-bottom: 1px solid #9fd3ff; white-space: nowrap; } +.grid-table .fontcol1 { + color: #58e9ff; + font-weight: 700; +} .grid-table th:first-child, .grid-table td:first-child { position: sticky; left: 0; @@ -354,7 +358,13 @@ uni-toast .uni-toast { .zd-checkbox { width: 18px; height: 18px; - background: center / 100% 100% url(./static/images/icon-check1.png) no-repeat; + background-color: rgba(255, 255, 255, 20%); + border: 1px solid #fff; + /* background: center / 100% 100% url(./static/images/icon-check1.png) no-repeat; */ +} +.zd-checkbox_i { + border: 1px solid #ffffff; + background: rgba(255, 255, 255, 1); } .zd-checkbox_active { background: center / 100% 100% url(./static/images/icon-check2.png) no-repeat; diff --git a/common/style/reset.css b/common/style/reset.css index 22d0195..8b4a624 100644 --- a/common/style/reset.css +++ b/common/style/reset.css @@ -51,6 +51,9 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re text-overflow: ellipsis; white-space: nowrap; } +.underline { + text-decoration: underline; +} .flexcol { flex-direction: column; } diff --git a/pages.json b/pages.json index 0e9f316..258b83e 100644 --- a/pages.json +++ b/pages.json @@ -19,6 +19,14 @@ "navigationStyle": "custom" } + } + ,{ + "path" : "pages/management/in-storage_new", + "style" : + { + "navigationStyle": "custom" + } + } ,{ "path" : "pages/management/alloc-maintenance", diff --git a/pages/home/home.vue b/pages/home/home.vue index 9f19742..ceea47b 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -72,7 +72,7 @@ } else if (e.ywlx === 'SH') { url = '/pages/management/receive-confirm' } else { - url = '/pages/management/in-storage?id=' + e.djlx + '&name=' + e.name + '&type=' + e.ywlx + url = '/pages/management/in-storage_new?id=' + e.djlx + '&name=' + e.name + '&type=' + e.ywlx } uni.redirectTo({ url: url diff --git a/pages/management/in-storage_new.vue b/pages/management/in-storage_new.vue new file mode 100644 index 0000000..0a49465 --- /dev/null +++ b/pages/management/in-storage_new.vue @@ -0,0 +1,527 @@ + + + + + diff --git a/utils/getData2.js b/utils/getData2.js index 6f340a0..1a383af 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -171,3 +171,33 @@ export const receiptBillConfirm = (arr) => request({ type: 1, data: arr }) + +/** + * 入库新接口 + * 2024.10.24 + */ +// 查看分配明细 +export const viewAssignDtl = (id) => request({ + url:'api/stIvtStockAssignDtl/viewAssignDtl', + data: {flid: id} +}) +// 查看分配明细->确认 +export const updateAssignDtl = (arr) => request({ + url:'api/stIvtStockAssignDtl/updateAssignDtl', + data: arr +}) +// 分配库位查看详情 +export const inWarehouseAssignLocation = (arr) => request({ + url:'api/easOutInBillDetail/inWarehouseAssignLocation', + data: arr +}) +// 分配库位查看详情确认 +export const addAssignDtl = (arr) => request({ + url:'api/stIvtStockAssignDtl/addAssignDtl', + data: arr +}) +// 库存提交 +export const inWarehouseCommit = (arr) => request({ + url:'api/easOutInBillDetail/inWarehouseCommit', + data: arr +}) \ No newline at end of file diff --git a/utils/mork2.js b/utils/mork2.js index 4c90518..1c6e881 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -323,7 +323,7 @@ export const easOutInBillDetailPage = (djid, page, size) => { "result": [ { "flid": "1", - "id": null, + "id": '1', "djid": "btAAAAW8Wd5QCrde", "djlx": "LLCKD", "ywlx": "OUT", @@ -363,11 +363,12 @@ export const easOutInBillDetailPage = (djid, page, size) => { "update_id": null, "update_name": null, "update_time": null, - "czsl": 0.00 + "czsl": 0.00, + "status": true }, { "flid": "2", - "id": null, + "id": '2', "djid": "btAAAAW8Wd5QCrde", "djlx": "LLCKD", "ywlx": "OUT", @@ -407,7 +408,8 @@ export const easOutInBillDetailPage = (djid, page, size) => { "update_id": null, "update_name": null, "update_time": null, - "czsl": 0.00 + "czsl": 0.00, + "status": false } ], "code": 1, @@ -1805,4 +1807,179 @@ export const receiptBillConfirm = () => { desc: 'ok' } return res +} +export const easOutInBillDetailUpdate = () => { + let res = { + code: 1, + desc: 'ok' + } + return res +} +export const viewAssignDtl = () => { + let res = { + "pageNum": 1, + "pageSize": 10, + "totalPage": 1, + "totalElements": 1, + "result": [ + { + "size": 10, + "page": 0, + "sort": null, + "isAsc": null, + "type": null, + "fuzzy": null, + "is_used": null, + "start_time": null, + "end_time": null, + "doP": { + "startTime": { + "k": [ + "create_time" + ], + "type": "LT" + }, + "endTime": { + "k": [ + "create_time" + ], + "type": "LE" + }, + "sort": { + "k": [ + "sort" + ], + "type": "BY" + }, + "blurry": { + "k": [ + "name" + ], + "type": "LK" + } + }, + "id": null, + "djid": "btAAAAW8Wd5QCrde", + "djlx": "LLCKD", + "ywlx": "OUT", + "djbh": "SOUT04240408783", + "zzbm": "01.09.07", + "zzmc": "四期智能工厂", + "btbz": "04.2512804叉车线边库领料", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "flid": "btAAAAW8Wd8Rd0u0", + "flxh": "1", + "wlbm": "910200200098", + "wlmc": "螺钉GB70.1-M12x30-8.8", + "ggxh": "内六角圆柱头螺钉GB70.1-M12x30-8.8-c1B", + "pc": null, + "jldw": "PCS", + "jbjldw": "PCS", + "fzjldw": null, + "sl": 1050, + "jbsl": "1050", + "fzsl": "0", + "ckbm": "3.04.001", + "ckmc": "智能原材料库", + "kwbm": null, + "kwmc": null, + "flbz": null, + "sysl": 1050, + "czsl": 0, + "code": "1783279018838200320", + "cksj": null, + "llr": null + } + ], + "code": 1, + "desc": "查询成功" +} + return res +} +export const inWarehouseAssignLocation = () => { + let res = { + "pageNum": 1, + "pageSize": 10, + "totalPage": 1, + "totalElements": 1, + "result": [ + { + "size": 10, + "page": 0, + "sort": null, + "isAsc": null, + "type": null, + "fuzzy": null, + "is_used": null, + "start_time": null, + "end_time": null, + "doP": { + "startTime": { + "k": [ + "create_time" + ], + "type": "LT" + }, + "endTime": { + "k": [ + "create_time" + ], + "type": "LE" + }, + "sort": { + "k": [ + "sort" + ], + "type": "BY" + }, + "blurry": { + "k": [ + "name" + ], + "type": "LK" + } + }, + "id": null, + "djid": "btAAAAW8Wd5QCrde", + "djlx": "LLCKD", + "ywlx": "OUT", + "djbh": "SOUT04240408783", + "zzbm": "01.09.07", + "zzmc": "四期智能工厂", + "btbz": "04.2512804叉车线边库领料", + "djzt": "提交", + "cjsj": "2024-04-25", + "ywrq": "2024-04-25", + "cjr": "系统", + "flid": "btAAAAW8Wd8Rd0u0", + "flxh": "1", + "wlbm": "910200200098", + "wlmc": "螺钉GB70.1-M12x30-8.8", + "ggxh": "内六角圆柱头螺钉GB70.1-M12x30-8.8-c1B", + "pc": null, + "jldw": "PCS", + "jbjldw": "PCS", + "fzjldw": null, + "sl": 1050, + "jbsl": "1050", + "fzsl": "0", + "ckbm": "3.04.001", + "ckmc": "智能原材料库", + "kwbm": null, + "kwmc": null, + "flbz": null, + "sysl": 1050, + "czsl": 0, + "code": "1783279018838200320", + "cksj": null, + "llr": null + } + ], + "code": 1, + "desc": "查询成功" +} + return res } \ No newline at end of file