From 9b3e1f7587a50422ebdacbb0b893e0f9d5188f56 Mon Sep 17 00:00:00 2001 From: fengdong777 <1478994744@qq.com> Date: Thu, 14 Sep 2023 08:34:24 +0800 Subject: [PATCH] 9.13 --- .env.development | 2 +- src/views/supervise/oilTypeInBound/index.vue | 128 +++++++++++++++---- src/views/supervise/recordOilTank/index.vue | 124 ++++++++++++++---- 3 files changed, 207 insertions(+), 47 deletions(-) diff --git a/.env.development b/.env.development index b972a32..dd04650 100644 --- a/.env.development +++ b/.env.development @@ -8,5 +8,5 @@ VUE_APP_BASE_API = '/api' # VUE_APP_URL = "http://jianguan.yyundong.com/shgfapi" -VUE_APP_URL = "http://192.168.1.105:7102" +VUE_APP_URL = "http://192.168.1.108:7102" ##VUE_APP_URL = "http://8.130.39.13:8112" diff --git a/src/views/supervise/oilTypeInBound/index.vue b/src/views/supervise/oilTypeInBound/index.vue index 8a53dbc..d304581 100644 --- a/src/views/supervise/oilTypeInBound/index.vue +++ b/src/views/supervise/oilTypeInBound/index.vue @@ -19,24 +19,54 @@ :inline="true" class="tab-header" > - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{ if(res.code==200){ - this.viewState = 3 - this.$refs['divInfo'].showInfo(res) + this.viewState = 3 + this.$refs['divInfo'].showInfo(res) } }) }, + getMaterialGroup(){ + req.getAgentList().then((res) => { + if(res.code==200){ + this.AgentList=res.data.data + } + }); + req.getStatus().then((res) => { + if(res.code==200){ + this.Status=res.data.data + } + }); + req.getWarehouse(this.QueryList).then((res) => { + if(res.code==200){ + this.storehouse = res.data.data.list + } + }); + req.getSupplierList(this.QueryList).then((res) => { + if(res.code==200){ + this.SupplierList = res.data.data.list + } + }); + req.getOutType().then((res) => { + if(res.code==200){ + this.OutList=res.data.data + } + }); + }, resetState() { this.viewState = 1; }, diff --git a/src/views/supervise/recordOilTank/index.vue b/src/views/supervise/recordOilTank/index.vue index 7a2e9f8..ee6da97 100644 --- a/src/views/supervise/recordOilTank/index.vue +++ b/src/views/supervise/recordOilTank/index.vue @@ -19,24 +19,54 @@ :inline="true" class="tab-header" > - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{ + if(res.code==200){ + this.AgentList=res.data.data + } + }); + req.getStatus().then((res) => { + if(res.code==200){ + this.Status=res.data.data + } + }); + req.getWarehouse(this.QueryList).then((res) => { + if(res.code==200){ + this.storehouse = res.data.data.list + } + }); + req.getSupplierList(this.QueryList).then((res) => { + if(res.code==200){ + this.SupplierList = res.data.data.list + } + }); + req.getInType().then((res) => { + if(res.code==200){ + this.InList=res.data.data + } + }); + }, resetState() { this.viewState = 1; },