From 5cf342862c14fa53ebe54c0b075a2fd0a867b2fb Mon Sep 17 00:00:00 2001 From: jiang Date: Mon, 1 Dec 2025 17:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/business/outbound.js | 32 +- .../EquipmentSharedLease/order/index.vue | 557 +++++++++--------- .../order/sharedOutList.vue | 241 +++++--- src/views/business/outbound/details.vue | 5 +- src/views/toolsManage/toolsLedger/index.vue | 8 +- 5 files changed, 477 insertions(+), 366 deletions(-) diff --git a/src/api/business/outbound.js b/src/api/business/outbound.js index b6b61770..b4874055 100644 --- a/src/api/business/outbound.js +++ b/src/api/business/outbound.js @@ -59,7 +59,37 @@ export const outAll = (data = {}) => { }) } - +export const orderOut = (data = {}) => { + return request({ + url: '/material-mall/decChange/orderOut', + method: 'post', + data: data + }) +} + +export const orderOutCancel = (data = {}) => { + return request({ + url: '/material-mall/decChange/orderOutCancel', + method: 'post', + data: data + }) +} + +export const orderOutCancelAll = (data = {}) => { + return request({ + url: '/material-mall/decChange/orderOutCancelAll', + method: 'post', + data: data + }) +} + +export const orderOutAll = (data = {}) => { + return request({ + url: '/material-mall/decChange/orderOutAll', + method: 'post', + data: data + }) +} diff --git a/src/views/EquipmentSharedLease/order/index.vue b/src/views/EquipmentSharedLease/order/index.vue index 0a983eb8..1151bbda 100644 --- a/src/views/EquipmentSharedLease/order/index.vue +++ b/src/views/EquipmentSharedLease/order/index.vue @@ -2,75 +2,75 @@
- - - - - - - - - - - - + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + @@ -83,118 +83,117 @@ - - - - + + + -
- -
-
- -
- + + - + - - + + + + - - - - + + + + @@ -27,33 +45,81 @@ placeholder="请选择电压等级" v-model="queryParams.voltageLevel" > - + - + + + - + + + - + + + + + + 共享出库列表 - 全部出库 - 全部取消出库 + 全部出库 + 全部取消出库 @@ -67,26 +133,31 @@ :max-height="650" style="width: 100%" > - + - - - + + + - - - - + + + + - - + +
- + diff --git a/src/views/business/outbound/details.vue b/src/views/business/outbound/details.vue index 793c1d4c..1a06a0ca 100644 --- a/src/views/business/outbound/details.vue +++ b/src/views/business/outbound/details.vue @@ -2,7 +2,7 @@
- + - - - 自用出库列表 diff --git a/src/views/toolsManage/toolsLedger/index.vue b/src/views/toolsManage/toolsLedger/index.vue index 8b87be1a..834b12c0 100644 --- a/src/views/toolsManage/toolsLedger/index.vue +++ b/src/views/toolsManage/toolsLedger/index.vue @@ -262,18 +262,18 @@ export default { }, { label: '共享数量', - prop: 'scrapNum', + prop: 'shareNum', render: (h, { row }) => { - return row.scrapNum > 0 + return row.shareNum > 0 ? h( 'span', { style: { color: '#409EFF', cursor: 'pointer' }, on: { click: () => this.handleDialog(row, '1') }, }, - row.scrapNum, + row.shareNum, ) - : h('span', {}, row.scrapNum) + : h('span', {}, row.shareNum) }, }, {