xiaodai2022 2 years ago
parent
commit
9413d7817f

+ 0 - 21
src/views/sellOut/sellReturn/detail.vue

@@ -1,30 +1,9 @@
 <template>
   <div class="sellReturnDetail pagePadding">
-    <p>{{ status }}--- {{ powers }}</p>
     <div
       style="width: 100%"
       v-if="powers && powers.length > 0 && powers.some((item) => item == '001')"
     >
-      <div class="detail-page-title">
-        <!-- <span>销售退货单编号:</span><span v-if="sitem">{{ sitem.id }}</span> -->
-        <!-- <el-button
-          type="danger"
-          plain
-          class="fr"
-          style="margin: 0 0 0 15px"
-          :size="'mini'"
-          @click="statusConfirm('-1', '作废该条信息', '')"
-          v-if="status === '0' && powers.some((item) => item == '015')"
-          >作废该条信息
-        </el-button> -->
-      </div>
-
-      <!-- <status-bar
-        v-if="newTime !== ''"
-        :newTime="newTime"
-        :options="statusOptions"
-        :status="status"
-      /> -->
       <el-tabs v-model="activeTabs">
         <el-tab-pane label="业务详情" name="1">
           <el-collapse v-model="activeNames" style="margin: -18px 0 0 0">

+ 2 - 2
src/views/sellOut/zixunOrder/components/buyGoodModal.vue

@@ -73,7 +73,7 @@
                     :min="0"
                     :max="sitem.in_num"
                     :position="'right'"
-                    :precision="2"
+                    :precision="0"
                     :size="'mini'"
                     :controls="false"
                     :disabled="false"
@@ -602,7 +602,7 @@ export default {
           model.order_addr = [];
           const { sendtype, good_num } = model;
           const { order_addr } = JSON.parse(JSON.stringify(this.addrForm));
-          if (sendtype === "2" && order_addr && order_addr.length === 0) {
+          if (sendtype === "1" && order_addr && order_addr.length === 0) {
             this.$message.warning("至少上传一个地址信息!");
             this.loading = false;
             return;