|
@@ -105,29 +105,6 @@ const API_BASE_PATH = Constant.REQUEST_PREFIX
|
|
|
// data: true
|
|
|
// })
|
|
|
|
|
|
-Mock.mock(/\/tag\/code\/page/, 'post', {
|
|
|
- type: 'success',
|
|
|
- data: {
|
|
|
- 'count|10-40': 1,
|
|
|
- 'list|1-20': [{
|
|
|
- 'id|1-20': 1,
|
|
|
- dataTime: '2024/01/01 00:00:00',
|
|
|
- orderNo: '123456',
|
|
|
- expectedReceiptDate: '2024/01/02 00:00:00',
|
|
|
- serialNumberRange: ['0000001', '000800'],
|
|
|
- 'providerName|1': ['人民电器集团有限公司', '上海东生供用电器材厂', '上海辉电电力设备工程有限公司'],
|
|
|
- 'tagTypeName|1': ['高性能不干胶标签', '柔性抗金属标签', '扎带标签'],
|
|
|
- number: 123,
|
|
|
- 'amount|1-100.1-2': 30,
|
|
|
- 'tagApplyStateName|1': ['待支付', '待发货', '已发货'],
|
|
|
- operatorName: '操作员',
|
|
|
- applicantName: '申领人',
|
|
|
- 'unitPrice|1-100.1-2': 10,
|
|
|
- createTime: '2024/01/01 00:00:00'
|
|
|
- }]
|
|
|
- }
|
|
|
-})
|
|
|
-
|
|
|
// Mock.mock(/\/tag\/serial\/page/, 'post', {
|
|
|
// type: 'success',
|
|
|
// data: {
|
|
@@ -164,28 +141,28 @@ Mock.mock(/\/tag\/code\/qr/, 'get', {
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-Mock.mock(/\/tag\/code\/page/, 'post', {
|
|
|
- type: 'success',
|
|
|
- data: {
|
|
|
- 'count|10-40': 1,
|
|
|
- 'list|1-20': [{
|
|
|
- 'id|1-20': 1,
|
|
|
- dataTime: '2024/01/01 00:00:00',
|
|
|
- orderNo: '123456',
|
|
|
- expectedReceiptDate: '2024/01/02 00:00:00',
|
|
|
- serialNumberRange: ['0000001', '000800'],
|
|
|
- 'providerName|1': ['人民电器集团有限公司', '上海东生供用电器材厂', '上海辉电电力设备工程有限公司'],
|
|
|
- 'tagTypeName|1': ['高性能不干胶标签', '柔性抗金属标签', '扎带标签'],
|
|
|
- number: 123,
|
|
|
- 'amount|1-100.1-2': 30,
|
|
|
- 'tagApplyStateName|1': ['待支付', '待发货', '已发货'],
|
|
|
- operatorName: '操作员',
|
|
|
- applicantName: '申领人',
|
|
|
- 'unitPrice|1-100.1-2': 10,
|
|
|
- createTime: '2024/01/01 00:00:00'
|
|
|
- }]
|
|
|
- }
|
|
|
-})
|
|
|
+// Mock.mock(/\/tag\/code\/page/, 'post', {
|
|
|
+// type: 'success',
|
|
|
+// data: {
|
|
|
+// 'count|10-40': 1,
|
|
|
+// 'list|1-20': [{
|
|
|
+// 'id|1-20': 1,
|
|
|
+// dataTime: '2024/01/01 00:00:00',
|
|
|
+// orderNo: '123456',
|
|
|
+// expectedReceiptDate: '2024/01/02 00:00:00',
|
|
|
+// serialNumberRange: ['0000001', '000800'],
|
|
|
+// 'providerName|1': ['人民电器集团有限公司', '上海东生供用电器材厂', '上海辉电电力设备工程有限公司'],
|
|
|
+// 'tagTypeName|1': ['高性能不干胶标签', '柔性抗金属标签', '扎带标签'],
|
|
|
+// number: 123,
|
|
|
+// 'amount|1-100.1-2': 30,
|
|
|
+// 'tagApplyStateName|1': ['待支付', '待发货', '已发货'],
|
|
|
+// operatorName: '操作员',
|
|
|
+// applicantName: '申领人',
|
|
|
+// 'unitPrice|1-100.1-2': 10,
|
|
|
+// createTime: '2024/01/01 00:00:00'
|
|
|
+// }]
|
|
|
+// }
|
|
|
+// })
|
|
|
|
|
|
Mock.mock(/\/print\/queue\/page/, 'post', {
|
|
|
type: 'success',
|