入库明细拆分
铁心库打码
This commit is contained in:
1 parent
fa7b5814ba
commit
d19f62e48b
21 files changed
+513
-93
No files matched your search
@@ -45,6 +45,9 @@
|
||||
<el-form-item>
|
||||
<el-input v-model="form.materialcode" placeholder="物料编码"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-input v-model="form.ITMDES2_0" placeholder="代号"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button icon="el-icon-search" @@click="search" circle></el-button>
|
||||
</el-form-item>
|
||||
@@ -54,13 +57,15 @@
|
||||
size="small"
|
||||
ref="tableData"
|
||||
v-loading="loading"
|
||||
:highlight-current-row="true"
|
||||
@@row-click="handleClickTableRow"
|
||||
@@cell-mouse-enter="handleCellEnter"
|
||||
@@cell-mouse-leave="handleCellLeave"
|
||||
@@selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection"
|
||||
width="55">
|
||||
</el-table-column>
|
||||
<el-table-column label="地点" align="center" prop="FCY_0"></el-table-column>
|
||||
@* <el-table-column label="地点" align="center" prop="FCY_0"></el-table-column> *@
|
||||
<el-table-column label="发货日期" width="100" align="center" prop="SHIDAT_0"></el-table-column>
|
||||
@* <el-table-column label="内部供应商" width="150" align="center" prop="STOFCY_0" show-overflow-tooltip></el-table-column> *@
|
||||
<el-table-column label="内部供应商名称" width="150" align="center" prop="BPRNAM_0" show-overflow-tooltip></el-table-column>
|
||||
@@ -69,8 +74,6 @@
|
||||
<el-table-column label="产品编码" width="180" align="center" prop="ITMREF_0"></el-table-column>
|
||||
<el-table-column label="名称" width="150" align="center" prop="ITMDES1_0" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="代号" width="150" align="center" prop="ITMDES2_0" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="备注" width="100" align="center" prop="YITMDES4_0" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="材料" width="100" align="center" prop="ITMDES3_0" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="数量" width="100" align="center" prop="QTY_0" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="批次" width="150" align="center" prop="LOT_0"></el-table-column>
|
||||
<el-table-column label="批次数量" width="100" align="center" prop="QTYSTU_0"></el-table-column>
|
||||
@@ -86,6 +89,8 @@
|
||||
<div class="item__txt">{{foodLabel(scope.row.STATUS)}}</div>
|
||||
</div>
|
||||
</el-table-column>
|
||||
<el-table-column label="备注" width="100" align="center" prop="YITMDES4_0" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="材料" width="100" align="center" prop="ITMDES3_0" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column label="销售单位" width="100" align="center" prop="SAU_0"></el-table-column>
|
||||
<el-table-column label="采购订单号" width="180" align="center" prop="POHNUM_0"></el-table-column>
|
||||
<el-table-column label="订单行号" width="100" align="center" prop="POPLIN_0"></el-table-column>
|
||||
@@ -111,13 +116,18 @@
|
||||
address: 'HYB',
|
||||
billno: '',
|
||||
sbill: '',
|
||||
materialcode: ''
|
||||
materialcode: '',
|
||||
ITMDES2_0:''
|
||||
},
|
||||
addressList: [{
|
||||
value: 'HYB',
|
||||
label: 'HYB'
|
||||
}],
|
||||
options: [{
|
||||
options: [
|
||||
{
|
||||
value: '',
|
||||
label: '请选择'
|
||||
}, {
|
||||
value: 'A',
|
||||
label: 'A'
|
||||
}, {
|
||||
@@ -189,6 +199,9 @@
|
||||
handleSelectionChange(val) {
|
||||
this.multipleSelection = val;
|
||||
},
|
||||
handleClickTableRow(row) {
|
||||
this.$refs.tableData.toggleRowSelection(row)
|
||||
},
|
||||
search() {
|
||||
var _this = this;
|
||||
_this.loading = true;
|
||||
@@ -199,7 +212,8 @@
|
||||
address: _this.form.address,
|
||||
billno: _this.form.billno,
|
||||
sbill: _this.form.sbill,
|
||||
materialcode: _this.form.materialcode
|
||||
materialcode: _this.form.materialcode,
|
||||
ITMDES2_0: _this.form.ITMDES2_0
|
||||
},
|
||||
url: "/xwms/XWMSSHIP/Search",
|
||||
success: function (json) {
|
||||
@@ -214,7 +228,7 @@
|
||||
},
|
||||
create() {
|
||||
var _this = this;
|
||||
_this.$confirm('注意:您确认要对此单据进行创建采购入库吗?', '提示', {
|
||||
_this.$confirm('注意:您确认要对此单据进行创建内部收货吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
@@ -236,7 +250,6 @@
|
||||
tmp.push(x.SDHNUM_0)
|
||||
}
|
||||
});
|
||||
console.log(tmp, _this.multipleSelection)
|
||||
if (tmp.length != _this.multipleSelection.length) {
|
||||
_this.$message.error("一张收货单必须全部收完!");
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user