wms部分页面代码

yangwl
mengjiao 9 months ago
parent e02a1e48e0
commit 444214bed0

@ -586,12 +586,19 @@ export default {
} }
var bull = _this.selectedRows.some((item) => { var bull = _this.selectedRows.some((item) => {
// console.log(item.stationNo == undefined || item.stationNo == '',item.stationNo) // console.log(item.stationNo == undefined || item.stationNo == '',item.stationNo)
return item.stationNo == undefined || item.stationNo == '' return item.productionLineCode == undefined || item.productionLineCode == ''
}) })
if (bull) { if (bull) {
_this.$modal.msgError("请选择包装线"); _this.$modal.msgError("请选择包装线");
return return
} }
_this.selectedRows.forEach(function(row) {
//
row.stationNo = row.productionLineCode;
console.log(row);
});
if (this.form.ID != null) { if (this.form.ID != null) {
// updateOutorder(this.form).then(response => { // updateOutorder(this.form).then(response => {
// this.$modal.msgSuccess(""); // this.$modal.msgSuccess("");

Loading…
Cancel
Save