修改
This commit is contained in:
@@ -166,8 +166,8 @@
|
|||||||
<script>
|
<script>
|
||||||
import CRUD, { crud, form } from '@crud/crud'
|
import CRUD, { crud, form } from '@crud/crud'
|
||||||
import AddDtl from '@/views/wms/st/inStor/moveStor/handmovestor/AddDtl'
|
import AddDtl from '@/views/wms/st/inStor/moveStor/handmovestor/AddDtl'
|
||||||
import handmovestor from '@/api/wms/st/inStor/moveStor/handmovestor'
|
import handmovestor from '@/views/wms/st/inStor/moveStor/handmovestor'
|
||||||
import crudStorattr from '@/api/wms/basedata/st/storattr'
|
import crudStorattr from '@/views/wms/basedata/st/stor/storattr'
|
||||||
import StructDiv from '@/views/wms/pub/StructDialog'
|
import StructDiv from '@/views/wms/pub/StructDialog'
|
||||||
|
|
||||||
const defaultForm = {
|
const defaultForm = {
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
import CRUD, { header, presenter } from '@crud/crud'
|
import CRUD, { header, presenter } from '@crud/crud'
|
||||||
import rrOperation from '@crud/RR.operation'
|
import rrOperation from '@crud/RR.operation'
|
||||||
import pagination from '@crud/Pagination'
|
import pagination from '@crud/Pagination'
|
||||||
import crudSectattr from '@/api/wms/basedata/st/sectattr'
|
import crudSectattr from '@/views/wms/basedata/st/sect/sectattr'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AddDtl',
|
name: 'AddDtl',
|
||||||
|
|||||||
@@ -0,0 +1,68 @@
|
|||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
export function add(data) {
|
||||||
|
return request({
|
||||||
|
url: 'api/handmovestor',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function del(ids) {
|
||||||
|
return request({
|
||||||
|
url: 'api/handmovestor/',
|
||||||
|
method: 'delete',
|
||||||
|
data: ids
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function edit(data) {
|
||||||
|
return request({
|
||||||
|
url: 'api/handmovestor',
|
||||||
|
method: 'put',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function getOutBillDtl(params) {
|
||||||
|
return request({
|
||||||
|
url: '/api/handmovestor/getOutBillDtl',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function getInvTypes() {
|
||||||
|
return request({
|
||||||
|
url: '/api/handmovestor/getInvTypes',
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function insertDtl(data) {
|
||||||
|
return request({
|
||||||
|
url: '/api/handmovestor/insertDtl',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function getStructIvt(params) {
|
||||||
|
return request({
|
||||||
|
url: '/api/handmovestor/getStructIvt',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function confirm(data) {
|
||||||
|
return request({
|
||||||
|
url: '/api/handmovestor/confirm',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function handdown(data) {
|
||||||
|
return request({
|
||||||
|
url: '/api/handmovestor/handdown',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export default { add, edit, del, getOutBillDtl,getStructIvt,confirm,getInvTypes,handdown }
|
||||||
@@ -191,14 +191,14 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import handmovestor from '@/api/wms/st/inStor/moveStor/handmovestor'
|
import handmovestor from '@/views/wms/st/inStor/moveStor/handmovestor'
|
||||||
import CRUD, { crud, header, presenter } from '@crud/crud'
|
import CRUD, { crud, header, presenter } from '@crud/crud'
|
||||||
import rrOperation from '@crud/RR.operation'
|
import rrOperation from '@crud/RR.operation'
|
||||||
import crudOperation from '@crud/CRUD.operation'
|
import crudOperation from '@crud/CRUD.operation'
|
||||||
import udOperation from '@crud/UD.operation'
|
import udOperation from '@crud/UD.operation'
|
||||||
import pagination from '@crud/Pagination'
|
import pagination from '@crud/Pagination'
|
||||||
import AddDialog from '@/views/wms/st/inStor/moveStor/handmovestor/AddDialog'
|
import AddDialog from '@/views/wms/st/inStor/moveStor/handmovestor/AddDialog'
|
||||||
import crudStorattr from '@/api/wms/basedata/st/storattr'
|
import crudStorattr from '@/views/wms/basedata/st/stor/storattr'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Handmovestor',
|
name: 'Handmovestor',
|
||||||
|
|||||||
Reference in New Issue
Block a user