计数:已操作的改个颜色

打印:两个二维码打到一个标签上,显示唯一码内容
货架入库:自动滚到最新数据,添加托盘信息
分解单据:不查找货架库库存
货架出库:添加导出excel
This commit is contained in:
zhougf committed 2024-04-29 16:21:44 +08:00
1 parent eacc0551a2
commit 5b1912ff07
8 files changed
+24558 -58

No files matched your search

@@ -271,6 +271,7 @@ namespace HHWMS.Web.Controllers
if (receiptDetail != null)
{
receiptDetail.Qty = qty;
receiptDetail.Lot = "1";
receiptDetail.UpdateTime = DateTime.Now;
receiptDetail.UpdateBy = Wtm.LoginUserInfo.ITCode;
_unitwork.Update(receiptDetail);
@@ -95,6 +95,7 @@ public class ReceiptShelfInController : BaseController
invList.Add(new Inventory
{
ZoneCode = ZoneCodeEnum.货架库,
ContainerCode = item.BoxCode,
LocationCode = item.BoxCode,
UniqueCode = item.UniqueCode,
MaterialCode = receipt.MaterialCode,
@@ -3,7 +3,8 @@
<el-row id="count" :gutter="20">
<el-col :span="14">
<el-card class="box-card">
<el-table :data="tableData" height="450" border
<el-table :data="tableData" height="450"
border
style="width: 100%">
<el-table-column type="index"
width="50">
@@ -12,7 +13,13 @@
<el-table-column label="编码" align="center" prop="MaterialCode"></el-table-column>
<el-table-column label="规格型号" align="center" prop="MaterialSpec"></el-table-column>
<el-table-column label="批次" align="center" prop="Batch"></el-table-column>
<el-table-column label="数量" align="center" prop="Qty"></el-table-column>
<el-table-column label="数量" align="center" prop="Qty">
<template scope="scope">
<span v-if="scope.row.Lot == '1'" style="color:#37B328">{{ scope.row.Qty }}</span>
<span v-else>{{ scope.row.Qty }}</span>
</template>
</el-table-column>
<el-table-column label="Lot" align="center" prop="Lot" v-if="false"></el-table-column>
</el-table>
</el-card>
</el-col>
@@ -107,6 +114,7 @@ var app = new Vue({
return value.UniqueCode == _this.form.uniqueCode;
});
_this.tableData[isExit].Qty = qty;
_this.tableData[isExit].Lot = "1";
_this.$refs['form'].resetFields();
_this.qtyPlaceholder = "数量";
_this.$refs.uniqueCode.focus();
@@ -21,7 +21,9 @@
</el-col>
</el-row>
<el-table :data="bindingData" stripe max-height="450" border style="width: 100%">
<el-table :data="bindingData"
ref="tableData"
stripe max-height="450" border style="width: 100%">
<el-table-column type="index"
width="50">
</el-table-column>
@@ -170,6 +172,9 @@
bindQty: json.Data.Qty,
boxCode: _this.form.locationCode
});
_this.$nextTick(() => {
_this.$refs.tableData.bodyWrapper.scrollTop = _this.$refs.tableData.bodyWrapper.scrollHeight
})
}
},
error: function (json) {