|
@@ -296,7 +296,7 @@
|
|
</div>
|
|
</div>
|
|
<ws-input v-model="deptBudgetList.remarks" type="textarea" :row="3" autosize placeholder="请输入备注信息,不超过200字"
|
|
<ws-input v-model="deptBudgetList.remarks" type="textarea" :row="3" autosize placeholder="请输入备注信息,不超过200字"
|
|
maxlength="200" />
|
|
maxlength="200" />
|
|
- <ws-upload ref="upload" :comp-id="compId" :appendix-ids="deptBudgetList.addressUrl" accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .zip, .rar"
|
|
|
|
|
|
+ <ws-upload @onChange="onChange" ref="upload" :comp-id="compId" :appendix-ids="deptBudgetList.addressUrl" accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .zip, .rar"
|
|
v-hasPermission="`contractManagement.buyContract.buyContractInfo.appl`" />
|
|
v-hasPermission="`contractManagement.buyContract.buyContractInfo.appl`" />
|
|
</base-card>
|
|
</base-card>
|
|
</ws-form>
|
|
</ws-form>
|
|
@@ -417,6 +417,17 @@
|
|
this.showType = this.isShow
|
|
this.showType = this.isShow
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ onChange() {
|
|
|
|
+ this.$refs.upload
|
|
|
|
+ .handleSaveBill()
|
|
|
|
+ .then(async response => {
|
|
|
|
+ this.deptBudgetList.addressUrl = response
|
|
|
|
+ })
|
|
|
|
+ .catch(res => {
|
|
|
|
+ EventBus.$emit('error', (JSON.parse(res) || {}).message)
|
|
|
|
+ this.$refs.upload.clearFiles()
|
|
|
|
+ })
|
|
|
|
+ },
|
|
feedbackLeaderChange(e){
|
|
feedbackLeaderChange(e){
|
|
this.deptBudgetList.feedbackLeader = this.feedbackLeaders[e].staffName
|
|
this.deptBudgetList.feedbackLeader = this.feedbackLeaders[e].staffName
|
|
this.deptBudgetList.feedbackLeaderPhone = this.feedbackLeaders[e].staffMobilePhone
|
|
this.deptBudgetList.feedbackLeaderPhone = this.feedbackLeaders[e].staffMobilePhone
|