|
@@ -183,7 +183,12 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
-
|
|
|
+ <div v-if="Switchwifi" style="width: 394px;">
|
|
|
+ <el-form-item label="wifi平台OTA订单号:" prop="otaOrderNo" label-width="160px">
|
|
|
+ <el-input placeholder="wifi平台OTA订单号" v-model="DecreasePaymentsData.otaOrderNo">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div style="display: flex;">
|
|
|
<div>
|
|
@@ -266,6 +271,7 @@ export default {
|
|
|
otherBankName:'',//开户行
|
|
|
otherSideNo:'',//银行卡号
|
|
|
otherSideName:'',//对方姓名
|
|
|
+ otaOrderNo:'',//wifi平台OTA订单号
|
|
|
},
|
|
|
IsAuditGM: 0,
|
|
|
Decrease: {},
|
|
@@ -294,7 +300,7 @@ export default {
|
|
|
{ required: true, message: '请输入数量', trigger: 'blur' }
|
|
|
],
|
|
|
supplierContact: [
|
|
|
- { required: true, message: '请输入联系人', trigger: 'blur' }
|
|
|
+ { required: true, message: '请输入', trigger: 'blur' }
|
|
|
],
|
|
|
supplierContactNumber: [
|
|
|
{ required: true, message: '请输入联系人电话', trigger: 'blur' }
|
|
@@ -306,13 +312,16 @@ export default {
|
|
|
{ required: true, message: '请选择供应商地区', trigger: 'change' }
|
|
|
],
|
|
|
supplierSocialAccount: [
|
|
|
- { required: true, message: '请输入联系人', trigger: 'blur' }
|
|
|
+ { required: true, message: '请输入', trigger: 'blur' }
|
|
|
],
|
|
|
supplierAddress: [
|
|
|
- { required: true, message: '请输入联系人', trigger: 'blur' }
|
|
|
+ { required: true, message: '请输入', trigger: 'blur' }
|
|
|
],
|
|
|
supplierEmail: [
|
|
|
- { required: true, message: '请输入联系人', trigger: 'blur' }
|
|
|
+ { required: true, message: '请输入', trigger: 'blur' }
|
|
|
+ ],
|
|
|
+ otaOrderNo: [
|
|
|
+ { required: true, message: '请输入', trigger: 'blur' }
|
|
|
],
|
|
|
|
|
|
},
|
|
@@ -322,9 +331,19 @@ export default {
|
|
|
eventspd:true,
|
|
|
fullscreenLoading:false,
|
|
|
queryArr : [],
|
|
|
+ Switchwifi:false,
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+ watch:{
|
|
|
+ 'DecreasePaymentsData.priceName'(newVal,oldVal){
|
|
|
+ if(newVal.toLowerCase().includes('wifi')){
|
|
|
+ // console.log(newVal.toLowerCase(),this.Switchwifi)
|
|
|
+ this.Switchwifi=true;
|
|
|
+ }else{
|
|
|
+ this.Switchwifi=false;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
methods: {
|
|
|
//团组下拉框
|
|
|
AirTicketResSelect() {
|
|
@@ -402,6 +421,7 @@ export default {
|
|
|
that.DecreasePaymentsData.otherBankName = that.Decrease.otherBankName
|
|
|
that.DecreasePaymentsData.otherSideNo = that.Decrease.otherSideNo
|
|
|
that.DecreasePaymentsData.otherSideName = that.Decrease.otherSideName
|
|
|
+ that.DecreasePaymentsData.otaOrderNo = that.Decrease.otaOrderNo
|
|
|
that.IsAuditGM = that.Decrease.isAuditGM
|
|
|
if (that.Decrease.filePath != null && that.Decrease.filePath != undefined && that.Decrease.filePath != "") {
|
|
|
that.uploadFiles.push({
|
|
@@ -450,6 +470,7 @@ export default {
|
|
|
that.DecreasePaymentsData.filePath = that.projectName
|
|
|
that.DecreasePaymentsData.diId = that.DiIdSelect;
|
|
|
that.DecreasePaymentsData.createUserId = that.userId;
|
|
|
+ that.DecreasePaymentsData.otaOrderNo=this.Switchwifi?that.DecreasePaymentsData.otaOrderNo:'';
|
|
|
var url = "/api/Groups/OpDecreasePayments"
|
|
|
that.$axios({
|
|
|
method: 'post',
|
|
@@ -498,6 +519,7 @@ export default {
|
|
|
that.DecreasePaymentsData.filePath = that.projectName
|
|
|
that.DecreasePaymentsData.diId = that.DiIdSelect;
|
|
|
that.DecreasePaymentsData.createUserId = that.userId;
|
|
|
+ that.DecreasePaymentsData.otaOrderNo=this.Switchwifi?that.DecreasePaymentsData.otaOrderNo:'';
|
|
|
var url = "/api/Groups/OpDecreasePayments"
|
|
|
that.$axios({
|
|
|
method: 'post',
|
|
@@ -595,6 +617,7 @@ export default {
|
|
|
that.DecreasePaymentsData.filePath = response.data
|
|
|
that.DecreasePaymentsData.diId = that.DiIdSelect;
|
|
|
that.DecreasePaymentsData.createUserId = that.userId;
|
|
|
+ that.DecreasePaymentsData.otaOrderNo=this.Switchwifi?that.DecreasePaymentsData.otaOrderNo:'';
|
|
|
var url = "/api/Groups/OpDecreasePayments"
|
|
|
that.$axios({
|
|
|
method: 'post',
|