Forráskód Böngészése

Merge branch 'master' of http://47.100.37.243:10191/wutt/manHourHousekeeper

Min 1 éve
szülő
commit
3dcd9d7ca6

+ 5 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/expense/expense.vue

@@ -514,7 +514,7 @@
             <el-input v-enter-number v-model="ParticularsList.ticketNum" :disabled="flg"></el-input>
           </el-form-item>
           <el-form-item :label="$t('costtype')" style="width: 270px">
-            <el-select size="small" v-model="expenseMainTypeValue" style="width: 150px" :disabled="flg">
+            <el-select size="small" v-model="ParticularsList.type" style="width: 150px" :disabled="flg">
               <el-option v-for="item in expenseMainTypes" :key="item.id" :label="item.name" :value="item.id"></el-option>
             </el-select>
           </el-form-item>
@@ -1752,6 +1752,7 @@ export default {
           if (res.code == "ok") {
             this.dialog = false;
             this.bills(this.isAuditList);
+            this.getList()
             this.$message({
               message: this.$t('editsuccess'),
               type: "success"
@@ -2060,8 +2061,10 @@ export default {
       },
         res => {
           if (res.code == "ok") {
-            this
+            // this
+            console.log(res, '<=== 详情数据')
             // this.ParticularsList = res.data
+            // this.expenseMainTypeValue = res.data.type
             var s = []
             // var b = []
             for (var i in res.data.invoiceList) {