|
@@ -99,7 +99,7 @@
|
|
<input v-model='gridList.dryGrainPrice' placeholder="请输入干粮单价" name="input"></input>
|
|
<input v-model='gridList.dryGrainPrice' placeholder="请输入干粮单价" name="input"></input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="c-row-fj" v-if="flag==2">
|
|
|
|
|
|
+ <view class="c-row-fj" v-if="flag==2||flag==1">
|
|
<view style="margin: 0px 0px 30rpx 10rpx;">复检备注</view>
|
|
<view style="margin: 0px 0px 30rpx 10rpx;">复检备注</view>
|
|
<textarea class='textarea-style' v-model='gridList.reMemo' placeholder="请输入复检备注" maxlength="300"></textarea>
|
|
<textarea class='textarea-style' v-model='gridList.reMemo' placeholder="请输入复检备注" maxlength="300"></textarea>
|
|
</view>
|
|
</view>
|
|
@@ -378,10 +378,8 @@
|
|
},
|
|
},
|
|
alertBtn() {
|
|
alertBtn() {
|
|
var that = this
|
|
var that = this
|
|
- this.$api.doRequest('post', '/qualityInspectionManagement/api/editQualityInspection', {
|
|
|
|
- id: this.id,
|
|
|
|
- flag:2
|
|
|
|
- }).then(res => {
|
|
|
|
|
|
+ that.gridList.flag = 2
|
|
|
|
+ this.$api.doRequest('post', '/qualityInspectionManagement/api/editQualityInspection',that.gridList).then(res => {
|
|
if(res.data.code=="200"){
|
|
if(res.data.code=="200"){
|
|
that.gridList.flag=1
|
|
that.gridList.flag=1
|
|
that.$api.doRequest('post', '/qualityInspectionManagement/api/editQualityInspection', that.gridList).then(res => {
|
|
that.$api.doRequest('post', '/qualityInspectionManagement/api/editQualityInspection', that.gridList).then(res => {
|