|
@@ -74,7 +74,7 @@
|
|
|
</show-data-table>
|
|
|
</el-collapse-item>
|
|
|
|
|
|
- <el-collapse-item title="待库管发货" name="2" v-if="sitem.status === '1' && !isSupertube">
|
|
|
+ <el-collapse-item title="待库管发货" name="2" v-if="sitem.status === '1' && !isSupertube && ppowers.includes('1')">
|
|
|
<express-node @refresh="() => initData()" :sitem="sitem" />
|
|
|
</el-collapse-item>
|
|
|
</el-collapse>
|
|
@@ -108,17 +108,23 @@ export default {
|
|
|
const { action } = tran ?? {};
|
|
|
return action ?? [];
|
|
|
},
|
|
|
+ ppowers() {
|
|
|
+ const tran =
|
|
|
+ this.$store.getters.roleProcess.find((i) => i.process_type === "FHGD") || {};
|
|
|
+ const { action } = tran ?? {};
|
|
|
+ return action ?? [];
|
|
|
+ }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
activeTabs: "1",
|
|
|
showColumns: showColumns,
|
|
|
statusOptions: [
|
|
|
- { value: "1", label: "待库管发货" },
|
|
|
- { value: "2", label: "发货完成" },
|
|
|
- { value: "3", label: "已收货" },
|
|
|
- { value: '3', label: '供应商驳回,待供应商负责人审核'},
|
|
|
- { value: '4', label: '已全部退货'},
|
|
|
+ { value: "1", label: "待发货" },
|
|
|
+ { value: "2", label: "发货完成" },
|
|
|
+ // { value: "3", label: "已收货" },
|
|
|
+ // { value: "4", label: "已全部收货" },
|
|
|
+ { value: "5", label: "已取消" },
|
|
|
],
|
|
|
xs_order_type_options,
|
|
|
sitem: null, //传给组件
|