tangning %!s(int64=2) %!d(string=hai) anos
pai
achega
5ef31a1359
Modificáronse 2 ficheiros con 7 adicións e 5 borrados
  1. 2 2
      src/views/work/confirmPriceModal.vue
  2. 5 3
      src/views/work/quoteModel.vue

+ 2 - 2
src/views/work/confirmPriceModal.vue

@@ -22,7 +22,7 @@
       </BasicForm>
       <div class="priceCount">
         <span>合计:</span>
-        <div class="label">总价:{{ fileFlow.priceCount || 0 }}元 </div>
+        <div class="label">{{ fileFlow.priceCount || 0 }}元 </div>
       </div>
     </div>
   </BasicModal>
@@ -215,7 +215,7 @@
             {
               field: 'priceListText' + ele.priceListId,
               component: 'InputNumber',
-              label: ele.type == 0 ? '备件' : '人工',
+              label: ele.type == 0 ? '备件' : ele.type == 2 ? '明细' : '人工',
               slot: 'text',
               // labelWidth:300,
               // subLabel:"数量",

+ 5 - 3
src/views/work/quoteModel.vue

@@ -30,7 +30,7 @@
       <div class="priceCount">
         <span>合计:</span>
         <div class="label"
-          >总价:{{ fileFlow.priceCount || 0 }}元
+          >{{ fileFlow.priceCount || 0 }}元
           <Button :preIcon="'outline-refresh'" @click="updataCount"><RedoOutlined /></Button
         ></div>
         <p style="padding-top: 15px">注:提交报价后,需等待报修人确认后再进行维修</p>
@@ -214,6 +214,7 @@
       function del(field) {
         removeSchemaByFiled([`deviceTypeId${field}`, `deviceType${field}`, `device_${field}`, `${field}`]);
         n.value--;
+        updataCount()
       }
       function add() {
         let list = addSchemas(n.value);
@@ -359,7 +360,7 @@
           },
           {
             field: 'device_' + number,
-            label: '价格',
+            label: '价格 (元)',
             component: 'InputNumber',
             required: true,
             defaultValue: 1,
@@ -375,6 +376,7 @@
             },
             colProps: {
               span: 7,
+              offset: 1,
             },
           },
           {
@@ -383,7 +385,7 @@
             label: '',
             labelWidth: 0,
             colProps: {
-              span: 6,
+              span: 5,
             },
             slot: 'del',
           },