|
|
@@ -11,7 +11,7 @@ |
|
|
|
<!-- <el-col :span="2" :push="3">--> |
|
|
|
<!-- <el-button>增补采购单</el-button>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<div v-if="dataObj.receipt_order_status==0">> |
|
|
|
<div v-if="dataObj.payment_order_status==0">> |
|
|
|
<el-button @click.stop.prevent="edit" v-show="dataObjTemp.editType=='view'" type="primary">修改</el-button> |
|
|
|
<el-button v-show="dataObjTemp.editType=='edit'" @click.stop.prevent="save" type="primary">保存</el-button> |
|
|
|
<el-button v-show="dataObjTemp.editType=='edit'" @click.stop.prevent="cancel" type="danger">取消</el-button> |
|
|
@@ -138,7 +138,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="采购负责人" prop="purchase_user_id"> |
|
|
|
<el-select style="width: 100%" v-model="dataObj.purchase_user_id" disabled filterable placeholder="请选择"> |
|
|
|
<el-select style="width: 100%" v-model="dataObjTemp.purchase_user_id" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in userOpt" |
|
|
|
:key="'purchase_user_id'+item.id" |
|
|
@@ -286,7 +286,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="采购负责人" prop="purchase_user_id"> |
|
|
|
<el-select style="width: 100%" v-model="dataObj.purchase_user_id" filtera disabledble placeholder="请选择"> |
|
|
|
<el-select style="width: 100%" v-model="dataObjTemp.purchase_user_id" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in userOpt" |
|
|
|
:key="'purchase_user_id'+item.id" |
|
|
@@ -397,7 +397,7 @@ |
|
|
|
let data = this.cf_itemOpt.find((item) => { |
|
|
|
return item.id == id |
|
|
|
}) |
|
|
|
console.log('changeItem', data) |
|
|
|
console.log('changeItem', data,this.dataObj.purchase_user_id) |
|
|
|
data.item_name = data.name |
|
|
|
this.dataObjTemp = Object.assign(this.dataObjTemp, data); |
|
|
|
}, |
|
|
|