This commit is contained in:
zhangdingyu
2018-12-25 16:21:24 +08:00
parent f5c56f1cac
commit ba871da686

View File

@@ -253,7 +253,7 @@ export default {
this.listLoading = true
this.tableData = []
this.num0 = ''
if (this.radio === 1) {
if (this.radio === 1) { // 未编制
detailInfo(this.partNumValue).then(response => {
if (response.data.length !== 0) {
this.typeValue = response.data[0].零件类型名称
@@ -264,6 +264,7 @@ export default {
}
}).then(() => {
mainTable(this.num0).then(response => {
console.log(response.data)
if (response.data.length === 0) {
this.listLoading = false
} else {