董哲奇 8 months ago
commit 5b3618a951

@ -189,7 +189,7 @@
<el-input v-model="inParam.pl" type="search" placeholder="需求批量"></el-input>
<el-input v-model="inParam.dcpl" type="search" placeholder="需求批量"></el-input>
<el-select v-model="inParam.lx" placeholder="流向" clearable style="width: 15%">
<el-option
@ -376,7 +376,7 @@ export default {
],
inParam:{
dcch:'',
pl:'',
dcpl:'',
pwwz:'',
qgkw:'',
jhrq:'',
@ -851,14 +851,17 @@ export default {
if(selectRecords.length>0){
for(let i = 0; i < selectRecords.length; i++) {
console.log(selectRecords[i].ydid)
if(selectRecords[i].ydid!==null){
this.$message({ message: '改数据已经匹配生产计划', type: 'warning' })
return
}
if(this.inParam.dcch !==''){
selectRecords[i].zych = this.inParam.dcch
}
if(this.inParam.pl !==''){
selectRecords[i].zypl = this.inParam.pl
if(this.inParam.dcpl !==''){
selectRecords[i].zypl = this.inParam.dcpl
}
if(this.inParam.lx !==''){
selectRecords[i].zylx = this.inParam.lx
@ -1224,8 +1227,8 @@ export default {
kcAdnSlBd1(
// "data1":this.$refs.xGrid.getTableData().visibleData,
// "data2":this.$refs.xGrid1.getTableData().visibleData
this.$refs.xGrid.getUpdateRecords(),
this.$refs.xGrid.getCheckboxRecords()
).then((res) => {
// if(res.success){
this.initList()

Loading…
Cancel
Save