lxf 1 year ago
parent
commit
b9bb5f8c8a
1 changed files with 0 additions and 22 deletions
  1. 0 22
      src/views/production/operation/lose-the-delivery/index.vue

+ 0 - 22
src/views/production/operation/lose-the-delivery/index.vue

@@ -33,15 +33,6 @@
                 </div>
               </template>
             </el-table-column>
-            <el-table-column label="仓库" width="160">
-              <template #default="{ row, $index }">
-                <el-form-item :prop="'productionExceedReceiveSkuList.' + $index + '.warehouseId'" style="width: 100%">
-                  <el-select v-model="row.warehouseId" placeholder="请选择仓库" clearable style="width: 100%">
-                    <el-option v-for="item in warehouseList" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey" />
-                  </el-select>
-                </el-form-item>
-              </template>
-            </el-table-column>
             <el-table-column label="订单数量" prop="orderQuantity" width="120" />
             <el-table-column label="超领数量" width="160">
               <template #default="{ row, $index }">
@@ -94,7 +85,6 @@ import SelectProduct from "/src/views/group/product/management/index";
 
 const { proxy } = getCurrentInstance();
 const productionOrder = ref([]);
-const warehouseList = ref([]);
 const typeList = ref([
   {
     dictKey: 1,
@@ -133,18 +123,6 @@ const getDemandData = () => {
       );
     }
   });
-  proxy.post("/warehouse/page", { pageNum: 1, pageSize: 999 }).then((res) => {
-    if (res.rows && res.rows.length > 0) {
-      warehouseList.value = res.rows
-        .filter((item) => ["1", "5"].includes(item.type))
-        .map((item) => {
-          return {
-            dictKey: item.id,
-            dictValue: item.name,
-          };
-        });
-    }
-  });
 };
 getDemandData();
 const submit = ref(null);