|
@@ -99,11 +99,11 @@
|
|
maxlength="10" size="small" :disabled="disabled2" />
|
|
maxlength="10" size="small" :disabled="disabled2" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<el-row>
|
|
<el-row>
|
|
- <ws-form-item label="复检备注" span="2" prop="reMemo" v-if="information == '编辑复检'">
|
|
|
|
- <ws-input type="textarea" v-model="inspect.reMemo" placeholder="请输入复检备注" maxlength="300" />
|
|
|
|
|
|
+ <ws-form-item label="复检备注" span="2" prop="reMemo" v-if="information == '编辑复检' || statusShow == '已复检'">
|
|
|
|
+ <ws-input type="textarea" v-model="inspect.reMemo" placeholder="请输入复检备注" maxlength="300" v-if="statusShow != '已复检'" />
|
|
|
|
+ <ws-input type="textarea" v-model="inspect.reMemo" placeholder="请输入复检备注" maxlength="300" v-else disabled />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
</el-row>
|
|
</el-row>
|
|
-
|
|
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
|
|
|
|
<div class="title">质检数据</div>
|
|
<div class="title">质检数据</div>
|
|
@@ -231,6 +231,7 @@
|
|
num: 0,
|
|
num: 0,
|
|
tipFlag: true,
|
|
tipFlag: true,
|
|
allowEdit: 0,
|
|
allowEdit: 0,
|
|
|
|
+ statusShow :""
|
|
}
|
|
}
|
|
},
|
|
},
|
|
activated() {
|
|
activated() {
|
|
@@ -256,11 +257,13 @@
|
|
this.warehouseName = this.$route.query.warehouseName
|
|
this.warehouseName = this.$route.query.warehouseName
|
|
this.cangNo = this.$route.query.warehouseNo
|
|
this.cangNo = this.$route.query.warehouseNo
|
|
this.count = Number(this.$route.query.count) + 1
|
|
this.count = Number(this.$route.query.count) + 1
|
|
|
|
+ this.statusShow = this.$route.query.status
|
|
// this.purchasePriceList = this.$route.query.purchasePriceList
|
|
// this.purchasePriceList = this.$route.query.purchasePriceList
|
|
this.id = this.$route.query.id
|
|
this.id = this.$route.query.id
|
|
if (this.types == 2) {
|
|
if (this.types == 2) {
|
|
this.disabled = true
|
|
this.disabled = true
|
|
this.disabled1 = true
|
|
this.disabled1 = true
|
|
|
|
+ this.disabled2 = true
|
|
this.disabledName = true
|
|
this.disabledName = true
|
|
this.information = '查看质检'
|
|
this.information = '查看质检'
|
|
} else if (this.types == 3) {
|
|
} else if (this.types == 3) {
|
|
@@ -298,7 +301,6 @@
|
|
postCheck({id:this.id,flag:2})
|
|
postCheck({id:this.id,flag:2})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
- debugger
|
|
|
|
if(response == "OK"){
|
|
if(response == "OK"){
|
|
this.$message.success('提交成功')
|
|
this.$message.success('提交成功')
|
|
this.$router.push({path: 'inspectionManagement' })
|
|
this.$router.push({path: 'inspectionManagement' })
|