Procházet zdrojové kódy

调拨类型修改

lilei před 3 roky
rodič
revize
908bce0147

+ 2 - 2
src/views/allocationManagement/transferOut/edit.vue

@@ -12,7 +12,7 @@
           <a-button key="1" type="primary" id="allocateBillEdit-print-btn" :disabled="localDataSource.length==0" @click="handlePrint('print')">快捷打印</a-button>
         </template>
       </a-page-header>
-      <a-card size="small" :bordered="false" class="allocateBillEdit-cont">
+      <a-card size="small" :bordered="false" v-if="basicInfoData" class="allocateBillEdit-cont">
         <a-collapse :activeKey="['1']">
           <a-collapse-panel key="1" header="基础信息">
             <a-descriptions :column="3">
@@ -303,7 +303,6 @@ export default {
         onOk () {
           const params = _this.basicInfoData
           allocateBillSave({
-            id: params.id,
             allocateSn: params.allocateSn,
             targetType: params.targetType,
             targetSn: params.targetSn,
@@ -313,6 +312,7 @@ export default {
           }).then(res => {
             if (res.status == 200) {
               _this.$message.success(res.message)
+              _this.getDetail()
             } else {
               _this.spinning = false
             }