cz il y a 2 ans
Parent
commit
c938719214

+ 0 - 0
public/img/process/icon_audit.svg → src/assets/img/process/icon_audit.svg


+ 0 - 0
public/img/process/icon_begin.svg → src/assets/img/process/icon_begin.svg


+ 0 - 0
public/img/process/icon_delete_bian.svg → src/assets/img/process/icon_delete_bian.svg


+ 0 - 0
public/img/process/icon_end.svg → src/assets/img/process/icon_end.svg


+ 0 - 0
public/img/process/icon_handle.svg → src/assets/img/process/icon_handle.svg


+ 0 - 0
public/img/process/icon_shenhe.svg → src/assets/img/process/icon_shenhe.svg


+ 0 - 0
public/img/process/icon_success_bian.svg → src/assets/img/process/icon_success_bian.svg


+ 0 - 0
public/img/process/icon_wait_bian.svg → src/assets/img/process/icon_wait_bian.svg


+ 9 - 9
src/views/process/examinationApproval/approvalRecords.vue

@@ -15,43 +15,43 @@
               >
                 <img
                   v-if="item.nodeType === 1"
-                  src="/img/process/icon_begin.svg"
+                  src="@/assets/img/process/icon_begin.svg"
                   style="width: 20px; position: absolute; top: 10px; left: 10px"
                   fit="scale-down"
                 />
                 <img
                   v-else-if="item.nodeType === 2"
-                  src="/img/process/icon_shenhe.svg"
+                  src="@/assets/img/process/icon_shenhe.svg"
                   style="width: 20px; position: absolute; top: 10px; left: 10px"
                   fit="scale-down"
                 />
                 <img
                   v-else-if="item.nodeType === 3"
-                  src="/img/process/icon_audit.svg"
+                  src="@/assets/img/process/icon_audit.svg"
                   style="width: 20px; position: absolute; top: 10px; left: 10px"
                   fit="scale-down"
                 />
                 <img
                   v-else-if="item.nodeType === 4"
-                  src="/img/process/icon_handle.svg"
+                  src="@/assets/img/process/icon_handle.svg"
                   style="width: 20px; position: absolute; top: 10px; left: 10px"
                   fit="scale-down"
                 />
                 <img
                   v-else-if="item.nodeType === 5"
-                  src="/img/process/icon_handle.svg"
+                  src="@/assets/img/process/icon_handle.svg"
                   style="width: 20px; position: absolute; top: 10px; left: 10px"
                   fit="scale-down"
                 />
                 <img
                   v-else-if="item.nodeType === 99"
-                  src="/img/process/icon_end.svg"
+                  src="@/assets/img/process/icon_end.svg"
                   style="width: 20px; position: absolute; top: 10px; left: 10px"
                   fit="scale-down"
                 />
                 <img
                   v-if="[1, 2, 4, 6].includes(item.type)"
-                  src="/img/process/icon_success_bian.svg"
+                  src="@/assets/img/process/icon_success_bian.svg"
                   style="
                     width: 18px;
                     height: 18px;
@@ -63,7 +63,7 @@
                 />
                 <img
                   v-else-if="[3, 5].includes(item.type)"
-                  src="/img/process/icon_delete_bian.svg"
+                  src="@/assets/img/process/icon_delete_bian.svg"
                   style="
                     width: 18px;
                     height: 18px;
@@ -75,7 +75,7 @@
                 />
                 <img
                   v-else-if="item.type === 98"
-                  src="/img/process/icon_wait_bian.svg"
+                  src="@/assets/img/process/icon_wait_bian.svg"
                   style="
                     width: 18px;
                     height: 18px;

+ 21 - 16
src/views/purchase-management/deliver-goods/index.vue

@@ -372,22 +372,27 @@ export default {
         <el-table-column label="操作" align="center" width="280">
           <template slot-scope="scope">
             <div v-if="scope.row.status !== 99 && scope.row.status !== 50">
-              <el-button type="text" @click="handleReturn(scope.row)">
-                退货
-              </el-button>
-              <el-button type="text" @click="handleSend(scope.row)">
-                发货通知
-              </el-button>
-              <el-button type="text" @click="handleArrive(scope.row)"
-                >到货通知
-              </el-button>
-              <el-button type="text" @click="handlePurchaseEnd(scope.row)"
-                >结束
-              </el-button>
-              <el-button type="text" @click="handlePurchaseCancel(scope.row)"
-                >取消
-              </el-button>
-              <el-button type="text" @click="handleExamine(scope.row)"
+              <div v-if="scope.row.status > 10">
+                <el-button type="text" @click="handleReturn(scope.row)">
+                  退货
+                </el-button>
+                <el-button type="text" @click="handleSend(scope.row)">
+                  发货通知
+                </el-button>
+                <el-button type="text" @click="handleArrive(scope.row)"
+                  >到货通知
+                </el-button>
+                <el-button type="text" @click="handlePurchaseEnd(scope.row)"
+                  >结束
+                </el-button>
+                <el-button type="text" @click="handlePurchaseCancel(scope.row)"
+                  >取消
+                </el-button>
+              </div>
+              <el-button
+                type="text"
+                v-if="scope.row.status === 10"
+                @click="handleExamine(scope.row)"
                 >审批
               </el-button>
             </div>