Commit 12209a99 authored by hubaoshan's avatar hubaoshan

pd

parent d334e4d5
import request from '@/utils/request'
import Qs from 'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
// 1. 查询库存管理列表
export function listIncomeWmsBoxPd(query) {
return request({
url: '/incomewmsboxpd/list',
method: 'get',
params: query
})
}
export function listIncomeWmsBox(query) {
return request({
url: '/incomewmsbox/list',
method: 'get',
params: query
})
}
// 2. 查询库存管理详细信息
export function getIncomeWmsBoxPd(businessId) {
return request({
url: '/incomewmsboxpd/detail/' + businessId,
method: 'get'
})
}
// 3. 新增库存管理
export function addIncomeWmsBoxPd(data) {
data = Qs.stringify(data)
return request({
url: '/incomewmsboxpd/addQuantity',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json;charset=UTF-8' // 接口修改传参类型
}
})
}
// 4. 修改库存管理
export function updateIncomeWmsBox(data) {
const businessId = data.businessId
data = Qs.stringify(data)
return request({
url: '/incomewmsboxpd/update/' + businessId,
method: 'put',
data
})
}
// 5. 删除库存管理
export function delIncomeWmsBoxPd(businessId) {
return request({
url: '/incomewmsboxpd/delete/' + businessId,
method: 'delete'
})
}
// truncate截断表
export function truncateIncomeWmsBoxPd() {
return request({
url: '/incomewmsboxpd/truncate',
method: 'delete'
})
}
// 6. 导出库存管理
export function exportIncomeWmsBoxPd(query) {
return request({
url: '/incomewmsboxpd/export',
method: 'get',
params: query,
responseType: 'blob'
})
}
export function checkIsZero(data) {
return request({
url: 'incomewmsboxpd/checkIsZero',
method: 'post',
data,
headers: {
'Content-Type': 'application/json;charset=UTF-8' // 接口修改传参类型
}
})
}
......@@ -3,7 +3,8 @@ import { getRouters } from '@/api/menu'
import { getInfo } from '@/api/login'
import Layout from '@/layout/index'
// pathList: 是要隐藏菜单的集合 system元素:一级菜单的路径(path)
const pathList = ['/setup/index', '/setup/outku', '/setup/enterbound', '/setup/test', '/setup/enterboundTwo', '/setup/ApplicationTable', '/setup/inspectionRequestProcessing', '/setup/checkTheApplicationForExit']
const pathList = ['/setup/index', '/setup/outku', '/setup/enterbound', '/setup/test', '/setup/enterboundTwo', '/setup/ApplicationTable', '/setup/inspectionRequestProcessing', '/setup/checkTheApplicationForExit',
'/setup/enterboundPd']
const permission = {
state: {
routes: [],
......
......@@ -257,7 +257,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="cj:" prop="cj">
<span>{{getManufacturerLabel(singleDetails.cj) || '-' }}</span>
<span>{{ getManufacturerLabel(singleDetails.cj) || '-' }}</span>
</el-form-item>
</el-col>
</el-row>
......@@ -345,13 +345,11 @@
import manufacturer from '@/data/cjlist'
import {
delOutcomeWmsApply,
addOutcomeWmsApply,
updateOutcomeWmsApply,
exportOutcomeWmsApply
updateOutcomeWmsApply
} from '@/api/outcomeWmsApply'
import commonField from '@/utils/commonField'
import { getDicts } from '@/api/system/dict/data'
import { exportIncomeInoutWmsLog, getIncomeInoutWmsLog, listIncomeInoutWmsLog } from '@/api/incomeInoutWmsLog'
import { exportIncomeInoutWmsLog, listIncomeInoutWmsLog } from '@/api/incomeInoutWmsLog'
// import manufacturer from "@/api/outcomeWmsJbapplyTemp";
export default {
......
......@@ -159,8 +159,8 @@
</el-table-column>
<el-table-column label="qty" prop="qty" :show-overflow-tooltip="true" width="110">
<template slot-scope="scope">
<!-- <span v-if="scope.row.qty >= 0 ">{{scope.row.qty}}</span>-->
<!-- <span v-else>-</span>-->
<!-- <span v-if="scope.row.qty >= 0 ">{{scope.row.qty}}</span>-->
<!-- <span v-else>-</span>-->
{{ scope.row.qty || '-' }}
</template>
</el-table-column>
......
This diff is collapsed.
......@@ -183,7 +183,7 @@
<span v-else>-</span>
</template>
</el-table-column>
<el-table-column label="操作" class-name="small-padding fixed-width" min-width="160px">
<el-table-column label="操作" class-name="small-padding fixed-width" min-width="160px" >
<template slot-scope="scope">
<el-button
v-show="scope.row.dealStatus !=='1'"
......@@ -259,10 +259,10 @@
/>
</el-select>
</el-form-item>
<el-form-item label="cj" prop="cj" :rules="[{required: form.ptype === '1', message: '请输入rank的值', trigger: 'blur' }]">
<el-form-item label="cj" prop="cj" :rules="[{required: form.ptype === '1', message: '请输入rank的值', trigger: 'blur' }]">
<el-select
:disabled="isDisabled"
v-model="form.cj"
:disabled="isDisabled"
style="width: 100%"
class="normalSelect"
placeholder="请选择厂家"
......@@ -499,7 +499,7 @@ import {
import commonField from '@/utils/commonField'
import { getDicts } from '@/api/system/dict/data'
import { getToken } from '@/utils/auth'
import manufacturer from "@/data/cjlist";
import manufacturer from '@/data/cjlist'
export default {
name: 'OutcomeWmsJbapplyTemp',
data() {
......@@ -744,6 +744,14 @@ export default {
beforeRemove(file, fileList) {
this.files = []
},
// :on-progress="handleFileUploadProgress"
// :on-success="handleFileSuccess"
// :auto-upload="false"
// :on-change="employeeUpload"
// :on-remove="handleRemove"
// :before-remove="beforeRemove"
// :on-preview="handlePreview"
/* 上传文件所需求 */
handlePreview(file) {
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment