仓库模块修改

dev-scheduling
jinna 1 month ago
parent 5550fbd16b
commit 45ec177b92
  1. 26
      src/views/basicData/warehouseMaintenance.vue
  2. 1
      src/views/inboundOutboundManagement/otherIssuing/index.vue
  3. 2
      src/views/inboundOutboundManagement/otherIssuing/otherIssuingDailog.vue
  4. 14
      src/views/inboundOutboundManagement/returnReceiving.vue
  5. 34
      src/views/statisticalAnalysis/warehouseAnalysis/inventorySummary.vue
  6. 3
      src/views/warehouseManagement/materialMaintenance.vue

@ -271,18 +271,19 @@ export default {
remoteMethod(query){ remoteMethod(query){
if (query !== '') { if (query !== '') {
this.selectLoading = true; this.selectLoading = true;
getAllUser({ getUserByRoleAlias({
current:1,size:9999,realName:query current:1,size:9999,realName:query,
roleAlias:'保管员'
}).then(res =>{ }).then(res =>{
this.keepList = res.data.data.records this.keepList = res.data.data
this.selectLoading = false; this.selectLoading = false;
}) })
} else { } else {
// this.options = []; // this.options = [];
getAllUser({ getUserByRoleAlias({
current:1,size:9999 current:1,size:9999,roleAlias:'保管员'
}).then(res =>{ }).then(res =>{
this.keepList = res.data.data.records this.keepList = res.data.data
}) })
} }
}, },
@ -292,11 +293,12 @@ export default {
this.checkUser = '' this.checkUser = ''
this.chooseWare = [] this.chooseWare = []
this.noChooseWare = [] this.noChooseWare = []
getAllUser({ getUserByRoleAlias({
current:1, current:1,
size:999999 size:999999,
roleAlias:"保管员"
}).then(res =>{ }).then(res =>{
this.keepList = res.data.data.records this.keepList = res.data.data
}) })
}else{ }else{
this.checkWare = "" this.checkWare = ""
@ -478,12 +480,12 @@ export default {
this.getLocation() this.getLocation()
}else if(this.tabPosition == "inventorySetup"){ }else if(this.tabPosition == "inventorySetup"){
this.checkUser = '' this.checkUser = ''
getAllUser({ getUserByRoleAlias({
// roleAlias:"" roleAlias:"保管员",
current:1, current:1,
size:99999 size:99999
}).then(res =>{ }).then(res =>{
this.keepList = res.data.data.records this.keepList = res.data.data
}) })
} }
}, },

@ -339,6 +339,7 @@ export default {
// public static final Short BF_TYPE_GLASS_CAKE = 3; // public static final Short BF_TYPE_GLASS_CAKE = 3;
dicData:[ dicData:[
{ label: "到期维护报废", value: 1 }, { label: "到期维护报废", value: 1 },
{ label: "未报废", value: 0 },
{ label: "归还报废", value: 2 }, { label: "归还报废", value: 2 },
{ label: "玻璃饼报废", value: 3 } { label: "玻璃饼报废", value: 3 }
], ],

@ -39,7 +39,7 @@
<el-select v-model="stOtherOutRecord.userId" filterable <el-select v-model="stOtherOutRecord.userId" filterable
class="item-choose"> class="item-choose">
<el-option v-for="(item, index) in userData" :key="item.id" <el-option v-for="(item, index) in userData" :key="item.id"
:label="item.realName" :value="item.id" /> :label="`${item.realName}(${item.workNo})`" :value="item.id" />
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>

@ -278,6 +278,20 @@ export default {
}, },
], ],
}, },
{
label: "单价",
prop: "invadjMoney",
span: 24,
overflow: true,
search: false,
// rules: [
// {
// required: true,
// message: "",
// trigger: "blur",
// },
// ],
},
{ {
label: "单位", label: "单位",
prop: "prtum", prop: "prtum",

@ -386,7 +386,7 @@ export default {
}, },
{ {
label: '生产标识', label: '生产标识',
prop: 'inQuantityLevel', prop: 'quantityLevel',
width: 200, width: 200,
search: false, search: false,
sortable: true, sortable: true,
@ -489,7 +489,7 @@ export default {
}, },
{ {
label: '入库时间', label: '入库时间',
prop: 'inOutDate', prop: 'createTime',
width: 200, width: 200,
search: true, search: true,
sortable: true, sortable: true,
@ -508,18 +508,18 @@ export default {
}, },
], ],
}, },
{ // {
label: '入库数量', // label: '',
prop: 'inQuantity', // prop: 'inQuantity',
width: 200, // width: 200,
rules: [ // rules: [
{ // {
required: true, // required: true,
message: '请输入入库日期', // message: '',
trigger: 'blur', // trigger: 'blur',
}, // },
], // ],
}, // },
// { // {
// label: '', // label: '',
// prop: 'inOutDate', // prop: 'inOutDate',
@ -666,10 +666,10 @@ export default {
this.loading = true this.loading = true
let params = { let params = {
...this.query, ...this.query,
startInOutDate:this.query.inOutDate && this.query.inOutDate.length != 0 && this.query.inOutDate[0], startInOutDate:this.query.createTime && this.query.createTime.length != 0 && this.query.createTime[0],
endInOutDate:this.query.inOutDate && this.query.inOutDate.length != 0 && this.query.inOutDate[0] endInOutDate:this.query.createTime && this.query.createTime.length != 0 && this.query.createTime[1]
} }
const {inOutDate,...invalideParams} = params const {createTime,...invalideParams} = params
getList({ getList({
current:this.page.currentPage, current:this.page.currentPage,
size:this.page.pageSize, size:this.page.pageSize,

@ -528,6 +528,9 @@ export default {
res.data.data.records.forEach(item =>{ res.data.data.records.forEach(item =>{
item.minWarning = item.minWarning == 1 ? true : false item.minWarning = item.minWarning == 1 ? true : false
}) })
// res.data.data.records.map(item =>{
// item.gcId = item.gcId == 0 ? null :item.gcId
// })
this.data = res.data.data.records this.data = res.data.data.records
this.page.total = res.data.data.total; this.page.total = res.data.data.total;
}) })

Loading…
Cancel
Save