From f0842a417fcaa78b2588f4161cbfbe4de121ad82 Mon Sep 17 00:00:00 2001 From: zhouzy062 Date: Fri, 15 Mar 2024 16:30:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E8=BF=90=E8=A1=8C=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/claimAndRefund/constructionSite.js | 21 ++- sgzb-ui/src/api/store/newBuy.js | 8 + sgzb-ui/src/layout/components/AppMain.vue | 4 +- .../constructionSite/constructionSite.vue | 174 +++++++++++++++--- .../claimAndRefund/return/returnFinshed.vue | 32 ++-- .../src/views/store/label/labelBinding.vue | 35 ++-- .../views/store/label/labelBindingHistory.vue | 61 +++++- .../newBuy/newDevices/newDevicesList.vue | 133 +------------ sgzb-ui/src/views/store/tools/toolsType.vue | 13 +- 9 files changed, 289 insertions(+), 192 deletions(-) diff --git a/sgzb-ui/src/api/claimAndRefund/constructionSite.js b/sgzb-ui/src/api/claimAndRefund/constructionSite.js index eae0b1fe..708457d6 100644 --- a/sgzb-ui/src/api/claimAndRefund/constructionSite.js +++ b/sgzb-ui/src/api/claimAndRefund/constructionSite.js @@ -19,7 +19,7 @@ export function getUseringData(query) { } -//提交直转申请W +//提交直转申请 export function submitWorkSite(params = {}){ return request({ url:'/material/workSite/submit', @@ -28,6 +28,24 @@ export function submitWorkSite(params = {}){ }) } +// 工地直转-根据协议号获取设备 +export function getDetailInfo(query) { + return request({ + url: '/material/workSite/getInfo', + method: 'get', + params: query + }) +} + +//直转申请审批-同意 +export function passWorkSite(params = {}){ + return request({ + url:'/material/workSite/pass', + method: 'post', + data:params + }) +} + @@ -39,4 +57,3 @@ export function submitWorkSite(params = {}){ - diff --git a/sgzb-ui/src/api/store/newBuy.js b/sgzb-ui/src/api/store/newBuy.js index 5f9c6c81..6d9a446c 100644 --- a/sgzb-ui/src/api/store/newBuy.js +++ b/sgzb-ui/src/api/store/newBuy.js @@ -324,3 +324,11 @@ export function accessoryWarehousingEntry(query) { params: query }) } + +// 删除 +export function purchaseCheckInfoRemove(maCode) { + return request({ + url: '/material/purchaseCheckInfo/' + maCode, + method: 'delete' + }) +} \ No newline at end of file diff --git a/sgzb-ui/src/layout/components/AppMain.vue b/sgzb-ui/src/layout/components/AppMain.vue index a25c5625..cd5135ce 100644 --- a/sgzb-ui/src/layout/components/AppMain.vue +++ b/sgzb-ui/src/layout/components/AppMain.vue @@ -60,8 +60,8 @@ export default { } ::-webkit-scrollbar { - width: 6px; - height: 6px; + width: 12px; + height: 12px; } ::-webkit-scrollbar-track { diff --git a/sgzb-ui/src/views/claimAndRefund/constructionSite/constructionSite.vue b/sgzb-ui/src/views/claimAndRefund/constructionSite/constructionSite.vue index 09887fbb..c18eadc6 100644 --- a/sgzb-ui/src/views/claimAndRefund/constructionSite/constructionSite.vue +++ b/sgzb-ui/src/views/claimAndRefund/constructionSite/constructionSite.vue @@ -96,12 +96,14 @@ @@ -119,24 +121,25 @@ size="mini" type="text" icon="el-icon-edit" + @click="handleView(scope.row)" >查看 审核 直转单 - 删除 + >删除 --> @@ -154,7 +157,7 @@ - + - + @@ -195,14 +198,14 @@ - + - + @@ -243,7 +246,7 @@ @@ -272,30 +275,35 @@ - + - \ No newline at end of file diff --git a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesList.vue b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesList.vue index 72e1d50c..29fea513 100644 --- a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesList.vue +++ b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesList.vue @@ -175,30 +175,6 @@ @pagination="getList" /> - - - - - - - - - - - - - - - - - - - - - @@ -290,8 +266,7 @@ diff --git a/sgzb-ui/src/views/store/tools/toolsType.vue b/sgzb-ui/src/views/store/tools/toolsType.vue index d2d85b72..08d8bb4e 100644 --- a/sgzb-ui/src/views/store/tools/toolsType.vue +++ b/sgzb-ui/src/views/store/tools/toolsType.vue @@ -597,11 +597,16 @@ export default { const typeId = row.typeId || this.ids; getMaType(typeId).then(response => { this.form = response.data; - let file = { - name:this.form.documentName, - type:this.form.documentUrl, + if(this.form.documentUrl){ + let file = { + name:this.form.documentName, + type:this.form.documentUrl, + } + this.field101fileList.push(file) + }else{ + this.field101fileList=[] } - this.field101fileList.push(file) + this.imageUrl = this.form.photoUrl this.open = true;