Browse Source

修改回调函数

pull/194/head
xuxiaoming 3 years ago
parent
commit
b3b55ea1d3
1 changed files with 18 additions and 16 deletions
  1. +18
    -16
      src/views/productionPlanning/customerForecastDemandReview/demandPlanning/articleDemand/index.vue

+ 18
- 16
src/views/productionPlanning/customerForecastDemandReview/demandPlanning/articleDemand/index.vue View File

@ -41,7 +41,22 @@
</el-form> </el-form>
<div class="tool_list"> <div class="tool_list">
<div class="search"> <div class="search">
<div style="padding:8px;width: 60px;">
<div style="">
<el-select v-model="publishedVersionNr"
placeholder="请选择">
<el-option v-for="history in historyList"
:key="history.publishedVersionNr"
:label="history.publishedVersionNr"
:value="history.publishedVersionNr" />
</el-select>
</div>
<div style="margin-left:15px">
<el-button class="search-button-style" @click="lookErrorHandler(publishedVersionNr)">日志</el-button>
</div>
<div style="margin-left:15px">
<el-button class="search-button-style" @click="lookErrorLogHandler(publishedVersionNr)">历史数据</el-button>
</div>
<div style="margin-left:15px;padding:8px;width: 60px;">
MPS策略 MPS策略
</div> </div>
<div style="width: 200px;"> <div style="width: 200px;">
@ -78,21 +93,7 @@
class="reset-button-style" class="reset-button-style"
:disabled="syncDataDisable" :disabled="syncDataDisable"
@click="syncData" >同步库存</el-button> @click="syncData" >同步库存</el-button>
<div style="margin-left:15px">
<el-select v-model="publishedVersionNr"
placeholder="请选择">
<el-option v-for="history in historyList"
:key="history.publishedVersionNr"
:label="history.publishedVersionNr"
:value="history.publishedVersionNr" />
</el-select>
</div>
<div style="margin-left:15px">
<el-button class="search-button-style" @click="lookErrorHandler(publishedVersionNr)">日志</el-button>
</div>
<div style="margin-left:15px">
<el-button class="search-button-style" @click="lookErrorLogHandler(publishedVersionNr)">历史数据</el-button>
</div>
</div> </div>
<div class="button_list"> <div class="button_list">
@ -408,6 +409,7 @@
this.historyList.push({ this.historyList.push({
publishedVersionNr:data["version"] publishedVersionNr:data["version"]
}) })
this.lookErrorLogHandler(data["version"])
} }
}, },
toggleChar() { toggleChar() {


Loading…
Cancel
Save