|
@@ -102,7 +102,7 @@
|
|
|
type="primary"
|
|
|
v-hasPerm="[buttonPermission.PLAN.BTNS.order_data]"
|
|
|
:size="size"
|
|
|
- >生成数据包</el-button
|
|
|
+ >生成数据包</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
icon="el-icon-download"
|
|
@@ -112,7 +112,7 @@
|
|
|
type="primary"
|
|
|
v-hasPerm="[buttonPermission.PLAN.BTNS.order_downLoad]"
|
|
|
:size="size"
|
|
|
- >下载数据包</el-button
|
|
|
+ >下载数据包</el-button
|
|
|
>
|
|
|
</template>
|
|
|
</avue-crud>
|
|
@@ -277,11 +277,10 @@ import ChoiceItemPage from "@/views/base/materials/components/choice-item-page.v
|
|
|
import { zipOrder } from "../../../api/order";
|
|
|
import { useCrud } from "../../../hooks/userCrud";
|
|
|
|
|
|
-const {Utils } =
|
|
|
- useCrud({
|
|
|
- src: "/api/v1/plan/order",
|
|
|
- });
|
|
|
-const {downloadTemplate} = Utils; //按钮权限等工具
|
|
|
+const { Utils } = useCrud({
|
|
|
+ src: "/api/v1/plan/order",
|
|
|
+});
|
|
|
+const { downloadTemplate } = Utils; //按钮权限等工具
|
|
|
// 弹窗对象
|
|
|
const dialog = reactive({
|
|
|
visible: false,
|
|
@@ -352,7 +351,7 @@ option.value = {
|
|
|
editBtn: false,
|
|
|
delBtn: false,
|
|
|
searchMenuSpan: 8,
|
|
|
- labelWidth:100,
|
|
|
+ labelWidth: 100,
|
|
|
align: "center",
|
|
|
menuAlign: "center",
|
|
|
search: true,
|
|
@@ -384,7 +383,7 @@ option.value = {
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- label: "ERP订单号",
|
|
|
+ label: "ERP单号",
|
|
|
prop: "erpCode",
|
|
|
search: true,
|
|
|
width: 130,
|
|
@@ -392,7 +391,7 @@ option.value = {
|
|
|
rules: [
|
|
|
{
|
|
|
required: true,
|
|
|
- message: "ERP订单号不能为空",
|
|
|
+ message: "ERP单号不能为空",
|
|
|
trigger: "trigger",
|
|
|
},
|
|
|
],
|
|
@@ -528,6 +527,7 @@ option.value = {
|
|
|
display: false,
|
|
|
width: 100,
|
|
|
overHidden: true,
|
|
|
+ search: true,
|
|
|
type: "select", //类型为下拉选择框
|
|
|
dicUrl:
|
|
|
dictDataUtil.request_url + dictDataUtil.TYPE_CODE.plan_order_state,
|