|
@@ -4,46 +4,46 @@
|
|
|
<view class="c-row b-b">
|
|
|
<text class="tit">名头</text>
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写名头" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.title}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="c-row b-b">
|
|
|
<text class="tit">标题</text>
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写标题,2-16个子" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.title}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="c-row b-b">
|
|
|
<text class="tit">货名</text>
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写货名" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.goodsName}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="c-row b-b">
|
|
|
<text class="tit">采购量(吨)</text>
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写采购重量" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.plannedPurchaseVolume}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="c-row b-b">
|
|
|
<text class="tit">最小成交量(吨)</text>
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写最小成交量" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.minimumVolume}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="c-row b-b">
|
|
|
<text class="tit">类型</text>
|
|
|
- <picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
+
|
|
|
<view class="picker">
|
|
|
- {{typesIndex>-1?typesType[typesIndex]:'请选择类型'}}
|
|
|
+ {{procurementPlanInfos.procurementPlanType}}
|
|
|
</view>
|
|
|
- </picker>
|
|
|
+
|
|
|
</view>
|
|
|
<view class="c-row b-b">
|
|
|
<text class="tit">价格类型</text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写价格类型" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.priceType}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -51,7 +51,7 @@
|
|
|
<text class="tit">基差(元/吨)</text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写基差(元/吨)" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.basisPrice}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -59,7 +59,7 @@
|
|
|
<text class="tit">产地</text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写产地" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.outputPrivate}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -84,7 +84,7 @@
|
|
|
<text class="tit">水分(%)<= </text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写水分占比" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.waterContent}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -92,7 +92,7 @@
|
|
|
<text class="tit">容重(g/L)<= </text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写容重" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.bulkDensity}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -101,7 +101,7 @@
|
|
|
<text class="tit">热损伤(%)<= </text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写热损伤占比" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.jiaorenli}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -109,7 +109,7 @@
|
|
|
<text class="tit">杂质(%)<= </text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写杂质占比" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.impurity}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -117,7 +117,7 @@
|
|
|
<text class="tit">霉变粒(%)<= </text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写霉变粒占比" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.mildewGrain}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -125,7 +125,7 @@
|
|
|
<text class="tit">不完整粒(%)<= </text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写不完整粒占比" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.imperfectGrain}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -133,7 +133,7 @@
|
|
|
<text class="tit">蛋白(%)<= </text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写蛋白占比" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.protein}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -141,7 +141,7 @@
|
|
|
<text class="tit">粒型 </text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写粒型" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.grain}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -149,7 +149,7 @@
|
|
|
<text class="tit">品级 </text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写品级" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.procurementPlanInfos}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -157,7 +157,7 @@
|
|
|
<text class="tit">产出年份</text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写产出年份" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.outputYear}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -165,7 +165,7 @@
|
|
|
<text class="tit">包装方式</text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写包装方式" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.packingType}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -173,7 +173,7 @@
|
|
|
<text class="tit">袋装备注</text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写包装方式" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.baggingNotes}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -181,7 +181,7 @@
|
|
|
<text class="tit">运费承担方</text>
|
|
|
<picker @change="typeChange" :value="typesIndex" :range="typesType" class="con-list">
|
|
|
<view class="con-list">
|
|
|
- <input placeholder="请填写包装方式" name="input" @input="addressInput"></input>
|
|
|
+ {{procurementPlanInfos.freightPayer}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
@@ -194,7 +194,8 @@
|
|
|
return {
|
|
|
types:'',
|
|
|
typesType:["现货","期货"],
|
|
|
- procurementPlanInfos:{}
|
|
|
+ procurementPlanInfos:{},
|
|
|
+ typesIndex:'',
|
|
|
|
|
|
}
|
|
|
},
|
|
@@ -210,8 +211,8 @@
|
|
|
},
|
|
|
getList(id1){
|
|
|
this.$api.doRequest('get','/procurementPlanInfo/getProcurementPlan',{id:id1}).then(res => {
|
|
|
- console.log("dsjfid")
|
|
|
- this.procurementPlanInfos = res.data.data.records
|
|
|
+ console.log(res)
|
|
|
+ this.procurementPlanInfos = res.data.data
|
|
|
console.log(this.procurementPlanInfos,"对象")
|
|
|
|
|
|
})
|