Browse Source

盘点计划

master_hella_20240701
yufei0306 5 months ago
parent
commit
7978af2146
  1. 32
      src/views/wms/countManage/count/countPlanMain/index.vue

32
src/views/wms/countManage/count/countPlanMain/index.vue

@ -374,14 +374,14 @@ const openForm = async (type: string, row?: number) => {
] //
formRef.value.open(type, row)
getOwnerAllList()
getSupplierAllList()
getCustomerAllList()
getItembasicAllList()
getWarehouseAllList()
getAreaAllList()
getLocationgroupAllList()
getLocationAllList()
Promise.all([getOwnerAllList(),
getSupplierAllList(),
getCustomerAllList(),
getItembasicAllList(),
getWarehouseAllList(),
getAreaAllList(),
getLocationgroupAllList(),
getLocationAllList()])
}
/** 详情操作 */
@ -718,7 +718,7 @@ const allList = ref({
})
//
const getOwnerAllList = async () => {
await OwnerApi.getOwnerList().then((res) => {
OwnerApi.getOwnerList().then((res) => {
allList.value.ownerAllList = res.map((element) => {
return {
value: element.code,
@ -729,7 +729,7 @@ const getOwnerAllList = async () => {
}
//
const getSupplierAllList = async () => {
await SupplierApi.getSupplierList().then((res) => {
SupplierApi.getSupplierList().then((res) => {
allList.value.supplierAllList = res.map((element) => {
return {
value: element.code,
@ -740,7 +740,7 @@ const getSupplierAllList = async () => {
}
//
const getCustomerAllList = async () => {
await CustomerApi.getCustomerList().then((res) => {
CustomerApi.getCustomerList().then((res) => {
allList.value.customerAllList = res.map((element) => {
return {
value: element.code,
@ -751,7 +751,7 @@ const getCustomerAllList = async () => {
}
//
const getItembasicAllList = async () => {
await ItembasicApi.getItembasicList().then((res) => {
ItembasicApi.getItembasicList().then((res) => {
allList.value.itembasicAllList = res.map((element) => {
return {
value: element.code,
@ -762,7 +762,7 @@ const getItembasicAllList = async () => {
}
//
const getWarehouseAllList = async () => {
await WarehouseApi.getWarehouseList({ available: 'TRUE' }).then((res) => {
WarehouseApi.getWarehouseList({ available: 'TRUE' }).then((res) => {
allList.value.warehouseAllList = res.map((element) => {
return {
value: element.code,
@ -773,7 +773,7 @@ const getWarehouseAllList = async () => {
}
//
const getAreaAllList = async () => {
await AreaApi.getAreaList({ available: 'TRUE' }).then((res) => {
AreaApi.getAreaList({ available: 'TRUE' }).then((res) => {
allList.value.areaAllList = res.map((element) => {
return {
value: element.code,
@ -784,7 +784,7 @@ const getAreaAllList = async () => {
}
//
const getLocationgroupAllList = async () => {
await LocationgroupApi.getLocationgroupList({ available: 'TRUE' }).then((res) => {
LocationgroupApi.getLocationgroupList({ available: 'TRUE' }).then((res) => {
allList.value.locationgroupAllList = res.map((element) => {
return {
value: element.code,
@ -795,7 +795,7 @@ const getLocationgroupAllList = async () => {
}
//
const getLocationAllList = async () => {
await LocationpApi.getLocationList({ available: 'TRUE' }).then((res) => {
LocationpApi.getLocationList({ available: 'TRUE' }).then((res) => {
allList.value.locationAllList = res.map((element) => {
return {
value: element.code,

Loading…
Cancel
Save