Commit bcc81dd6 authored by 高智胜's avatar 高智胜

去掉完工图片

parent 276ffcbd
...@@ -547,14 +547,14 @@ export default { ...@@ -547,14 +547,14 @@ export default {
// 完成提交 // 完成提交
wc_submit () { wc_submit () {
this.img_url = this.img_status() this.img_url = this.img_status()
if (this.img_url.length == 0) { // if (this.img_url.length == 0) {
this.$toast('请选择上传图片') // this.$toast('请选择上传图片')
return // return
} // }
if (this.img_url.length < 2) { // if (this.img_url.length < 2) {
this.$toast('请选择上传两张及以上图片') // this.$toast('请选择上传两张及以上图片')
return // return
} // }
if (this.wc_reason === '') { if (this.wc_reason === '') {
this.$toast('完工说明不可为空') this.$toast('完工说明不可为空')
return return
......
...@@ -748,14 +748,14 @@ export default { ...@@ -748,14 +748,14 @@ export default {
// 完成提交 // 完成提交
wc_submit () { wc_submit () {
this.img_url = this.img_status() this.img_url = this.img_status()
if (this.img_url.length == 0) { // if (this.img_url.length == 0) {
this.$toast('请选择上传图片') // this.$toast('请选择上传图片')
return // return
} // }
if (this.img_url.length < 2) { // if (this.img_url.length < 2) {
this.$toast('请选择上传两张及以上图片') // this.$toast('请选择上传两张及以上图片')
return // return
} // }
if (this.wc_reason === '') { if (this.wc_reason === '') {
this.$toast('完工说明不可为空') this.$toast('完工说明不可为空')
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment