Kaynağa Gözat

Merge branch 'device-fix' of shuzhihua/pms-iot-vue into master

yanghao 6 saat önce
ebeveyn
işleme
c687d63362
1 değiştirilmiş dosya ile 30 ekleme ve 1 silme
  1. 30 1
      src/views/pms/device/IotDeviceFormAdd.vue

+ 30 - 1
src/views/pms/device/IotDeviceFormAdd.vue

@@ -379,6 +379,32 @@
               />
             </el-form-item>
           </el-col>
+
+          <el-col :span="8">
+            <el-form-item label="每月折旧金额" prop="monthAmount">
+              <el-input
+                v-model="formData.monthAmount"
+                @input="handleInput(formData.monthAmount, 'monthAmount')"
+                placeholder="请输入每月折旧金额"
+              />
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="8">
+            <el-form-item label="总折旧月份" prop="totalMonth">
+              <el-input
+                v-model="formData.totalMonth"
+                @input="handleInput(formData.totalMonth, 'totalMonth')"
+                placeholder="请输入总折旧月份"
+              />
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="8">
+            <el-form-item label="币种" prop="currency">
+              <el-input v-model="formData.currency" placeholder="请输入币种" />
+            </el-form-item>
+          </el-col>
         </el-row>
       </div>
       <div class="title-div">
@@ -548,7 +574,10 @@ const formData = ref({
   assetClass: undefined,
   carNo: undefined,
   deviceNo: undefined,
-  address: undefined
+  address: undefined,
+  totalMonth: undefined,
+  monthAmount: undefined,
+  currency: undefined
 })
 const formRules = reactive({
   yfClass: [