| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- import request from '@/router/axios';
- // 列表
- export const customsdeclarationList = (current, size, params) => {
- return request({
- url: '/api/blade-los/customsdeclaration/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- }
- })
- }
- // 详情
- export const customsdeclarationDetail = (id) => {
- return request({
- url: '/api/blade-los/customsdeclaration/detail',
- method: 'get',
- params: {
- id
- }
- })
- }
- // 删除
- export const customsdeclarationRemove = (ids) => {
- return request({
- url: '/api/blade-los/customsdeclaration/remove',
- method: 'post',
- params: {
- ids,
- }
- })
- }
- // 保存
- export const customsdeclarationSubmit = (row) => {
- return request({
- url: '/api/blade-los/customsdeclaration/submit',
- method: 'post',
- data: row
- })
- }
- // 单据请核
- export const checkCustomsDeclaration = (row) => {
- return request({
- url: '/api/blade-los/customsdeclaration/checkCustomsDeclaration',
- method: 'post',
- data: row
- })
- }
- // 撤销单据请核
- export const revokeCheckCustomsDeclaration = (row) => {
- return request({
- url: '/api/blade-los/customsdeclaration/revokeCheckCustomsDeclaration',
- method: 'post',
- data: row
- })
- }
- // 复制单据
- export const copyCustomsDeclaration = (row) => {
- return request({
- url: '/api/blade-los/customsdeclaration/copyCustomsDeclaration',
- method: 'post',
- data: row
- })
- }
- // 详情明细一键保存
- export const customsdeclarationgoodssSubmit = (row) => {
- return request({
- url: '/api/blade-los/customsdeclarationgoods/submitList',
- method: 'post',
- data: row
- })
- }
- // 详情明细一键删除
- export const customsdeclarationgoodsRemove = (ids) => {
- return request({
- url: '/api/blade-los/customsdeclarationgoods/remove',
- method: 'post',
- params: {
- ids,
- }
- })
- }
|