kilo 2 years ago
parent
commit
cb5e7e7ed2
  1. 12
      src/views/activiti/form/ProcessUdgetPlanForm.vue
  2. 1
      src/views/wastematerials/ProcessWasteMaterialsLists.vue

12
src/views/activiti/form/ProcessUdgetPlanForm.vue

@ -539,7 +539,11 @@
materialType: { rules: [{ required: true, message: '请选择物资类型!' }] },
needTime: { rules: [{ required: true, message: '请选择需求时间!' }] },
processPlan: { rules: [{ required: true, message: '请选择流程计划!' }] },
sort: { rules: [{ required: true, message: '请输入序号!' }] }
sort: { rules: [{ required: true, type: 'number', message: '请输入序号!'},
{ type:'number', max:999999999999, message: '长度在 0 到 12 个字符'}
// {validator: this.lengthCheck}
]
}
},
isBu: undefined,
planType: '',
@ -641,6 +645,12 @@
// this.form.setFieldsValue("materialGroup",123123);
},
methods: {
// lengthCheck(rule, value, callback){
// if (value.toString().length >= 12 ){
// // console.log("");
// callback("0 ~ 12 ")
// }
// },
selectRowChange(a, b, c) {
// console.log("",a,b,c);
},

1
src/views/wastematerials/ProcessWasteMaterialsLists.vue

@ -366,7 +366,6 @@
materialStorageId: this.$route.query.materialStorageId,
del_flag: 0
},
this.ipagination.current = 1;
this.loadData(1);
// getAction(this.url.list,this.queryParam).then((res)=>{

Loading…
Cancel
Save