|
@@ -5,8 +5,8 @@
|
|
|
:operation="operation" :exportList="exportList">
|
|
|
</template-page>
|
|
|
<div class="detail" v-if="formDialog">
|
|
|
- <auxiliarySalesOrderDetail v-if="goosType == 'M'" :id="id" @back="backList" :formType="2" title="辅材销售订单详情"></auxiliarySalesOrderDetail>
|
|
|
- <attachmentSalesOrderDetail v-else :id="id" @back="backList" :formType="2" title="配件销售订单详情"></attachmentSalesOrderDetail>
|
|
|
+ <auxiliarySalesOrderDetail v-if="goodsType == 'M'" :id="id" @back="backList" :formType="2" title="辅材销售订单详情"></auxiliarySalesOrderDetail>
|
|
|
+ <attachmentSalesOrderDetail v-if="goodsType == 'P'" :id="id" @back="backList" :formType="2" title="配件销售订单详情"></attachmentSalesOrderDetail>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -38,7 +38,7 @@ export default {
|
|
|
recordSelected: [],
|
|
|
/** 表单变量 */
|
|
|
id: '',
|
|
|
- goosType: 'P',
|
|
|
+ goodsType: 'P',
|
|
|
formDialog: false
|
|
|
}
|
|
|
},
|