|
@@ -72,11 +72,11 @@
|
|
<view class="c-row ">
|
|
<view class="c-row ">
|
|
<view class="title">货名</view>
|
|
<view class="title">货名</view>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <view v-if="flag == '1'||flag == '0'">
|
|
|
|
|
|
+ <!-- <view v-if="flag != '0'">
|
|
{{gridList.goodsName}}
|
|
{{gridList.goodsName}}
|
|
- </view>
|
|
|
|
- <view @click='goodsName = true' v-if="flag == '2'">{{gridList.goodsName}}</view>
|
|
|
|
- <u-picker :range="goodsList" range-key="goodsName" @confirm='goodsPicker($event)' v-model="goodsName" mode="selector" v-if="flag == '2'">
|
|
|
|
|
|
+ </view> -->
|
|
|
|
+ <view @click='goodsName = true'>{{gridList.goodsName}}</view>
|
|
|
|
+ <u-picker :range="goodsList" range-key="goodsName" @confirm='goodsPicker($event)' v-model="goodsName" mode="selector" >
|
|
</u-picker>
|
|
</u-picker>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -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>
|
|
@@ -393,10 +393,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 => {
|