[update] 修改企标计划立项/变更流程

This commit is contained in:
lideqin
2023-10-08 16:51:17 +08:00
parent 893e1450af
commit 526f0629bc
15 changed files with 1873 additions and 651 deletions
+11
View File
@@ -135,6 +135,11 @@ export default {
disabledUpload: {
type: Boolean,
default: false
},
fileMaxSize: {
type: Number,
required: false,
default: 500
}
},
data () {
@@ -342,6 +347,12 @@ export default {
file.uploadGoOn = false
return false
}
if (this.fileMaxSize && fileSize > 1024 * 1024 * this.fileMaxSize) {
this.$message.error(this.$t('uploadFile.pleaseUpload') + this.fileMaxSize + this.$t('uploadFile.theFollowingDocuments'))
this.uploadGoOn = false
file.uploadGoOn = false
return false
}
if (fileSize > 1024 * 1024 * 500) {
this.$message.error(this.$t('uploadFile.maxSize'))
this.uploadGoOn = false
@@ -8,7 +8,7 @@
{{this.$t('standardSelect.standardSelection')}}
</a-button>
</div>
<standard-selection-modal ref="standardSelectionModal" v-bind="$attrs" :value="value" @change="modalInput" @nameChange="modalNameChange"></standard-selection-modal>
<standard-selection-modal ref="standardSelectionModal" v-bind="$attrs" :value="value" @change="modalInput" @nameChange="modalNameChange" @listChange="modalListChange"></standard-selection-modal>
</div>
</template>
@@ -46,6 +46,9 @@ export default {
},
modalNameChange (value) {
this.$emit('nameChange', value)
},
modalListChange (value) {
this.$emit('listChange', value)
}
},
model: {
@@ -193,6 +193,7 @@ export default {
})
this.$emit('change', serialNumber.join(','))
this.$emit('nameChange', serialNameArr.join(','))
this.$emit('listChange', this.selectedRowList)
this.visible = false
} else {
this.$message.warning(this.$t('selectLeastOne'))
+1 -1
View File
@@ -13,7 +13,7 @@
:title="checkedValue"
>
</a-input>
<a-button type="primary" class="button-box" @click="selectClick">
<a-button type="primary" class="button-box" @click="selectClick" :disabled="disabled">
{{ $t('userSelect.select') }}
</a-button>
</div>