feat:
1. add express fill
This commit is contained in:
@@ -42,6 +42,7 @@ export default {
|
||||
label: "订单类型",
|
||||
prop: "orderType",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "商品编号",
|
||||
|
||||
@@ -290,8 +290,8 @@ import {getList, getDetail, add, update, remove, confirmPayment, fillExpress} fr
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
inputPlaceholder: '例如:SF123456789CN',
|
||||
inputPattern: /SF\d{10,}/, // 可选:正则校验
|
||||
inputErrorMessage: '快递单号格式不正确'
|
||||
// inputPattern: /^[a-zA-Z0-9]{8,20}$/, // 可选:正则校验
|
||||
// inputErrorMessage: '快递单号格式不正确'
|
||||
}).then(({ value }) => {
|
||||
fillExpress(row.id, value)
|
||||
// 用户点击“确定”
|
||||
@@ -355,7 +355,7 @@ import {getList, getDetail, add, update, remove, confirmPayment, fillExpress} fr
|
||||
exportOrderSubmit(form, done){
|
||||
NProgress.start();
|
||||
exportBlob(
|
||||
`/common/order/exportOrderToExcel?${
|
||||
`/common/order/export-order-to-excel?${
|
||||
this.website.tokenHeader
|
||||
}=${getToken()}&account=${form.account}&searchDateRange=${form.searchDateRange}`
|
||||
).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user