|
@@ -144,7 +144,7 @@
|
|
size="small"
|
|
size="small"
|
|
type="text"
|
|
type="text"
|
|
@click="rePick(row, index)"
|
|
@click="rePick(row, index)"
|
|
- :disabled="disabled||detailData.status == 1"
|
|
|
|
|
|
+ :disabled="disabled || detailData.status == 1"
|
|
class="picker"
|
|
class="picker"
|
|
style="padding:4px 10px;float:left"
|
|
style="padding:4px 10px;float:left"
|
|
>选择</el-button
|
|
>选择</el-button
|
|
@@ -203,7 +203,7 @@
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
type="text"
|
|
type="text"
|
|
@click="rowCell(row, index)"
|
|
@click="rowCell(row, index)"
|
|
- :disabled="disabled||detailData.status == 1"
|
|
|
|
|
|
+ :disabled="disabled || detailData.status == 1"
|
|
>{{ row.$cellEdit ? "保存" : "修改" }}</el-button
|
|
>{{ row.$cellEdit ? "保存" : "修改" }}</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
@@ -224,6 +224,10 @@
|
|
:orderFeesList="orderFeesList"
|
|
:orderFeesList="orderFeesList"
|
|
:disabled="detailData.status == 1"
|
|
:disabled="detailData.status == 1"
|
|
feeUrl="/trade-purchase/purchase-order/removeByFees"
|
|
feeUrl="/trade-purchase/purchase-order/removeByFees"
|
|
|
|
+ optionType="CK"
|
|
|
|
+ itemType="采购"
|
|
|
|
+ @beforeFinance="beforeFinance"
|
|
|
|
+ :corpId="form.corpId"
|
|
/>
|
|
/>
|
|
<upload-file
|
|
<upload-file
|
|
ref="uploadFile"
|
|
ref="uploadFile"
|
|
@@ -1137,6 +1141,16 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ //费用明细回调
|
|
|
|
+ beforeFinance(feesData, callback) {
|
|
|
|
+ this.advantageProjectData = feesData;
|
|
|
|
+ let params = {};
|
|
|
|
+ //暂时默认通过 之后优化
|
|
|
|
+ params.valid = true;
|
|
|
|
+ params.parentId = this.form.id;
|
|
|
|
+ params.srcOrderno = this.form.orderNo;
|
|
|
|
+ callback(params);
|
|
|
|
+ },
|
|
openEdit() {
|
|
openEdit() {
|
|
this.detailData.status = 2;
|
|
this.detailData.status = 2;
|
|
this.option = this.$options.data().option;
|
|
this.option = this.$options.data().option;
|