Pārlūkot izejas kodu

fix: 优化入库新增

liujt 1 dienu atpakaļ
vecāks
revīzija
5223ada3f7

+ 1 - 1
api/warehouseManagement/index.js

@@ -449,7 +449,7 @@ export async function getListByNameOrModeType(data) {
 
 // 仓库定义列表
 export async function warehouseDefinitionList(data) {
-	const res = await post(Vue.prototype.apiUrl + `/wms/warehouse/select/warehouseList`, data)
+	const res = await postJ(Vue.prototype.apiUrl + `/wms/warehouse/select/warehouseList`, data)
 	if (res.code == 0) {
 		return res.data
 	}

+ 0 - 19
pages/warehouse/common.js

@@ -77,25 +77,6 @@ export const tableHeader = selectEquiType => {
 	return []
 }
 
-export const sceneState = [
-	{ value: 1, text: '生产入库', documentsName: '生产工单' },
-	{ value: 2, text: '采购入库', documentsName: '采购收货单' },
-	{ value: 3, text: '归还入库', documentsName: '出库单' },
-	{ value: 4, text: '领料退货入库', documentsName: '领料退货单' },
-	// { value: 5, text: '其他入库' },
-	{ value: 6, text: '销售退货入库', documentsName: '销售订单' },
-	{ value: 7, text: '销售受托入库', documentsName: '受托收货单' },
-	{ value: 8, text: '半成品入库', documentsName: '委外工单' },
-	{ value: 9, text: '外协入库', documentsName: '销售退货处理单' },
-	{ value: 10, text: '委外入库', documentsName: '委外订单' },
-	{ value: 11, text: '委外退货入库', documentsName: '委外发货单' },
-	{ value: 12, text: '委外入库(非采购)', documentsName: '委外申请单' },
-	{ value: 13, text: '受托入库', documentsName: '受托收货单' },
-	{ value: 14, text: '项目入库', documentsName: '项目编码' },
-	{ value: 15, text: '调拨入库' },
-	{ value: 99, text: '其他入库' }
-]
-
 export const sceneState = [
   {
     value: 1,

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 669 - 311
pages/warehouse/enterHouse/addStock.vue


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels