Browse Source

完善厂家采购

master
yunuo970428 2 years ago
parent
commit
6fa449bd98
  1. 10
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue
  2. 10
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue

10
anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue

@ -158,9 +158,10 @@
</el-select>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="200">
<el-table-column label="备注" header-align="center" width="300">
<template slot-scope="scope">
<el-input v-model="scope.row.remarks" placeholder="" class="addinputw" clearable/>
<el-input v-model="scope.row.remarks" class="addinputw" v-if="scope.row.vehicleName.includes('自卸') || scope.row.vehicleName.includes('载货')" placeholder="请填写货箱内部尺寸长*宽*高(mm)" clearable/>
<el-input v-model="scope.row.remarks" v-else placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="180" align="center">
@ -559,6 +560,11 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中车辆型号不能为空' })
return
}
if ((this.formobj.busVehicleApplyDetailList[i].vehicleName.includes('自卸') || this.formobj.busVehicleApplyDetailList[i].vehicleName.includes('载货')) && this.formobj.busVehicleApplyDetailList[i].remarks === '') {
var aa = i + 1
this.$message({ showClose: true, type: 'error', message: '采购车型列表中序号' + aa + '的车型含自卸或载货,则备注不能为空' })
return
}
}
}
this.getUrl()

10
anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue

@ -157,9 +157,10 @@
</el-select>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="200">
<el-table-column label="备注" header-align="center" width="300">
<template slot-scope="scope">
<el-input v-model="scope.row.remarks" placeholder="" class="addinputw" clearable/>
<el-input v-model="scope.row.remarks" class="addinputw" v-if="scope.row.vehicleName.includes('自卸') || scope.row.vehicleName.includes('载货')" placeholder="请填写货箱内部尺寸长*宽*高(mm)" clearable/>
<el-input v-model="scope.row.remarks" v-else placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="180" align="center">
@ -542,6 +543,11 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中车辆型号不能为空' })
return
}
if ((this.formobj.busVehicleApplyDetailList[i].vehicleName.includes('自卸') || this.formobj.busVehicleApplyDetailList[i].vehicleName.includes('载货')) && this.formobj.busVehicleApplyDetailList[i].remarks === '') {
var aa = i + 1
this.$message({ showClose: true, type: 'error', message: '采购车型列表中序号' + aa + '的车型含自卸或载货,则备注不能为空' })
return
}
}
}
this.getUrl()

Loading…
Cancel
Save