备料区二

This commit is contained in:
zhangdingyu
2019-09-29 15:50:17 +08:00
parent 42f4650469
commit 775d4ce03c
2 changed files with 9 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFil
export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx`
export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx`
const service = axios.create({
baseURL: `http://192.168.0.102:8005/submit/MESCommonBase.ashx`,
baseURL: `http://localhost:8005/submit/MESCommonBase.ashx`,
timeout: 1500000 // 请求超时时间
})
export default service

View File

@@ -68,7 +68,7 @@
<el-card>
<span>零件图号:</span>
<el-input v-model="partName2" placeholder="零件图号" size="small" clearable style="width:200px;margin: 3px 0"/>
<el-tooltip :open-delay="1200" effect="dark" content="外购备料确认" placement="top">
<el-tooltip :open-delay="1200" effect="dark" content="外购备料查询" placement="top">
<el-button size="small" icon="el-icon-search" type="success" style="margin-left: 10px" @click="total2=0;pageSize2=10; pageCurrent2=1;searchTable2()">查询</el-button>
</el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="外购备料完成" placement="top">
@@ -120,7 +120,8 @@
</div>
</template>
<script>import { getMachines, getGroups, searchtable, searchtable2, searchtable3, change2, change3, edit } from '@/api/ManufacturingCenter/MaterialArrivalManagement'
<script>
import { getMachines, getGroups, searchtable, searchtable2, searchtable3, change2, change3, edit } from '@/api/ManufacturingCenter/MaterialArrivalManagement'
import { mapGetters } from 'vuex'
import Cookie from 'js-cookie'
export default {
@@ -172,10 +173,11 @@ export default {
}
}
},
// created() {
// this.searchTable()
// this.searchTable2()
// },
created() {
this.getMachine()
this.searchTable()
this.searchTable2()
},
methods: {
handleSelectionChange2(val) {
this.arrest2 = val