Browse Source

init

master
xubinxcode 3 years ago
parent
commit
c408b7ebd3
3 changed files with 9 additions and 5 deletions
  1. +4
    -0
      index.html
  2. +1
    -1
      src/components/hotel.vue
  3. +4
    -4
      src/components/hotelother.vue

+ 4
- 0
index.html View File

@@ -3,6 +3,10 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache" content="no-cache">
<title>single</title>
</head>
<body>


+ 1
- 1
src/components/hotel.vue View File

@@ -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>


+ 4
- 4
src/components/hotelother.vue View File

@@ -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);
},


Loading…
Cancel
Save