|
@@ -99,7 +99,7 @@
|
|
|
placeholder="请输入水分占比" maxlength="120" size="small" class="huom" />
|
|
|
</el-form-item>
|
|
|
<!--单价(元/吨)-->
|
|
|
- <el-form-item v-if='dataList.taskTypeKey != 3||dataList1.taskTypeKey != 3' label="单价(元/吨)">
|
|
|
+ <el-form-item v-if='dataList.taskTypeKey != 3||dataList1.taskTypeKey != 3' label="单价(元/吨)" v-show="Pricetype">
|
|
|
<el-input disabled @input="unitPricechange" v-model="dataList.unitPrice" placeholder="请输入单价"
|
|
|
maxlength="120" size="small" class="huom" />
|
|
|
</el-form-item>
|
|
@@ -204,7 +204,7 @@
|
|
|
class="huom" />
|
|
|
</el-form-item>
|
|
|
<!--单价(元/吨)-->
|
|
|
- <el-form-item v-if='dataList.taskTypeKey != 3||dataList1.taskTypeKey != 3' label="单价(元/吨)">
|
|
|
+ <el-form-item v-if='dataList.taskTypeKey != 3||dataList1.taskTypeKey != 3' label="单价(元/吨)" v-show="Pricetype1">
|
|
|
<el-input @input="unitPricechange" :disabled="dataList.taskTypeKey == 3"
|
|
|
v-model="dataList1.unitPrice" placeholder="请输入单价" maxlength="120" size="small"
|
|
|
class="huom" />
|
|
@@ -312,7 +312,7 @@
|
|
|
class="huom" />
|
|
|
</el-form-item>
|
|
|
<!--单价(元/吨)-->
|
|
|
- <el-form-item v-if='dataList.taskTypeKey != 3||dataList1.taskTypeKey != 3' label="单价(元/吨)">
|
|
|
+ <el-form-item v-if='dataList.taskTypeKey != 3||dataList1.taskTypeKey != 3' label="单价(元/吨)" v-show="Pricetype">
|
|
|
<el-input :disabled="dataList.taskTypeKey == 3 || dataList.taskTypeKey == 4"
|
|
|
v-model="dataList.unitPrice" placeholder="请输入单价" maxlength="120" size="small"
|
|
|
class="huom" />
|
|
@@ -488,7 +488,9 @@
|
|
|
return time.getTime() > Date.now()
|
|
|
}
|
|
|
},
|
|
|
- accessoryTFs: false
|
|
|
+ accessoryTFs: false,
|
|
|
+ Pricetype:true,//价格类型为随行就市隐藏单价
|
|
|
+ Pricetype1:true,//价格类型为随行就市隐藏单价
|
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
@@ -626,6 +628,11 @@
|
|
|
if (this.dataList.taskTypeKey != 3) {
|
|
|
for (let i = 0; i < this.contractNoList.length; i++) {
|
|
|
if (this.contractNoList[i].contractNo == e) {
|
|
|
+ if(this.contractNoList[i].priceType == "随行就市"){
|
|
|
+ this.Pricetype = false
|
|
|
+ }else{
|
|
|
+ this.Pricetype = true
|
|
|
+ }
|
|
|
getGoodsName({
|
|
|
contractId: this.contractNoList[i].id,
|
|
|
contractNo: this.contractNoList[i].contractNo
|
|
@@ -689,6 +696,11 @@
|
|
|
if (this.dataList1.taskTypeKey != 3) {
|
|
|
for (let i = 0; i < this.contractNoList.length; i++) {
|
|
|
if (this.contractNoList[i].contractNo == e) {
|
|
|
+ if(this.contractNoList[i].priceType == "随行就市"){
|
|
|
+ this.Pricetype1 = false
|
|
|
+ }else{
|
|
|
+ this.Pricetype1 = true
|
|
|
+ }
|
|
|
getGoodsName({
|
|
|
contractId: this.contractNoList[i].id,
|
|
|
contractNo: this.contractNoList[i].contractNo
|