Commit 772c2a47 by 张立顺

代码冲突解决

2 parents bc989bd5 417afd4f
...@@ -26,7 +26,7 @@ export const defaultDeliveryStatusOptions = [ ...@@ -26,7 +26,7 @@ export const defaultDeliveryStatusOptions = [
}, },
{ {
id: 2, id: 2,
label: "已发货" label: "全部发货"
}, },
{ {
id: 3, id: 3,
...@@ -42,7 +42,11 @@ export const defaultPutStatusOptions = [ ...@@ -42,7 +42,11 @@ export const defaultPutStatusOptions = [
}, },
{ {
id: 2, id: 2,
label: "已入库" label: "全部入库"
},
{
id: 3,
label: "部分入库"
} }
] ]
......
<!-- 采购审核 --> <!-- 采购审核 -->
<template> <template>
<d2-container class="container"> <d2-container class="container">
<div class="header" slot="header"> <div class="header"
<d2-search ref="showSearch" class="show-search" :search-form="searchForm" @handleChangeSelect="handleChangeSelect" slot="header">
:form-data="showFormData"> <d2-search ref="showSearch"
class="show-search"
:search-form="searchForm"
@handleChangeSelect="handleChangeSelect"
:form-data="showFormData">
</d2-search> </d2-search>
<div class="up-btns"> <div class="up-btns">
<el-button :id="tableParams.btnId" size="small" type="primary" handle> <el-button :id="tableParams.btnId"
size="small"
type="primary"
handle>
查询 查询
</el-button> </el-button>
<el-button size="small" @click="handleReset"> <el-button size="small"
@click="handleReset">
重置 重置
</el-button> </el-button>
</div> </div>
...@@ -21,18 +29,31 @@ ...@@ -21,18 +29,31 @@
<auth-button category="Button" /> <auth-button category="Button" />
</span> </span>
<span> <span>
<el-button type="primary" size="mini" @click="handleExport"> <el-button type="primary"
size="mini"
@click="handleExport">
导出 导出
</el-button> </el-button>
</span> </span>
</d2-table-header> </d2-table-header>
<d2-table ref="purchasementReviewTable" :search-form="tableSearchForm" :table-params="tableParams" <d2-table ref="purchasementReviewTable"
:table-data="tableData" :get-list-api="getListApi" :before-search-fn="beforeSearchFn"> :search-form="tableSearchForm"
<auth-button slot="auth-button" slot-scope="scope" :data="scope.scope" /> :table-params="tableParams"
:table-data="tableData"
:get-list-api="getListApi"
:before-search-fn="beforeSearchFn">
<auth-button slot="auth-button"
slot-scope="scope"
:data="scope.scope" />
</d2-table> </d2-table>
</div> </div>
<orderDeatilDialog :visible.sync="detailVisible" v-if="detailVisible" :params-obj="paramsObj"></orderDeatilDialog> <orderDeatilDialog :visible.sync="detailVisible"
<rejectDialog :reject-visible="rejectVisible" v-if="rejectVisible" :params-obj="paramsObj" @dialogClose="dialogClose"> v-if="detailVisible"
:params-obj="paramsObj"></orderDeatilDialog>
<rejectDialog :reject-visible="rejectVisible"
v-if="rejectVisible"
:params-obj="paramsObj"
@dialogClose="dialogClose">
</rejectDialog> </rejectDialog>
</d2-container> </d2-container>
</template> </template>
...@@ -191,9 +212,9 @@ export default { ...@@ -191,9 +212,9 @@ export default {
}, },
className: (cellValue) => { className: (cellValue) => {
return { return {
1: 'yellowSpot', 1: 'ashSpot',
2: 'greenSpot', 2: 'greenSpot',
3: 'ashSpot' 3: 'yellowSpot'
}[cellValue.deliveryStatus] }[cellValue.deliveryStatus]
} }
}, },
......
...@@ -241,9 +241,9 @@ export default { ...@@ -241,9 +241,9 @@ export default {
}, },
className: (cellValue) => { className: (cellValue) => {
return { return {
1: 'yellowSpot', 1: 'ashSpot',
2: 'greenSpot', 2: 'greenSpot',
3: 'ashSpot' 3: 'yellowSpot'
}[cellValue.deliveryStatus] }[cellValue.deliveryStatus]
} }
}, },
......
...@@ -237,9 +237,9 @@ export default { ...@@ -237,9 +237,9 @@ export default {
}, },
className: (cellValue) => { className: (cellValue) => {
return { return {
1: 'yellowSpot', 1: 'ashSpot',
2: 'greenSpot', 2: 'greenSpot',
3: 'ashSpot' 3: 'yellowSpot'
}[cellValue.deliveryStatus] }[cellValue.deliveryStatus]
} }
}, },
...@@ -265,8 +265,9 @@ export default { ...@@ -265,8 +265,9 @@ export default {
}, },
className: (cellValue) => { className: (cellValue) => {
return { return {
1: 'yellowSpot', 1: 'ashSpot',
2: 'greenSpot' 2: 'greenSpot',
3: 'yellowSpot'
}[cellValue.putStatus] }[cellValue.putStatus]
} }
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!