库存查询,文件导入导出等

master
anthonywj 3 years ago
parent 87527aeaf8
commit 77ab482a99

@ -1,7 +1,7 @@
{
"BASE_URL":"http://139.159.187.130:8080/UDI_WMS_MC",
"SERVER_IP": "http://139.159.187.130:8080/",
"WEBSOCKET_URL": "ws://139.159.187.130:8080/UDI_WMS_MC/api/websocket/"
"BASE_URL":"http://127.0.0.1:9991",
"SERVER_IP": "http://127.0.0.1:9991/",
"BASE_URL2": "ws://127.0.0.1:9991/api/websocket/"
}

@ -8,7 +8,13 @@
style="width: 400px"
></el-input>
</el-form-item>
<el-form-item class="query-form-item">
<el-select v-model="filterQuery.enable" placeholder="启用状态" clearable>
<el-option label="全部" value=""></el-option>
<el-option label="已启用" value="1"></el-option>
<el-option label="未启用" value="0"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button-group>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
@ -97,19 +103,20 @@
</div>
</template>
<script>
import {
import {
getJoinBussinessType,
deleteBussinessType,
updateBussinessType,
insertBussinessType,
} from "../../api/basic/bussinessType";
} from "../../api/basic/bussinessType";
import modifyDialog from "./BussinessTypeModify";
import modifyDialog from "./BussinessTypeModify";
export default {
export default {
data() {
return {
filterQuery: {
enable: "1",
udiwmsType: "",
thirdType: "",
page: 1,
@ -144,6 +151,7 @@
path: "",
});
this.filterQuery = {
enable: null,
udiwmsType: "",
thirdType: "",
page: 1,
@ -170,7 +178,10 @@
this.total = 0;
});
},
handleCurrentChange(val) {
this.filterQuery.page = val;
this.getList();
},
onAddSubmit() {
insertBussinessType(this.inputQuery)
@ -207,7 +218,7 @@
name: row.name,
enable: row.enable,
mainAction: row.mainAction,
localAction:row.localAction,
localAction: row.localAction,
thirdSysFk: row.thirdSysFk,
};
},
@ -251,5 +262,5 @@
created() {
this.getList();
},
};
};
</script>

@ -160,6 +160,10 @@
};
return statusMap[status];
},
handleCurrentChange(val) {
this.filterQuery.page = val;
this.getList();
},
},
mounted() {
},

@ -104,11 +104,11 @@
</template>
<script>
import {
import {
filterDetail,
} from "../../api/basic/udiinfolog";
} from "../../api/basic/udiinfolog";
export default {
export default {
name: "udiImportDetail",
props: {
currentRow: {
@ -121,8 +121,8 @@
return {
filterQuery: {
genKey: null,
udiCode:null,
status:null,
udiCode: null,
status: null,
page: 1,
limit: 10,
},
@ -144,8 +144,8 @@
});
this.filterQuery = {
genKey: null,
udiCode:null,
status:null,
udiCode: null,
status: null,
page: 1,
limit: 10,
};
@ -153,7 +153,7 @@
},
getList() {
this.loading = true;
console.log(" this.genKey = "+ this.currentRow.genKey)
console.log(" this.genKey = " + this.currentRow.genKey)
this.filterQuery.genKey = this.currentRow.genKey;
filterDetail(this.filterQuery)
.then((response) => {
@ -175,38 +175,41 @@
};
return statusMap[status];
},
handleCurrentChange(val) {
this.filterQuery.page = val;
this.getList();
},
},
mounted() {
},
created() {
this.getList();
},
filters: {
},
};
filters: {},
};
</script>
<style>
.itemTag {
.itemTag {
float: left;
text-align: left;
margin-top: 10px;
width: 100px;
}
}
.text {
.text {
font-size: 13px;
font-family: "Microsoft YaHei";
}
}
.el-row {
.el-row {
display: flex;
flex-wrap: wrap;
}
}
.el-col {
.el-col {
border-radius: 4px;
flex-wrap: wrap;
}
}
</style>

@ -148,6 +148,10 @@
this.total = 0;
});
},
handleCurrentChange(val) {
this.filterQuery.page = val;
this.getList();
},
},
mounted() {
},

@ -158,6 +158,10 @@
console.log("----" + val);
this.multipleSelection = val;
},
handleCurrentChange(val) {
this.filterQuery.page = val;
this.getList();
},
}
}

@ -196,6 +196,10 @@
console.log("----" + val);
this.multipleSelection = val;
},
handleCurrentChange(val) {
this.filterQuery.page = val;
this.getList();
},
}
}

Loading…
Cancel
Save