apply-clients 3.1.59 → 3.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
// AOP:进入vue组件前初始化内容
|
|
82
82
|
// json配置数据处理 比如下拉框的options
|
|
83
83
|
async initializtion() {
|
|
84
|
+
|
|
84
85
|
if (this.show_data && this.show_data.f_process_id == this.data.f_process_id
|
|
85
86
|
&& this.show_data.defname==this.selectdata.defname){
|
|
86
87
|
this.data = Object.assign({}, this.data, this.selectdata,this.show_data)
|
|
@@ -189,7 +190,7 @@
|
|
|
189
190
|
|
|
190
191
|
// 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
|
|
191
192
|
let temp = JSON.parse(JSON.stringify(this.data))
|
|
192
|
-
|
|
193
|
+
debugger
|
|
193
194
|
this.show_data = temp
|
|
194
195
|
this.$nextTick(() => {
|
|
195
196
|
this.showview = true
|
|
@@ -207,6 +208,11 @@
|
|
|
207
208
|
this.moneyDue()
|
|
208
209
|
this.moneySumArrears()
|
|
209
210
|
}
|
|
211
|
+
let istrue=this.data.f_is_true;
|
|
212
|
+
let isrefund=this.data.f_is_refund;
|
|
213
|
+
if(istrue==="是"||isrefund==="是"){
|
|
214
|
+
this.show_data.buttons[2].hidden = true
|
|
215
|
+
}
|
|
210
216
|
|
|
211
217
|
},
|
|
212
218
|
// 金额转大写
|
|
@@ -1182,7 +1188,6 @@
|
|
|
1182
1188
|
this.$showAlert('电话号码格式不正确,请重新输入。', 'info', 2000)
|
|
1183
1189
|
}
|
|
1184
1190
|
}
|
|
1185
|
-
|
|
1186
1191
|
//时间提醒
|
|
1187
1192
|
if (this.$refs.service_show.data.fields[index].label.includes("时间") || this.$refs.service_show.data.fields[index].type === 'datepicker') {
|
|
1188
1193
|
let setTime = this.$refs.service_show.data.fields[i].value
|
|
@@ -1192,18 +1197,43 @@
|
|
|
1192
1197
|
}
|
|
1193
1198
|
}
|
|
1194
1199
|
|
|
1195
|
-
//
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1200
|
+
// 派工是,退费否,不提交,不退费
|
|
1201
|
+
//派工否,退费是,到退费环节
|
|
1202
|
+
//派工是,退费是,到退费环节-》施工
|
|
1203
|
+
//派工否,退费否,不提交,不退费
|
|
1204
|
+
let paigong= this.$refs.service_show.data.fields[9].value
|
|
1205
|
+
let tuifei= this.$refs.service_show.data.fields[10].value
|
|
1206
|
+
|
|
1207
|
+
if ( paigong === '否' && tuifei === '是') {
|
|
1208
|
+
//禁用提交按钮,启用退费按钮
|
|
1209
|
+
//获取id值为1的button,设置disabled为false
|
|
1210
|
+
var button = document.getElementById("1"); // 获取id值为1的button元素
|
|
1211
|
+
button.disabled = true; // 设置button元素为不可用
|
|
1212
|
+
var button2 = document.getElementById("2"); // 获取id值为1的button元素
|
|
1213
|
+
button2.disabled = false; // 设置button元素为不可用
|
|
1214
|
+
}else if ( paigong === '是' && tuifei === '是') {
|
|
1215
|
+
//禁用提交按钮,启用退费按钮,后转到施工环节
|
|
1216
|
+
var button = document.getElementById("1"); // 获取id值为1的button元素
|
|
1217
|
+
button.disabled = true; // 设置button元素为不可用
|
|
1218
|
+
var button2 = document.getElementById("2"); // 获取id值为1的button元素
|
|
1219
|
+
button2.disabled = false; // 设置button元素为不可用
|
|
1220
|
+
}else if ( paigong === '否' && tuifei === '否') {
|
|
1221
|
+
//禁用提交按钮,禁用退费按钮
|
|
1222
|
+
var button1 = document.getElementById("1"); // 获取id值为1的button元素
|
|
1223
|
+
button1.disabled = true; // 设置button元素为不可用
|
|
1224
|
+
var button2 = document.getElementById("2"); // 获取id值为1的button元素
|
|
1225
|
+
button2.disabled = true; // 设置button元素为不可用
|
|
1226
|
+
|
|
1227
|
+
} else if ( paigong === '是' && tuifei === '否') {
|
|
1228
|
+
//启用提交按钮,禁用退费按钮
|
|
1229
|
+
var button1 = document.getElementById("1"); // 获取id值为1的button元素
|
|
1230
|
+
button1.disabled = false; // 设置button元素为不可用
|
|
1231
|
+
var button2 = document.getElementById("2"); //
|
|
1232
|
+
button2.disabled = true; // 设置button元素为不可用
|
|
1233
|
+
|
|
1234
|
+
}
|
|
1205
1235
|
},
|
|
1206
|
-
// input
|
|
1236
|
+
// input值发生变·
|
|
1207
1237
|
async 'oninput'(index) {},
|
|
1208
1238
|
// 错误事件
|
|
1209
1239
|
error_check(index) {
|