Merge branch '0.8.X' of https://gitee.com/hdka/klp-oa into 0.8.X
This commit is contained in:
@@ -438,7 +438,7 @@ export default {
|
||||
// 远程校验,当前钢卷号不能重复
|
||||
{
|
||||
validator: (rule, value, callback) => {
|
||||
checkCoilNo({ currentCoilNo: value }).then(res => {
|
||||
checkCoilNo({ currentCoilNo: value, coilId: this.form.coilId }).then(res => {
|
||||
const { duplicateType } = res.data;
|
||||
if (duplicateType === 'current' || duplicateType === 'both') {
|
||||
// alert('当前钢卷号重复,请重新输入');
|
||||
|
||||
Reference in New Issue
Block a user