|
@@ -4825,10 +4825,6 @@ export default {
|
|
|
this.getDicts("data_stltype_type").then((response) => {
|
|
|
this.fStltypeOptions = response.data;
|
|
|
});
|
|
|
- this.getDicts("st_out_type").then((response) => {
|
|
|
- this.businessTypeOption = response.data;
|
|
|
- localStorage.setItem("businessTypeList", JSON.stringify(response.data));
|
|
|
- });
|
|
|
this.getDicts("data_unitfees").then((response) => {
|
|
|
this.fFeetUnitOptions = response.data;
|
|
|
});
|
|
@@ -4838,10 +4834,6 @@ export default {
|
|
|
this.getDicts("data_ifweigh_status").then((response) => {
|
|
|
this.fIfweighOptions = response.data;
|
|
|
});
|
|
|
- this.getDicts("storage_type").then((response) => {
|
|
|
- this.fStorageTypeOptions = response.data;
|
|
|
- localStorage.setItem("fStorageTypeList", JSON.stringify(response.data));
|
|
|
- });
|
|
|
this.getDicts("sys_car_type").then((response) => {
|
|
|
this.fCartypeOptions = response.data;
|
|
|
});
|
|
@@ -4899,6 +4891,16 @@ export default {
|
|
|
this.getRow2();
|
|
|
this.form.fBstime = Date.parse(new Date());
|
|
|
},
|
|
|
+ activated() {
|
|
|
+ this.getDicts("st_out_type").then((response) => {
|
|
|
+ this.businessTypeOption = response.data;
|
|
|
+ localStorage.setItem("businessTypeList", JSON.stringify(response.data));
|
|
|
+ });
|
|
|
+ this.getDicts("storage_type").then((response) => {
|
|
|
+ this.fStorageTypeOptions = response.data;
|
|
|
+ localStorage.setItem("fStorageTypeList", JSON.stringify(response.data));
|
|
|
+ });
|
|
|
+ },
|
|
|
filters: {
|
|
|
fBsdateFormat(row) {
|
|
|
if (row) {
|