apply-clients 5.0.35-41 → 5.0.35-42
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
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
</div>
|
|
175
175
|
</div>
|
|
176
176
|
</div>
|
|
177
|
-
<div class="form-group col-sm-11" v-show="
|
|
177
|
+
<div class="form-group col-sm-11" v-show="true">
|
|
178
178
|
<label class="text-left font">用户签名</label>
|
|
179
179
|
<div class="auto">
|
|
180
180
|
<div class="panel">
|
|
@@ -481,6 +481,9 @@ export default {
|
|
|
481
481
|
if (this.data.fields[i].type === 'datepicker' && !this.data.fields[i].value) {
|
|
482
482
|
this.data.fields[i].value = new Date().Format("yyyy-MM-dd HH:mm:ss")
|
|
483
483
|
}
|
|
484
|
+
if(this.data.fields[i].label==='小区名称' && this.data.f_user_type ==='非民用'){
|
|
485
|
+
this.data.fields[i].required = false
|
|
486
|
+
}
|
|
484
487
|
if (this.data.fields[i].label==='气价名称'){
|
|
485
488
|
console.log(this.data.fields[i].options)
|
|
486
489
|
let data={
|
|
@@ -577,7 +580,7 @@ export default {
|
|
|
577
580
|
// 点击按钮
|
|
578
581
|
clicked(index, button) {
|
|
579
582
|
console.log(`点击了按钮index:${index}+button:${JSON.stringify(button)}`);
|
|
580
|
-
if (
|
|
583
|
+
if (button.button_name=='提交') {
|
|
581
584
|
if (!this.model.f_overall_imgs || this.model.f_overall_imgs.length == 0){
|
|
582
585
|
this.$showMessage("必须有现场照片")
|
|
583
586
|
return;
|
|
@@ -593,12 +596,12 @@ export default {
|
|
|
593
596
|
}
|
|
594
597
|
|
|
595
598
|
|
|
596
|
-
if ((this.data.title == '现场勘查' || this.data.title == '现场勘查定价') && button.button_name=='提交') {
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
}
|
|
599
|
+
// if ((this.data.title == '现场勘查' || this.data.title == '现场勘查定价') && button.button_name=='提交') {
|
|
600
|
+
// if (!this.model.f_overall_imgs || this.model.f_overall_imgs.length == 0){
|
|
601
|
+
// this.$showMessage("必须有现场照片")
|
|
602
|
+
// return;
|
|
603
|
+
// }
|
|
604
|
+
// }
|
|
602
605
|
if (this.kchege == 'true') {
|
|
603
606
|
console.log(this.model.f_hege)
|
|
604
607
|
if (this.model.f_hege != 'true') {
|
|
@@ -712,7 +715,7 @@ export default {
|
|
|
712
715
|
// }
|
|
713
716
|
// this.$set('data.fields[8].value', money)
|
|
714
717
|
// this.$set('data.fields[9].value', money)
|
|
715
|
-
if (index ==
|
|
718
|
+
if (index == 7) {
|
|
716
719
|
console.log("1111111111" + value)
|
|
717
720
|
if (value == '合格') {
|
|
718
721
|
this.kchege = true
|