|
@@ -179,6 +179,10 @@ export default {
|
|
|
changeBuyerName({ $rowIndex }) {
|
|
|
this.recordData.push($rowIndex);
|
|
|
},
|
|
|
+ // 修改原因
|
|
|
+ changeModifyReason({ $rowIndex }) {
|
|
|
+ this.recordData.push($rowIndex);
|
|
|
+ },
|
|
|
changeMaterial(val) {
|
|
|
this.params.materialCodeList = val;
|
|
|
this.useQuery(this.params, this.page);
|
|
@@ -344,12 +348,25 @@ export default {
|
|
|
v-model="scope.row[scope.item.key]"
|
|
|
:size="size"
|
|
|
:source.sync="scope.row"
|
|
|
- :disabled="scope.row.status !== '1' ||!isEdit"
|
|
|
+ :disabled="scope.row.status !== '1' || !isEdit"
|
|
|
@clear="changeBuyerName(scope)"
|
|
|
@change="changeBuyerName(scope)"
|
|
|
>
|
|
|
</component>
|
|
|
</template>
|
|
|
+ <!-- 修改原因 -->
|
|
|
+ <template slot="modifyReason" slot-scope="scope">
|
|
|
+ <component
|
|
|
+ v-bind="scope.attr"
|
|
|
+ v-model="scope.row[scope.item.key]"
|
|
|
+ :size="size"
|
|
|
+ :source.sync="scope.row"
|
|
|
+ :disabled="scope.row.status !== '1' || !isEdit"
|
|
|
+ @clear="changeModifyReason(scope)"
|
|
|
+ @change="changeModifyReason(scope)"
|
|
|
+ >
|
|
|
+ </component>
|
|
|
+ </template>
|
|
|
<ux-table-column fixed="right" title="操作" align="center" width="80">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" :size="size" @click="useSee(scope.row)"
|