123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- 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,loading,_this) {
- return request({
- url: '/biz/shopout/pullShopOutRecord',
- method: 'post',
- params: query,
- timeout: 3600 * 1000
- }).then(function (response) {
- loading.close();
- _this.$alert("拉取成功...");
- }).catch(function () {
- loading.close();
- _this.$alert("拉取异常...");
- })
- }
|