瀏覽代碼

修改仓库

huangbin 4 年之前
父節點
當前提交
006eddc0cf
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      src/views/information/warehouse-info/compoments/add/index.vue

+ 1 - 4
src/views/information/warehouse-info/compoments/add/index.vue

@@ -145,22 +145,19 @@ export default defineComponent({
         const loading = ref<boolean>(false);
         const { cityList, districtList, provinceList, getCityList, getDistrictList } = getAddress();
         const warehouseType = ref<AllEnums[]>(getWarehouseType());
-        console.log('warehouseType', warehouseType);
         const { formRef, formState, rules } = handleForm();
-
         function submit() {
             formRef.value
                 .validate()
                 .then(() => {
                     const param = toRaw(formState) as WarehouseApplyReq;
-                    warehouseApply(param, loading)
+                    warehouseApply(param, loading);
                     console.log('param', param);
                 })
                 .catch((error: ValidateErrorEntity<FormState>) => {
                     console.log('error', error);
                 });
         }
-        initData(() => {});
         return {
             visible,
             cancel,