|
@@ -58,8 +58,8 @@
|
|
|
<span style="color: #1e9fff">自定义1</span>
|
|
|
</span>
|
|
|
<el-input type="age" style="width: 100%;" v-model="assemblyForm.hmmEdi.userDefine1"
|
|
|
- size="small" autocomplete="off" :disabled="detailData.seeDisabled" clearable
|
|
|
- placeholder=""></el-input>
|
|
|
+ size="small" autocomplete="off" :disabled="detailData.seeDisabled" clearable
|
|
|
+ placeholder=""></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -68,8 +68,8 @@
|
|
|
<span style="color: #1e9fff">自定义2</span>
|
|
|
</span>
|
|
|
<el-input type="age" style="width: 100%;" v-model="assemblyForm.hmmEdi.userDefine2"
|
|
|
- size="small" autocomplete="off" :disabled="detailData.seeDisabled" clearable
|
|
|
- placeholder=""></el-input>
|
|
|
+ size="small" autocomplete="off" :disabled="detailData.seeDisabled" clearable
|
|
|
+ placeholder=""></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -136,8 +136,8 @@
|
|
|
<span style="color: #1e9fff">自定义3</span>
|
|
|
</span>
|
|
|
<el-input type="age" style="width: 100%;" v-model="assemblyForm.hmmEdi.userDefine3"
|
|
|
- size="small" autocomplete="off" :disabled="detailData.seeDisabled" clearable
|
|
|
- placeholder=""></el-input>
|
|
|
+ size="small" autocomplete="off" :disabled="detailData.seeDisabled" clearable
|
|
|
+ placeholder=""></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -146,8 +146,8 @@
|
|
|
<span style="color: #1e9fff">自定义4</span>
|
|
|
</span>
|
|
|
<el-input type="age" style="width: 100%;" v-model="assemblyForm.hmmEdi.userDefine4"
|
|
|
- size="small" autocomplete="off" :disabled="detailData.seeDisabled" clearable
|
|
|
- placeholder=""></el-input>
|
|
|
+ size="small" autocomplete="off" :disabled="detailData.seeDisabled" clearable
|
|
|
+ placeholder=""></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -164,13 +164,12 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
- <el-dialog
|
|
|
- title="HMM EDI信息"
|
|
|
- :visible.sync="dialogVisible"
|
|
|
- width="70%"
|
|
|
- :modal="false"
|
|
|
- :append-to-body="true">
|
|
|
- <avue-form :key="reload" :option="hmmOption" v-model="baseData"/>
|
|
|
+ <el-dialog title="HMM EDI信息" :visible.sync="dialogVisible" width="70%" :modal="false" :append-to-body="true">
|
|
|
+ <avue-form :option="hmmOption" v-model="baseData">
|
|
|
+ <tempalte slot="applicant" slot-scope="{ row }">
|
|
|
+ <el-input v-model="baseData.applicant" placeholder="请输入 补充申报人" @input="upperCas('applicant',baseData.applicant)"></el-input>
|
|
|
+ </tempalte>
|
|
|
+ </avue-form>
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
@@ -249,12 +248,13 @@ export default {
|
|
|
span: 12,
|
|
|
prop: "applicant",
|
|
|
row: true,
|
|
|
- change: ({ value, column}) => {
|
|
|
- value = value.toUpperCase()
|
|
|
- console.info('value', this.baseData)
|
|
|
- console.info(value, column)
|
|
|
- this.$set(this.baseData, 'applicant', value.toUpperCase())
|
|
|
- }
|
|
|
+ // change: ({ value, column}) => {
|
|
|
+ // value = value.toUpperCase()
|
|
|
+ // console.info('value', this.baseData)
|
|
|
+ // console.info(value, column)
|
|
|
+ // this.$set(this.baseData, 'applicant', value.toUpperCase())
|
|
|
+ // // this.reload=Math.random();
|
|
|
+ // }
|
|
|
},
|
|
|
{
|
|
|
label: "发货人代码",
|
|
@@ -429,7 +429,7 @@ export default {
|
|
|
this.$set(this.assemblyForm, 'pilHbl', value)
|
|
|
},
|
|
|
pilHblfun() {
|
|
|
- if(this.pilHblData.length==0) {
|
|
|
+ if (this.pilHblData.length == 0) {
|
|
|
getWorkDicts('pilhbl_los').then(res => {
|
|
|
this.pilHblData = res.data.data
|
|
|
})
|
|
@@ -442,10 +442,12 @@ export default {
|
|
|
const regex = /^[A-Z0-9]{3,17}$/;
|
|
|
return regex.test(input);
|
|
|
},
|
|
|
- upperCas(str){
|
|
|
- return str.toUpperCase()
|
|
|
+ upperCas(name,str) {
|
|
|
+ console.log(str)
|
|
|
+ this.baseData[name]=str.toUpperCase()
|
|
|
+ // return str.toUpperCase()
|
|
|
},
|
|
|
- test(){
|
|
|
+ test() {
|
|
|
this.baseData = this.assemblyForm.hmmEdi
|
|
|
this.dialogVisible = true
|
|
|
},
|