Kaynağa Gözat

【修改】家用工程订单审核界面、家用工程退押审核界面 实装不一致变色

howie 2 yıl önce
ebeveyn
işleme
97b74ef72b

+ 7 - 1
src/views/deposit_home/components/refund_list-detail.vue

@@ -475,7 +475,13 @@
             </el-table-column>
             <el-table-column align="left" label="实装物料编号" prop="realMaterialNumber" min-width="150" show-overflow-tooltip></el-table-column>
             <el-table-column align="left" label="实装厂产品编码" prop="realMaterialOldNumber" min-width="200" show-overflow-tooltip></el-table-column>
-            <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip></el-table-column>
+            <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <div :style="title !== '详情' && scope.row.realSpecification != scope.row.specification?{color:'blue'}:''">
+                    {{scope.row.realSpecification}}
+                </div>
+              </template>
+            </el-table-column>
             <el-table-column
               align="right"
               label="单价"

+ 3 - 1
src/views/supply/engin/components/home_detail.vue

@@ -198,7 +198,9 @@
             <el-table-column align="left" label="产品编码" prop="materialOldNumber" min-width="120" show-overflow-tooltip></el-table-column>
             <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip></el-table-column>
             <el-table-column align="left" label="规格型号" prop="specification" min-width="350" show-overflow-tooltip></el-table-column>
-            <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip></el-table-column>
+            <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip>
+
+            </el-table-column>
             <el-table-column align="right" label="数量" prop="qty" min-width="100" show-overflow-tooltip></el-table-column>
             <el-table-column align="right" label="单价" prop="price" min-width="100" show-overflow-tooltip>
               <template slot-scope="scope">

+ 7 - 1
src/views/supply/engin/components/home_examine.vue

@@ -228,7 +228,13 @@
         <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip></el-table-column>
         <el-table-column align="left" label="规格型号" prop="specification" min-width="350" show-overflow-tooltip></el-table-column>
 
-            <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip></el-table-column>
+            <el-table-column align="left"  label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip>
+              <template slot-scope="scope">
+                <div :style="scope.row.realSpecification != scope.row.specification?{color:'blue'}:''">
+                    {{scope.row.realSpecification}}
+                </div>
+              </template>
+            </el-table-column>
         <el-table-column align="right" label="数量" prop="qty" min-width="100" show-overflow-tooltip>
           <template slot-scope="scope">
             <!-- {{ (scope.row.qty*100 - scope.row.directTransferQty*100 - scope.row.retiredQty*100) / 100 }} -->