snow 2 years ago
parent
commit
894171a0b8
2 changed files with 15 additions and 2 deletions
  1. 0 0
      dist/static/js/0.js
  2. 15 2
      src/views/netOrderEntry/netOrderEnter/addEdit.vue

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/0.js


+ 15 - 2
src/views/netOrderEntry/netOrderEnter/addEdit.vue

@@ -262,7 +262,7 @@
               </el-col>
               <el-col :span="6">
                 <el-form-item label="采购毛利率" label-width="100px" prop="cgd_tax">
-                  <el-input-number
+                  <!-- <el-input-number
                     v-model="ruleForm.cgd_tax"
                     style="width: 100%"
                     :disabled="id === '007'"
@@ -273,6 +273,19 @@
                     :max="100"
                     :step="0.01"
                     @change="number_change($event, 2)"
+                  /> -->
+                  <digital-input
+                    :values="ruleForm.cgd_tax"
+                    :placeholder="'采购毛利率'"
+                    :min="0"
+                    :max="100"
+                    :disabled="id === '007'"
+                    :position="'right'"
+                    :precision="2"
+                    :size="'mini'"
+                    :controls="false"
+                    :append="'%'"
+                    @reschange="number_change($event, 2)"
                   />
                 </el-form-item>
               </el-col>
@@ -590,7 +603,7 @@ export default {
       this.$refs.ruleForm.validateField('addr_code')
     },
     number_change(e, type) {
-      console.log(1111)
+      this.ruleForm.cgd_tax = e
       const { cgdPrice, goodPrice, cgd_tax } = this.ruleForm
       let tax = 0
       let cgd_price = 0

Some files were not shown because too many files changed in this diff