Kaynağa Gözat

台账id修改

lucky 2 yıl önce
ebeveyn
işleme
f441ab2ce6
1 değiştirilmiş dosya ile 8 ekleme ve 8 silme
  1. 8 8
      src/views/standingBook/detail.vue

+ 8 - 8
src/views/standingBook/detail.vue

@@ -86,23 +86,23 @@
           </div>
 
           <!-- 编号id -->
-          <div id="detail9" v-if="tableData.bk_code">
+          <div id="detail9" v-if="tableData.purchease_id">
             <el-collapse-item
               title="销售——备货申请单"
               name="9"
               v-if="newTime !== ''"
             >
-              <detail9 :queryId="tableData.bk_code"> </detail9>
+              <detail9 :queryId="tableData.purchease_id"> </detail9>
             </el-collapse-item>
           </div>
           <!-- 编号id -->
-          <div id="detail10"  v-if="tableData.orderCode">
+          <div id="detail10"  v-if="tableData.sale_id">
             <el-collapse-item
               title="销售——销售订单"
               name="10"
               v-if="newTime !== ''"
             >
-              <detail10 :queryId="tableData.orderCode"> </detail10>
+              <detail10 :queryId="tableData.sale_id"> </detail10>
             </el-collapse-item>
           </div>
 
@@ -331,8 +331,8 @@ export default {
         projectNo,
         infoNo,
         bargainNo,
-        bk_code,
-        orderCode,
+        purchease_id,
+        sale_id,
         outCode,
         returnCode,
         thNo,
@@ -369,10 +369,10 @@ export default {
       (bargainNo ?? "") != ""
         ? arr.push({ tar: "#detail8", title: "销售——议价单" })
         : (flag = false);
-      (bk_code ?? "") != ""
+      (purchease_id ?? "") != ""
         ? arr.push({ tar: "#detail9", title: "销售——备货申请单" })
         : (flag = false);
-      (orderCode ?? "") != ""
+      (sale_id ?? "") != ""
         ? arr.push({ tar: "#detail10", title: "销售——销售订单" })
         : (flag = false);
       (outCode ?? "") != ""