|
|
@ -16,7 +16,7 @@ |
|
|
</el-form> |
|
|
</el-form> |
|
|
<el-form :inline="true" label-position="top" label-width="100px" :rules="dataRole"> |
|
|
<el-form :inline="true" label-position="top" label-width="100px" :rules="dataRole"> |
|
|
<el-form-item prop="testPartNo" :rules="dataRole.testPartNo"> |
|
|
<el-form-item prop="testPartNo" :rules="dataRole.testPartNo"> |
|
|
<span slot="label" style="" @click="getBaseList(105,1)" ><a herf="#">项目料号</a></span> |
|
|
|
|
|
|
|
|
<span slot="label" style="" @click="getBaseList(134,1)" ><a herf="#">项目料号</a></span> |
|
|
<el-input v-model="dataForm.testPartNo" @change="changeTestDesc" style="width: 130px" ></el-input> |
|
|
<el-input v-model="dataForm.testPartNo" @change="changeTestDesc" style="width: 130px" ></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="'项目号'"> |
|
|
<el-form-item :label="'项目号'"> |
|
|
@ -290,7 +290,7 @@ |
|
|
this.tagNo1 = type |
|
|
this.tagNo1 = type |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
let strVal = '' |
|
|
let strVal = '' |
|
|
if (val === 105) { |
|
|
|
|
|
|
|
|
if (val === 134) { |
|
|
if(type==1) { |
|
|
if(type==1) { |
|
|
strVal = this.dataForm.testPartNo |
|
|
strVal = this.dataForm.testPartNo |
|
|
} |
|
|
} |
|
|
@ -315,7 +315,7 @@ |
|
|
}, |
|
|
}, |
|
|
/* 列表方法的回调 */ |
|
|
/* 列表方法的回调 */ |
|
|
getBaseData (val) { |
|
|
getBaseData (val) { |
|
|
if (this.tagNo === 105) { |
|
|
|
|
|
|
|
|
if (this.tagNo === 134) { |
|
|
if(this.tagNo1==1) { |
|
|
if(this.tagNo1==1) { |
|
|
this.dataForm.testPartNo = val.Test_part_no |
|
|
this.dataForm.testPartNo = val.Test_part_no |
|
|
this.dataForm.proofingNo = '' |
|
|
this.dataForm.proofingNo = '' |
|
|
|