3
This commit is contained in:
1 parent
e9f154bd06
commit
fa7b5814ba
22 files changed
+989
-168
No files matched your search
@@ -101,19 +101,19 @@
|
||||
<div class="item__txt">{{scope.row.ThisQty}}</div>
|
||||
</div>
|
||||
</el-table-column>
|
||||
@*<el-table-column label="库存状态" width="100" align="center" prop="UserDef1">
|
||||
@* <el-table-column label="库存状态" width="100" align="center" prop="InvenoryStatus">
|
||||
<div class="item" slot-scope="scope">
|
||||
<el-select class="item__input" v-model="scope.row.UserDef1" placeholder="请选择">
|
||||
<el-select class="item__input" v-model="scope.row.InvenoryStatus" placeholder="请选择">
|
||||
<el-option v-for="item in options"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
<div class="item__txt">{{foodLabel(scope.row.UserDef1)}}</div>
|
||||
<div class="item__txt">{{foodLabel(scope.row.InvenoryStatus)}}</div>
|
||||
</div>
|
||||
</el-table-column>
|
||||
*@
|
||||
</el-table-column> *@
|
||||
|
||||
</el-table>
|
||||
|
||||
<el-pagination align='center'
|
||||
@@ -241,14 +241,11 @@
|
||||
row.THISQTYUOM = row.THISQTYSTU / row.UOMSTUCOE_0;
|
||||
}
|
||||
}
|
||||
if (property == "THISQTYUOM") {
|
||||
// 采购单位 乘 系数
|
||||
if (row.THISQTYUOM > row.QTYUOM_0) {
|
||||
row.THISQTYUOM = row.QTYUOM_0;
|
||||
this.$message.error("不能超出单据数量");
|
||||
}
|
||||
else {
|
||||
row.THISQTYSTU = row.THISQTYUOM * row.UOMSTUCOE_0;
|
||||
if (property == "ThisQty") {
|
||||
// 库存单位除以系数
|
||||
if (row.THISQTYSTU > row.QTY) {
|
||||
row.THISQTYSTU = row.QTY;
|
||||
layer.alert("不能超出单据数量!!", { icon: 5, shadeClose: true, title: "错误信息" });
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user