Browse Source

合格证盘点管理增加盘点人员必选的判断

zhanglei
yunuo970428 3 years ago
parent
commit
50474878eb
  1. 4
      anrui-scm/anrui-scm-ui/src/views/supplychain/hegezhengpandianjilu/hegezhengpandianjilu.vue
  2. 4
      anrui-scm/anrui-scm-ui/src/views/supplychain/hegezhengpandianjilu/hegezhengpandianjiluAdd.vue

4
anrui-scm/anrui-scm-ui/src/views/supplychain/hegezhengpandianjilu/hegezhengpandianjilu.vue

@ -182,7 +182,7 @@ export default {
useOrg: '', // 使 useOrg: '', // 使
listQuery: { listQuery: {
current: 1, current: 1,
size: 10, size: 5,
total: 0, total: 0,
params: { params: {
certNo: '', // certNo: '', //
@ -296,7 +296,7 @@ export default {
resetQuery() { resetQuery() {
this.listQuery = { this.listQuery = {
current: 1, current: 1,
size: 10, size: 5,
total: 0, total: 0,
params: { params: {
certNo: '', // certNo: '', //

4
anrui-scm/anrui-scm-ui/src/views/supplychain/hegezhengpandianjilu/hegezhengpandianjiluAdd.vue

@ -21,7 +21,7 @@
</el-col> </el-col>
<el-col :span="4" class="colStyle"> <el-col :span="4" class="colStyle">
<el-form-item> <el-form-item>
<el-select v-model="listQuery.params.inventoryName" placeholder="请选择" filterable @change="changeInventoryName" clearable class="addinputwOne"> <el-select v-model="listQuery.params.inventoryName" placeholder="请选择" filterable @change="changeInventoryName" class="addinputwOne">
<el-option v-for="item in staff_list" :key="item.sid" :label="item.namePath" :value="item.sid"></el-option> <el-option v-for="item in staff_list" :key="item.sid" :label="item.namePath" :value="item.sid"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -208,7 +208,7 @@ export default {
this.temp.inventorySid = bb.sid this.temp.inventorySid = bb.sid
}, },
handleAffirm(row) { handleAffirm(row) {
if (this.temp.inventoryName === '') { if (this.temp.inventoryName === '' || this.temp.inventoryName === null || this.temp.inventoryName === undefined) {
this.$message({ showClose: true, type: 'error', message: '请选择盘点人员' }) this.$message({ showClose: true, type: 'error', message: '请选择盘点人员' })
return return
} }

Loading…
Cancel
Save