From 848d2bcd1c0c44304198bbf87d7c459d5911ca26 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 13 Oct 2022 17:29:17 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=8E=82=E5=95=86?= =?UTF-8?q?=E7=AE=A1=E7=90=86--=E5=BC=80=E6=88=B7=E8=A1=8C=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=93=B6=E8=A1=8C=E8=B4=A6=E5=8F=B7=E5=88=97=E3=80=81?= =?UTF-8?q?=E5=8E=82=E5=AE=B6=E5=9B=9E=E6=AC=BE=E9=80=9A=E8=B7=AF=E5=88=97?= =?UTF-8?q?=E3=80=81=E4=BB=98=E6=AC=BE=E9=80=9A=E8=B7=AF=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E5=88=97=E6=94=BE=E5=9C=A8=E5=88=97=E8=A1=A8=E7=9A=84=E5=89=8D?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/changshang/changshangguanli/changshangguanliAdd.vue | 4 ++-- .../src/views/changshang/changshangguanli/changshanglook.vue | 4 ++-- .../changshangguanli/relation/changshangBankInfo.vue | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanliAdd.vue b/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanliAdd.vue index 9658f64161..4ff4db21b5 100644 --- a/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanliAdd.vue +++ b/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshangguanliAdd.vue @@ -323,14 +323,14 @@ + + - - diff --git a/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshanglook.vue b/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshanglook.vue index da9740b6e0..c4bdb67854 100644 --- a/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshanglook.vue +++ b/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/changshanglook.vue @@ -304,14 +304,14 @@ + + - - diff --git a/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/relation/changshangBankInfo.vue b/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/relation/changshangBankInfo.vue index 0bfb61a5d7..eedc30f223 100644 --- a/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/relation/changshangBankInfo.vue +++ b/anrui-base/anrui-base-ui/src/views/changshang/changshangguanli/relation/changshangBankInfo.vue @@ -113,7 +113,7 @@ - 厂家销售通路 + 厂家回款通路 @@ -125,7 +125,7 @@ - 付款通路编码 + 付款通路 From 8e2474c9c11b50fcf6491c0df5092931f4e070d8 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 13 Oct 2022 17:44:23 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=AD=98=E6=94=BE?= =?UTF-8?q?=E5=9C=B0=E7=82=B9--=E5=BA=93=E7=AE=A1=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E6=A8=A1=E7=B3=8A=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/anruiscm/scmwarehouse/scmwarehouseAdd.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmwarehouse/scmwarehouseAdd.vue b/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmwarehouse/scmwarehouseAdd.vue index 9edad38c90..c31192b1f1 100644 --- a/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmwarehouse/scmwarehouseAdd.vue +++ b/anrui-scm/anrui-scm-ui/src/views/anruiscm/scmwarehouse/scmwarehouseAdd.vue @@ -70,7 +70,7 @@ - + From db8ba3cb942bc1b5692b996f6e8f535a18d55596 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 13 Oct 2022 17:46:43 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=97=A5=E5=B8=B8?= =?UTF-8?q?=E5=B7=A1=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/kucunguanli/polling.js | 4 +- .../relation/xunjianbaogaoAdd.vue | 2 +- .../richangxunjian/xunjianresolved.vue | 53 +++++++++++-------- 3 files changed, 35 insertions(+), 24 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/api/kucunguanli/polling.js b/anrui-scm/anrui-scm-ui/src/api/kucunguanli/polling.js index 8439dfc343..095cec4116 100644 --- a/anrui-scm/anrui-scm-ui/src/api/kucunguanli/polling.js +++ b/anrui-scm/anrui-scm-ui/src/api/kucunguanli/polling.js @@ -70,9 +70,9 @@ export default { }) }, // 巡检报告(查看巡检报告) - getCarInspectionReport: function(data) { + getCarInspectionReport: function(sid, userSid) { return request({ - url: '/scm/v1/scmvehpatrolinspectionmonth/getCarInspectionReport/' + data, + url: '/scm/v1/scmvehpatrolinspectionmonth/getCarInspectionReport/' + sid + '/' + userSid, method: 'get' }) }, diff --git a/anrui-scm/anrui-scm-ui/src/views/kucunguanli/cheliangweihu/richangxunjian/relation/xunjianbaogaoAdd.vue b/anrui-scm/anrui-scm-ui/src/views/kucunguanli/cheliangweihu/richangxunjian/relation/xunjianbaogaoAdd.vue index 130dfed68d..51b12622ba 100644 --- a/anrui-scm/anrui-scm-ui/src/views/kucunguanli/cheliangweihu/richangxunjian/relation/xunjianbaogaoAdd.vue +++ b/anrui-scm/anrui-scm-ui/src/views/kucunguanli/cheliangweihu/richangxunjian/relation/xunjianbaogaoAdd.vue @@ -80,7 +80,7 @@ export default { }) this.formobj.mainSid = row.sid this.formobj.userSid = window.sessionStorage.getItem('userSid') - req.getCarInspectionReport(row.sid).then((resp) => { + req.getCarInspectionReport(row.sid, window.sessionStorage.getItem('userSid')).then((resp) => { if (resp.success) { this.formobj.totalNumber = resp.data.totalNumber this.formobj.actualNumber = resp.data.actualNumber diff --git a/anrui-scm/anrui-scm-ui/src/views/kucunguanli/cheliangweihu/richangxunjian/xunjianresolved.vue b/anrui-scm/anrui-scm-ui/src/views/kucunguanli/cheliangweihu/richangxunjian/xunjianresolved.vue index 9891bef7c1..2f31728d5d 100644 --- a/anrui-scm/anrui-scm-ui/src/views/kucunguanli/cheliangweihu/richangxunjian/xunjianresolved.vue +++ b/anrui-scm/anrui-scm-ui/src/views/kucunguanli/cheliangweihu/richangxunjian/xunjianresolved.vue @@ -190,28 +190,39 @@ export default { // this.$message({ showClose: true, type: 'error', message: '请填写巡检情况说明' }) // return // } + if (this.formobj.results === '') { + this.$message({ showClose: true, type: 'error', message: '处理结果不能为空' }) + return + } console.log(this.formobj) - this.formobj.carConditionValue = '问题已解决' - this.formobj.carConditionKey = '002' - this.$refs['form_obj'].validate((valid) => { - if (valid) { - this.submitdisabled = true - req.submitInspection(this.formobj).then((resp) => { - this.submitdisabled = false - if (resp.success) { - this.$message({ - showClose: true, - type: 'success', - message: resp.msg - }) - this.handleReturn('true') - } - }).catch(() => { - this.submitdisabled = false - }) - } else { - return false - } + const tip = '请确认问题是否已解决?' + this.$confirm(tip, '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + this.formobj.carConditionValue = '问题已解决' + this.formobj.carConditionKey = '002' + this.$refs['form_obj'].validate((valid) => { + if (valid) { + this.submitdisabled = true + req.submitInspection(this.formobj).then((resp) => { + this.submitdisabled = false + if (resp.success) { + this.$message({ + showClose: true, + type: 'success', + message: resp.msg + }) + this.handleReturn('true') + } + }).catch(() => { + this.submitdisabled = false + }) + } else { + return false + } + }) }) }, // 返回(===既判断) From 530d0b62bd9c3bfed156781cececb977e7d134f7 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 13 Oct 2022 17:48:52 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=BD=A6=E8=BE=86?= =?UTF-8?q?=E9=94=80=E5=94=AE=E7=AE=A1=E7=90=86--=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=88=86=E5=85=AC=E5=8F=B8sid=E5=88=A4=E6=96=AD=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cheliangxiaoshou/cheliangxiaoshouguanli.vue | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangxiaoshou/cheliangxiaoshouguanli.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangxiaoshou/cheliangxiaoshouguanli.vue index b8cd2e2ce6..538d171678 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangxiaoshou/cheliangxiaoshouguanli.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangxiaoshou/cheliangxiaoshouguanli.vue @@ -152,7 +152,7 @@ import { pagerList } from '@/api/cheliang/cheliangxiaoshou' import Pagination from '@/components/pagination' import pageye from '@/components/pagination/pageye' import ButtonBar from '@/components/ButtonBar' -import { typeValues } from '@/api/cheliang/dictcommons' +import { typeValues, getPathSidByUserSid } from '@/api/cheliang/dictcommons' import chelaingxiaoshouInfo from './chelaingxiaoshouInfo' export default { @@ -191,7 +191,8 @@ export default { saleDateEnd: '', saleDateStart: '', typeKey: '', - vinNo: '' + vinNo: '', + createOrgSid: '' }, current: 1, size: 5, @@ -202,7 +203,6 @@ export default { }, created() { // 加载列表 - this.getList() this.init() }, mounted() { @@ -215,6 +215,12 @@ export default { this.payType_list = res.data } }) + getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((resp) => { + if (resp.success) { + this.listQuery.params.createOrgSid = resp.data + this.getList() + } + }) }, // 搜索条件效果 clicksearchShow() { @@ -269,13 +275,14 @@ export default { saleDateEnd: '', saleDateStart: '', typeKey: '', - vinNo: '' + vinNo: '', + createOrgSid: '' }, current: 1, size: 5, total: 0 } - this.getList() + this.init() }, toInfo(row) { this.viewState = 2 From 6b4a00d375b7b0f8777846b7c327e080ac132e91 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 13 Oct 2022 17:50:01 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=BD=A6=E8=BE=86?= =?UTF-8?q?=E5=8F=B0=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/cheliang/basevehicle.js | 19 + .../cheliangtaizhang/cheliangtaizhang.vue | 673 ++++++++- .../cheliangtaizhang/cheliangtaizhangAdd.vue | 1245 +++++++---------- .../cheliangtaizhang/cheliangtaizhangInfo.vue | 240 ++-- .../relation/cheliangtaizhangChu.vue | 23 +- .../relation/chexingguanlianchangyong.vue | 5 + 6 files changed, 1292 insertions(+), 913 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/api/cheliang/basevehicle.js b/anrui-scm/anrui-scm-ui/src/api/cheliang/basevehicle.js index 0e96540f7e..8ffacd3964 100644 --- a/anrui-scm/anrui-scm-ui/src/api/cheliang/basevehicle.js +++ b/anrui-scm/anrui-scm-ui/src/api/cheliang/basevehicle.js @@ -190,3 +190,22 @@ export function updateVehRemarks(data) { }) } +// 获取厂家销售通路 +export function actualList(data) { + return request({ + url: '/base/v1/basemanufacturer/selectNameByOrg', + method: 'get', + params: data + }) +} + +// 条件查询 +export function selVehModelByUseOrgSidAll(data) { + return request({ + url: '/base/basevehmodelconfig/selVehModelByUseOrgSidAll', + data: data, + method: 'post', + headers: { 'Content-Type': 'application/json' } + }) +} + diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue index 3fd4ca00ef..2d77a3f3b3 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue @@ -6,28 +6,230 @@
{{ searchxianshitit }} diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangChu.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangChu.vue index 21e636df9b..f29663f397 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangChu.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangChu.vue @@ -229,6 +229,7 @@ export default { staffSid: '', // 销售专员sid type: '', // 出库类型 typeKey: '', // 出库类型Key + createOrgSid: '' }, payType_list: [], // 出库类型 org_list: [], // 销售部门 @@ -318,19 +319,27 @@ export default { this.temp.middleTwoSid = choosetItem[0].middleSid this.temp.middleCodeTwo = choosetItem[0].middleCode }, - showChu(multipleSelection) { + showChu(multipleSelection, createOrgSid) { this.temp.vinNo = multipleSelection[0].vinNo this.temp.vinSid = multipleSelection[0].sid + this.temp.createOrgSid = createOrgSid this.getType() }, // 保存 handleCreate() { - vehicleOutLibrary(this.temp).then((response) => { - if (response.success) { - this.$message({ showClose: true, type: 'success', message: '保存成功' }) - this.handleReturn('true') - } - }).catch(e => { + const tip = '请确认是否临时出库?' + this.$confirm(tip, '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + vehicleOutLibrary(this.temp).then((response) => { + if (response.success) { + this.$message({ showClose: true, type: 'success', message: '保存成功' }) + this.handleReturn('true') + } + }).catch(e => { + }) }) }, // 返回 diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue index 3cdcbf7078..128cdc3776 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue @@ -147,6 +147,11 @@ {{ scope.row.manufactorSettlementPrice }} + + +