1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- import request from '@/utils/request'
- // 查询商户门店出场记录,全部类型门店(WMS回调后写入)列表
- export function listShopout(query) {
- return request({
- url: '/biz/shopout/list',
- method: 'get',
- params: query
- })
- }
- // 查询商户门店出场记录,全部类型门店(WMS回调后写入)详细
- export function getShopout(shopOutSn) {
- return request({
- url: '/biz/shopout/' + shopOutSn,
- method: 'get'
- })
- }
- // 新增商户门店出场记录,全部类型门店(WMS回调后写入)
- export function addShopout(data) {
- return request({
- url: '/biz/shopout',
- method: 'post',
- data: data
- })
- }
- // 修改商户门店出场记录,全部类型门店(WMS回调后写入)
- export function updateShopout(data) {
- return request({
- url: '/biz/shopout',
- method: 'put',
- data: data
- })
- }
- // 删除商户门店出场记录,全部类型门店(WMS回调后写入)
- export function delShopout(shopOutSn) {
- return request({
- url: '/biz/shopout/' + shopOutSn,
- method: 'delete'
- })
- }
- // 导出商户门店出场记录,全部类型门店(WMS回调后写入)
- export function exportShopout(query) {
- return request({
- url: '/biz/shopout/export',
- method: 'get',
- params: query
- })
- }
- // 拉取门店出场记录
- export function pullShopOutRecord(query,_this) {
- return request({
- url: '/biz/shopout/pullShopOutRecord',
- method: 'post',
- params: query,
- timeout: 3600 * 1000,
- loading: document.body
- }).then(function (response) {
- _this.$alert("拉取成功...");
- }).catch(function () {
- _this.$alert("拉取异常...");
- })
- }
|