锁定库存 盘点执行

master
Mr.sun 2 years ago
parent a740f63758
commit 657dfa8430
  1. 2
      src/components/heavyTable/index.vue
  2. 17
      src/views/libraryManage/inventory/InventoryEntry.vue
  3. 115
      src/views/libraryManage/inventory/config.js
  4. 4
      src/views/libraryManage/inventory/inventory.vue
  5. 3
      src/views/libraryManage/lockOutStore/index.vue

@ -477,7 +477,7 @@ export default {
},
//
sortChange(val) {
console.log(val)
// console.log(val)
this.sortdata = val
this.$emit('sortChange', val)
},

@ -13,12 +13,14 @@
clearable
></el-input>
</el-form-item>
<el-form-item label="物料">
<el-input
v-model="enterForm.invOrderNo"
placeholder="请输入物料"
clearable
></el-input>
<el-form-item
label="盘点方式"
prop="invWay"
>
<el-radio-group v-model="enterForm.invWay">
<el-radio label="open">明盘</el-radio>
<el-radio label="close">盲盘</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="货位">
<el-input
@ -129,6 +131,7 @@ export default {
return {
enterForm: {
invOrderNo: ''
// invWay: 'open'
},
selectData: [],
tableForm: { tableData: [] },
@ -154,7 +157,7 @@ export default {
// if (!this.enterForm.invOrderNo) return this.$message("!");
this.loading = true
list({
invWay: 'open',
// invWay: 'open',
...this.enterForm
})
.then((response) => {

@ -117,16 +117,16 @@ export function tableConfig() {
return getDictLabel(value, _that.dict.type.inv_type_dict);
},
},
{
label: "显示货位",
prop: "locationName",
istrue: true,
},
{
label: "库别",
prop: "storageName",
istrue: true,
},
// {
// label: "显示货位",
// prop: "locationName",
// istrue: true,
// },
// {
// label: "库别",
// prop: "storageName",
// istrue: true,
// },
// {
// label: "区域编号",
// prop: "areaCode",
@ -152,14 +152,14 @@ export function tableConfig() {
// prop: "specifications",
// istrue: true,
// },
{
label: "包装单位",
prop: "unit",
istrue: true,
// filter(row, value) {
// return getDictLabel(value, _that.dict.type.goods_unit);
// },
},
// {
// label: "包装单位",
// prop: "unit",
// istrue: true,
// // filter(row, value) {
// // return getDictLabel(value, _that.dict.type.goods_unit);
// // },
// },
// {
// label: "包装数量",
// prop: "packageQty",
@ -175,16 +175,16 @@ export function tableConfig() {
// prop: "waster",
// istrue: true,
// },
{
label: "件数",
prop: "caseQty",
istrue: true,
},
{
label: "零散数",
prop: "pieceQty",
istrue: true,
},
// {
// label: "件数",
// prop: "caseQty",
// istrue: true,
// },
// {
// label: "零散数",
// prop: "pieceQty",
// istrue: true,
// },
// {
// label: "数量",
// prop: "qty",
@ -212,6 +212,65 @@ export function tableConfig() {
// type: "slot",
// slotName: "invQty",
// },
{
label: "显示货位",
prop: "locationName",
istrue: true,
},
{
label: "库别",
prop: "storageName",
istrue: true,
},
{
label: "区域编号",
prop: "areaCode",
istrue: true,
},
{
label: "商品编号",
prop: "goodNo",
istrue: true,
},
{
label: "商品名称",
prop: "goodName",
istrue: true,
},
{
label: "货位分组",
prop: "locationGroup",
istrue: true,
},
{
label: "深位",
prop: "isDeep",
istrue: true,
},
{
label: "批号",
prop: "batchNo",
istrue: true,
},
{
label: "商品规格",
prop: "specifications",
istrue: true,
},
{
label: "库存数量",
prop: "quantity",
istrue: true,
},
{
label: "单位",
prop: "unit",
istrue: true,
"min-width": 100,
// filter(row, value) {
// return getDictLabel(value, _that.dict.type.goods_unit);
// },
},
],
rulesEntry: {
invCase: [

@ -161,7 +161,7 @@ export default {
storageId: '',
areaId: '',
locationCode: '',
invWay: '',
invWay: 'open',
invType: ''
},
options: [],
@ -246,7 +246,7 @@ export default {
//
queryTable() {
// if (!this.enterForm.consignorId) return this.$message('!')
// if (!this.enterForm.invWay) return this.$message('!')
if (!this.enterForm.invWay) return this.$message('盘点方式必选!')
// if (!this.enterForm.invType) return this.$message('!')
this.loading = true
queryGoods({

@ -433,7 +433,8 @@ export default {
id: tempRow.id,
batch: tempRow.batch,
ptPart: tempRow.ptPart,
lockNo: tempRow.lockNo
lockNo: tempRow.lockNo,
containerCode: tempRow.tempRow
}
this.form = data
this.open = true

Loading…
Cancel
Save