|
|
|
@ -395,6 +395,7 @@ import {
|
|
|
|
|
getLaterTime
|
|
|
|
|
} from "@/components/Generator/utils/index.js";
|
|
|
|
|
import { thousandsFormat } from "@/components/Generator/utils/index";
|
|
|
|
|
import { getBucketList } from "@/api/device";
|
|
|
|
|
export default {
|
|
|
|
|
components: {},
|
|
|
|
|
props: [],
|
|
|
|
@ -661,8 +662,8 @@ export default {
|
|
|
|
|
doorNumProps: { label: "fullName", value: "id" },
|
|
|
|
|
bucketCodeOptions: [],
|
|
|
|
|
bucketCodeProps: {
|
|
|
|
|
label: "show_name",
|
|
|
|
|
value: "bucket_code",
|
|
|
|
|
label: "showName",
|
|
|
|
|
value: "bucketCode",
|
|
|
|
|
children: "children"
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
@ -786,11 +787,15 @@ export default {
|
|
|
|
|
let template = {
|
|
|
|
|
paramList: templateJsonList
|
|
|
|
|
};
|
|
|
|
|
getDataInterfaceRes("565524506681020549", template).then(res => {
|
|
|
|
|
let data = res.data;
|
|
|
|
|
this.bucketCodeOptions = data;
|
|
|
|
|
getBucketList().then(res => {
|
|
|
|
|
this.bucketCodeOptions = res.data;
|
|
|
|
|
this.changeDataFormData(1, "bucketCode", "bucketCode", index, []);
|
|
|
|
|
});
|
|
|
|
|
// getDataInterfaceRes("565524506681020549", template).then(res => {
|
|
|
|
|
// let data = res.data;
|
|
|
|
|
// this.bucketCodeOptions = data;
|
|
|
|
|
// this.changeDataFormData(1, "bucketCode", "bucketCode", index, []);
|
|
|
|
|
// });
|
|
|
|
|
},
|
|
|
|
|
getproductCodeOptions() {
|
|
|
|
|
const index = this.childIndex;
|
|
|
|
|