|
|
@ -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("修改成功");
|
|
|
|