import
request
from '@/utils/request'
import request1 from '../utils/requestnew'
export function getBillList(data) {
	return request({
		'url': 'DynamicFormService.BillQuery.common.kdsvc',
		'method': 'post',
		'data': data
	})
}
export function getBillDetailList(data) {
	return request({
		'url': 'DynamicFormService.BillQuery.common.kdsvc',
		'method': 'post',
		'data': data
	})
}
export function getInventoryList(data) {
	return request({
		'url': 'DynamicFormService.BillQuery.common.kdsvc',
		'method': 'post',
		'data': data
	})
}
export function getInfoByBarcode(data) {
	return request({
		'url': 'DynamicFormService.BillQuery.common.kdsvc',
		'method': 'post',
		'data': data
	})
}
export function getStockInfo(data) {
	return request({
		'url': 'DynamicFormService.BillQuery.common.kdsvc',
		'method': 'post',
		'data': data
	})
}
//保存
export function save(data) {
	return request({
		'url': 'DynamicFormService.Save.common.kdsvc',
		'method': 'post',
		'data': data
	})
}
//提交
export function submit(data) {
	return request({
		'url': 'DynamicFormService.Submit.common.kdsvc',
		'method': 'post',
		'data': data
	})
}
//审核
export function audit(data) {
	return request({
		'url': 'DynamicFormService.Audit.common.kdsvc',
		'method': 'post',
		'data': data
	})
}
//查询仓位
export function Querylocation(data) {
	return request1({
		'url': 'StockScanGetStockLocInfo',
		'method': 'post',
		'header': {
			'Content-Type': 'application/x-www-form-urlencoded'
		},
		'data': data
	})
}
//新增盘点单前获取仓位值集
export function QueryChecklocation(data) {
	return request1({
		'url': 'StockScanGetLocNos',
		'method': 'post',
		'header': {
			'Content-Type': 'application/x-www-form-urlencoded'
		},
		'data': data
	})
}
//仓位盘点库存查询
export function QueryStock(data) {
	return request1({
		'url': 'StockScanPDDStockQuery',
		'method': 'post',
		'header': {
			'Content-Type': 'application/x-www-form-urlencoded'
		},
		'data': data
	})
}