|
@@ -221,7 +221,7 @@
|
|
height="18"
|
|
height="18"
|
|
style="vertical-align: text-top; position: relative; top: -1px"
|
|
style="vertical-align: text-top; position: relative; top: -1px"
|
|
src="../../../public/img/edit.png"
|
|
src="../../../public/img/edit.png"
|
|
- @click="whether(scope.row)"
|
|
|
|
|
|
+ @click="whether(scope.row,1)"
|
|
v-if="scope.row.identification == 'false'"
|
|
v-if="scope.row.identification == 'false'"
|
|
alt=""
|
|
alt=""
|
|
/>
|
|
/>
|
|
@@ -250,7 +250,7 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<i class="el-icon-check" style="line-height: 29px; margin-left: 10px"
|
|
<i class="el-icon-check" style="line-height: 29px; margin-left: 10px"
|
|
- v-if="scope.row.identification1 == 'true'" @click="weightClick(scope.row)"></i>
|
|
|
|
|
|
+ v-if="scope.row.identification1 == 'true'" @click="weightClick(scope.row,2)"></i>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -608,6 +608,7 @@ export default {
|
|
.then(() => {
|
|
.then(() => {
|
|
this.stockPurchaseInfo.id = row.id
|
|
this.stockPurchaseInfo.id = row.id
|
|
this.stockPurchaseInfo.settlementWeight = row.settlementWeight
|
|
this.stockPurchaseInfo.settlementWeight = row.settlementWeight
|
|
|
|
+ this.stockPurchaseInfo.flag=1
|
|
editSettlementWeight(this.stockPurchaseInfo)
|
|
editSettlementWeight(this.stockPurchaseInfo)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
@@ -627,7 +628,7 @@ export default {
|
|
weightClick(row,flag) {
|
|
weightClick(row,flag) {
|
|
var title=''
|
|
var title=''
|
|
var data={}
|
|
var data={}
|
|
- title='确定要修改结算单价?'
|
|
|
|
|
|
+ title='确定要修改结算单价?'
|
|
data={
|
|
data={
|
|
settlementPrice: row.settlementPrice,
|
|
settlementPrice: row.settlementPrice,
|
|
id: row.id,
|
|
id: row.id,
|
|
@@ -653,7 +654,7 @@ export default {
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- whether(row) {
|
|
|
|
|
|
+ whether(row,flag) {
|
|
if(flag==1){
|
|
if(flag==1){
|
|
row.identification = 'true'
|
|
row.identification = 'true'
|
|
}else{
|
|
}else{
|
|
@@ -1036,6 +1037,7 @@ export default {
|
|
this.settlementWeight1 = 0
|
|
this.settlementWeight1 = 0
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
response.records[i].identification = 'false'
|
|
response.records[i].identification = 'false'
|
|
|
|
+ response.records[i].identification1 = 'false'
|
|
this.payingMoney += response.records[i].amountIngPayable
|
|
this.payingMoney += response.records[i].amountIngPayable
|
|
this.payedMoney += response.records[i].amountEdPayable
|
|
this.payedMoney += response.records[i].amountEdPayable
|
|
this.payNotMoney += response.records[i].amountNotPayable
|
|
this.payNotMoney += response.records[i].amountNotPayable
|