|
|
@@ -28,6 +28,11 @@
|
|
|
{{ parseTime(theDeliverOrder.requiredDeliveryTime, '{y}-{m}-{d}') }}
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col v-if="theProgress && theProgress.deliverStatus >= 30" :span="12">
|
|
|
+ <el-form-item label="实际发货时间:" style="margin: 0px">
|
|
|
+ {{ parseTime(theDeliverOrder.realDeliveryTime, '{y}-{m}-{d}') }}
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col v-if="theProgress.progressType != '' && theProgress.progressType != '40'" :span="12">
|
|
|
<el-form-item label="收货信息:" style="margin: 0px">
|
|
|
{{ theDeliverOrder.receivingInfo }}
|
|
|
@@ -163,6 +168,31 @@
|
|
|
{{ parseTime(theProgress.productSigningTime, '{y}-{m}-{d}') }}
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col v-if="form.progressType == '40'" :span="12">
|
|
|
+ <el-form-item label="实际验收时间:" style="margin: 0px">
|
|
|
+ {{ parseTime(theProgress.softwareCheckTime, '{y}-{m}-{d}') }}
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col v-if="form.progressType == '40'" :span="12">
|
|
|
+ <el-form-item label="已完成工作内容:" style="margin: 0px">
|
|
|
+ {{ theProgress.completedContent }}
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col v-if="form.progressType == '40'" :span="12">
|
|
|
+ <el-form-item label="已完成工作量:" style="margin: 0px">
|
|
|
+ {{ theProgress.completedWork }}
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col v-if="form.progressType == '40'" :span="12">
|
|
|
+ <el-form-item label="未完成工作内容:" style="margin: 0px">
|
|
|
+ {{ theProgress.uncompletedContent }}
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col v-if="form.progressType == '40'" :span="12">
|
|
|
+ <el-form-item label="未完成工作量:" style="margin: 0px">
|
|
|
+ {{ theProgress.uncompletedWork }}
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="24" style="margin-top: 10px">
|
|
|
<el-button
|
|
|
v-if="theProgress && theProgress.assembleFileName != ''"
|
|
|
@@ -185,6 +215,13 @@
|
|
|
@click="showFile(theProgress.installCheckFileUrl, theProgress.installCheckFileName)">
|
|
|
安装验收单:{{ theProgress.installCheckFileName }}
|
|
|
</el-button>
|
|
|
+ <el-button
|
|
|
+ v-if="theProgress && theProgress.softwareCheckFileName != ''"
|
|
|
+ size="mini"
|
|
|
+ type="primary"
|
|
|
+ @click="showFile(theProgress.softwareCheckFileUrl, theProgress.softwareCheckFileName)">
|
|
|
+ 验收报告:{{ theProgress.softwareCheckFileName }}
|
|
|
+ </el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="备注:" style="margin: 0px">
|
|
|
@@ -313,16 +350,24 @@
|
|
|
this.allProducts = res.data.product
|
|
|
progressProducts = res.data.progressProducts ? res.data.progressProducts : []
|
|
|
}
|
|
|
- for (let p of progressProducts) {
|
|
|
- p = JSON.parse(JSON.stringify(p))
|
|
|
- // 10发货任务单/20组装任务单/30部署安装单
|
|
|
- if (
|
|
|
- (p.deliverProgressId == this.workId && this.form.progressType == '10') ||
|
|
|
- (p.assembleProgressId == this.workId && this.form.progressType == '20') ||
|
|
|
- (p.installProgressId == this.workId && this.form.progressType == '30')
|
|
|
- ) {
|
|
|
+ // 10发货任务单、20组装任务单、30部署安装单、40软件交付验收任务单
|
|
|
+ if (this.form.progressType == '40') {
|
|
|
+ for (let p of this.allProducts) {
|
|
|
+ p = JSON.parse(JSON.stringify(p))
|
|
|
this.products.push(p)
|
|
|
}
|
|
|
+ } else {
|
|
|
+ for (let p of progressProducts) {
|
|
|
+ p = JSON.parse(JSON.stringify(p))
|
|
|
+ // 10发货任务单、20组装任务单、30部署安装单、40软件交付验收任务单
|
|
|
+ if (
|
|
|
+ (p.deliverProgressId == this.workId && this.form.progressType == '10') ||
|
|
|
+ (p.assembleProgressId == this.workId && this.form.progressType == '20') ||
|
|
|
+ (p.installProgressId == this.workId && this.form.progressType == '30')
|
|
|
+ ) {
|
|
|
+ this.products.push(p)
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
// 保存产品信息
|