|
@@ -275,7 +275,7 @@
|
|
|
</el-row>
|
|
|
<el-row >
|
|
|
<el-col :span="6">
|
|
|
- <el-button size="small" style="width: 100%;" type="primary" @click="inttraAdd">发送INTTRA EDI</el-button>
|
|
|
+ <el-button size="small" style="width: 100%;" type="primary" @click="inttraAdd">发送 INTTRA EDI 时 DOOR TO 或 TO DOOR 联系人信息</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="签单日期" prop="issueDate" >
|
|
@@ -384,59 +384,138 @@
|
|
|
:before-close="beforeClose">
|
|
|
<div>
|
|
|
<el-form :model="assemblyForm" ref="form" label-width="160px">
|
|
|
- <el-row :gutter="20">
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item :label="`${inttraText} 客户名称`" prop="hNotify2CnName" >
|
|
|
- <!--<search-query :datalist="inttraData"-->
|
|
|
- <!-- :selectValue="assemblyForm[`inttra${inttraTitle}CorpName`]"-->
|
|
|
- <!-- :filterable="true"-->
|
|
|
- <!-- :clearable="true"-->
|
|
|
- <!-- :remote="true"-->
|
|
|
- <!-- :disabled="detailData.seeDisabled"-->
|
|
|
- <!-- :buttonIf="false"-->
|
|
|
- <!-- :forParameter="{key:'id',label:'cnName',value:'cnName'}"-->
|
|
|
- <!-- :placeholder="`请选择${inttraText} 客户名称`"-->
|
|
|
- <!-- @remoteMethod="remoteMethod($event,`inttra${inttraTitle}`)"-->
|
|
|
- <!-- @corpChange="corpChange($event,`inttra${inttraTitle}`)"-->
|
|
|
- <!-- @corpFocus="remoteMethod($event,`inttra${inttraTitle}`)" >-->
|
|
|
- <!--</search-query>-->
|
|
|
- <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttra${inttraTitle}CorpName`]"
|
|
|
- size="small" autocomplete="off"
|
|
|
- :disabled="detailData.seeDisabled"
|
|
|
- clearable :placeholder="`请输入${inttraText} 客户名称`"
|
|
|
- @input="inttraTitleInput($event,'CorpName')" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item :label="`${inttraText} 客户地址`" >
|
|
|
- <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttra${inttraTitle}CorpAddr`]"
|
|
|
- size="small" autocomplete="off"
|
|
|
- :disabled="detailData.seeDisabled"
|
|
|
- clearable :placeholder="`请输入${inttraText} 客户地址`"
|
|
|
- @input="inttraTitleInput($event,'CorpAddr')" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item :label="`${inttraText} 联系人`" >
|
|
|
- <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttra${inttraTitle}CorpContacts`]"
|
|
|
- size="small" autocomplete="off"
|
|
|
- :disabled="detailData.seeDisabled"
|
|
|
- clearable :placeholder="`请输入${inttraText} 联系人`"
|
|
|
- @input="inttraTitleInput($event,'CorpContacts')" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item :label="`${inttraText} 联系电话`" >
|
|
|
- <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttra${inttraTitle}CorpTel`]"
|
|
|
- size="small" autocomplete="off"
|
|
|
- :disabled="detailData.seeDisabled"
|
|
|
- clearable :placeholder="`请输入${inttraText} 联系人电话`"
|
|
|
- @input="inttraTitleInput($event,'CorpTel')" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
+<!-- <el-row :gutter="20">-->
|
|
|
+<!-- <el-col :span="12">-->
|
|
|
+<!-- <el-form-item :label="`${inttraText} 客户名称`" prop="hNotify2CnName" >-->
|
|
|
+<!-- <!–<search-query :datalist="inttraData"–>-->
|
|
|
+<!-- <!– :selectValue="assemblyForm[`inttra${inttraTitle}CorpName`]"–>-->
|
|
|
+<!-- <!– :filterable="true"–>-->
|
|
|
+<!-- <!– :clearable="true"–>-->
|
|
|
+<!-- <!– :remote="true"–>-->
|
|
|
+<!-- <!– :disabled="detailData.seeDisabled"–>-->
|
|
|
+<!-- <!– :buttonIf="false"–>-->
|
|
|
+<!-- <!– :forParameter="{key:'id',label:'cnName',value:'cnName'}"–>-->
|
|
|
+<!-- <!– :placeholder="`请选择${inttraText} 客户名称`"–>-->
|
|
|
+<!-- <!– @remoteMethod="remoteMethod($event,`inttra${inttraTitle}`)"–>-->
|
|
|
+<!-- <!– @corpChange="corpChange($event,`inttra${inttraTitle}`)"–>-->
|
|
|
+<!-- <!– @corpFocus="remoteMethod($event,`inttra${inttraTitle}`)" >–>-->
|
|
|
+<!-- <!–</search-query>–>-->
|
|
|
+<!-- <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttra${inttraTitle}CorpName`]"-->
|
|
|
+<!-- size="small" autocomplete="off"-->
|
|
|
+<!-- :disabled="detailData.seeDisabled"-->
|
|
|
+<!-- clearable :placeholder="`请输入${inttraText} 客户名称`"-->
|
|
|
+<!-- @input="inttraTitleInput($event,'CorpName')" ></el-input>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="12">-->
|
|
|
+<!-- <el-form-item :label="`${inttraText} 客户地址`" >-->
|
|
|
+<!-- <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttra${inttraTitle}CorpAddr`]"-->
|
|
|
+<!-- size="small" autocomplete="off"-->
|
|
|
+<!-- :disabled="detailData.seeDisabled"-->
|
|
|
+<!-- clearable :placeholder="`请输入${inttraText} 客户地址`"-->
|
|
|
+<!-- @input="inttraTitleInput($event,'CorpAddr')" ></el-input>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="12">-->
|
|
|
+<!-- <el-form-item :label="`${inttraText} 联系人`" >-->
|
|
|
+<!-- <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttra${inttraTitle}CorpContacts`]"-->
|
|
|
+<!-- size="small" autocomplete="off"-->
|
|
|
+<!-- :disabled="detailData.seeDisabled"-->
|
|
|
+<!-- clearable :placeholder="`请输入${inttraText} 联系人`"-->
|
|
|
+<!-- @input="inttraTitleInput($event,'CorpContacts')" ></el-input>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="12">-->
|
|
|
+<!-- <el-form-item :label="`${inttraText} 联系电话`" >-->
|
|
|
+<!-- <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttra${inttraTitle}CorpTel`]"-->
|
|
|
+<!-- size="small" autocomplete="off"-->
|
|
|
+<!-- :disabled="detailData.seeDisabled"-->
|
|
|
+<!-- clearable :placeholder="`请输入${inttraText} 联系人电话`"-->
|
|
|
+<!-- @input="inttraTitleInput($event,'CorpTel')" ></el-input>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
|
|
|
- </el-row>
|
|
|
+<!-- </el-row>-->
|
|
|
|
|
|
+ <el-row v-if="inttraDoorToVisible" :gutter="20">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item :label="`DOOR TO 客户名称`" prop="hNotify2CnName" >
|
|
|
+ <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttraDoorToCorpName`]"
|
|
|
+ size="small" autocomplete="off"
|
|
|
+ :disabled="detailData.seeDisabled"
|
|
|
+ clearable :placeholder="`请输入 DOOR TO 客户名称`"
|
|
|
+ @input="inttraTitleInput($event,'CorpName')" ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item :label="`DOOR TO 客户地址`" >
|
|
|
+ <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttraDoorToCorpAddr`]"
|
|
|
+ size="small" autocomplete="off"
|
|
|
+ :disabled="detailData.seeDisabled"
|
|
|
+ clearable :placeholder="`请输入${inttraText} 客户地址`"
|
|
|
+ @input="inttraTitleInput($event,'CorpAddr')" ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item :label="`DOOR TO 联系人`" >
|
|
|
+ <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttraDoorToCorpContacts`]"
|
|
|
+ size="small" autocomplete="off"
|
|
|
+ :disabled="detailData.seeDisabled"
|
|
|
+ clearable :placeholder="`请输入 DOOR TO 联系人`"
|
|
|
+ @input="inttraTitleInput($event,'CorpContacts')" ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item :label="`DOOR TO 联系电话`" >
|
|
|
+ <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttraDoorToCorpTel`]"
|
|
|
+ size="small" autocomplete="off"
|
|
|
+ :disabled="detailData.seeDisabled"
|
|
|
+ clearable :placeholder="`请输入 DOOR TO 联系人电话`"
|
|
|
+ @input="inttraTitleInput($event,'CorpTel')" ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+ <el-row v-if="inttraToDoorVisible" :gutter="20">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item :label="`TO DOOR 客户名称`" prop="hNotify2CnName" >
|
|
|
+ <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttraToDoorCorpName`]"
|
|
|
+ size="small" autocomplete="off"
|
|
|
+ :disabled="detailData.seeDisabled"
|
|
|
+ clearable :placeholder="`请输入 TO DOOR 客户名称`"
|
|
|
+ @input="inttraTitleInput($event,'CorpName')" ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item :label="`TO DOOR 客户地址`" >
|
|
|
+ <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttraToDoorCorpAddr`]"
|
|
|
+ size="small" autocomplete="off"
|
|
|
+ :disabled="detailData.seeDisabled"
|
|
|
+ clearable :placeholder="`请输入 TO DOOR 客户地址`"
|
|
|
+ @input="inttraTitleInput($event,'CorpAddr')" ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item :label="`TO DOOR 联系人`" >
|
|
|
+ <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttraToDoorCorpContacts`]"
|
|
|
+ size="small" autocomplete="off"
|
|
|
+ :disabled="detailData.seeDisabled"
|
|
|
+ clearable :placeholder="`请输入 TO DOOR 联系人`"
|
|
|
+ @input="inttraTitleInput($event,'CorpContacts')" ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item :label="`TO DOOR 联系电话`" >
|
|
|
+ <el-input type="age" style="width: 100%;" v-model="assemblyForm[`inttraToDoorCorpTel`]"
|
|
|
+ size="small" autocomplete="off"
|
|
|
+ :disabled="detailData.seeDisabled"
|
|
|
+ clearable :placeholder="`请输入 TO DOOR 联系人电话`"
|
|
|
+ @input="inttraTitleInput($event,'CorpTel')" ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ </el-row>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -488,6 +567,8 @@
|
|
|
issueAtData:[],
|
|
|
// INTTRA EDI弹窗
|
|
|
inttraVisible:false,
|
|
|
+ inttraDoorToVisible:false,
|
|
|
+ inttraToDoorVisible:false,
|
|
|
inttraText:'', // 服务方式弹窗字段拼接
|
|
|
inttraTitle:'',
|
|
|
inttraData:[],
|
|
@@ -656,12 +737,12 @@
|
|
|
},
|
|
|
// INTTRA EDI弹窗 输入框监听
|
|
|
inttraTitleInput(value,name){
|
|
|
- if (this.assemblyForm.serviceTerms == 'DOOR to DOOR') {
|
|
|
- this.$set(this.assemblyForm,`inttraDoorTo${name}`,value)
|
|
|
- this.$set(this.assemblyForm,`inttraToDoor${name}`,value)
|
|
|
- }else {
|
|
|
- this.$set(this.assemblyForm,`inttra${this.inttraTitle}${name}`,value)
|
|
|
- }
|
|
|
+ // if (this.assemblyForm.serviceTerms == 'DOOR to DOOR') {
|
|
|
+ // this.$set(this.assemblyForm,`inttraDoorTo${name}`,value)
|
|
|
+ // this.$set(this.assemblyForm,`inttraToDoor${name}`,value)
|
|
|
+ // }else {
|
|
|
+ // this.$set(this.assemblyForm,`inttra${this.inttraTitle}${name}`,value)
|
|
|
+ // }
|
|
|
},
|
|
|
// 发送INTTRA EDI弹窗开启
|
|
|
inttraAdd(){
|
|
@@ -678,16 +759,23 @@
|
|
|
this.inttraText = 'DOOR TO'
|
|
|
// this.inttraBcorpslistByType()
|
|
|
this.inttraVisible = true
|
|
|
+ this.inttraDoorToVisible = true
|
|
|
+ this.inttraToDoorVisible = false
|
|
|
+ //
|
|
|
}else if (this.assemblyForm.serviceTerms == 'CY to DOOR') {
|
|
|
this.inttraTitle = 'ToDoor'
|
|
|
this.inttraText = 'TO DOOR'
|
|
|
// this.inttraBcorpslistByType()
|
|
|
this.inttraVisible = true
|
|
|
+ this.inttraDoorToVisible = false
|
|
|
+ this.inttraToDoorVisible = true
|
|
|
}else if (this.assemblyForm.serviceTerms == 'DOOR to DOOR') {
|
|
|
this.inttraTitle = 'ToDoor'
|
|
|
this.inttraText = 'DOOR TO DOOR'
|
|
|
// this.inttraBcorpslistByType()
|
|
|
this.inttraVisible = true
|
|
|
+ this.inttraDoorToVisible = true
|
|
|
+ this.inttraToDoorVisible = true
|
|
|
}else {
|
|
|
this.$confirm('请选择其他的服务方式',{
|
|
|
confirmButtonText: "确定",
|
|
@@ -699,6 +787,7 @@
|
|
|
console.log('11111111')
|
|
|
})
|
|
|
}
|
|
|
+ console.log(this.assemblyForm.serviceTerms, this.inttraDoorToVisible, this.inttraToDoorVisible)
|
|
|
|
|
|
},
|
|
|
// INTTRA EDI弹窗清除
|