add:物流发货针对散户更改微信发货方式,保存物流单号,未发送之前可更改
已修改2个文件
37 ■■■■■ 文件已修改
pages/order/list/_id.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/list/index.vue 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/list/_id.vue
@@ -413,6 +413,7 @@
            { label: '库区:', id: 'warehouseName', type: 'input' },
            { label: '库位:', id: 'warehouseLocationCode', type: 'input' },
            { label: '特殊需求:', id: 'specialNeedsStr', type: 'input' },
            { label: '快递单号:', id: 'deliveryNo', type: 'input' },
            {
              label: '备注:',
              id: 'remarks',
pages/order/list/index.vue
@@ -360,6 +360,14 @@
        ],
        extraButtons: [
          {
            text: '快递单号',
            show: (row) => !row.partnerName && row.statusBackend === 'SEND',
            atClick: (row) => {
              this.$refs.crud.$refs.extraDialog[1].show(row)
              return false
            },
          },
          {
            text: '发货',
            show: (row) => !row.partnerName && row.statusBackend === 'SEND',
            atClick: (row) => {
@@ -398,7 +406,8 @@
              {
                label: '快递号:',
                id: 'deliveryNo',
                type: 'input',
                type: 'text',
                readonly: true,
                rules: {
                  required: true,
                  message: '请输入快递号',
@@ -416,6 +425,31 @@
              }
            },
          },
          {
            title: '快递单号录入',
            hiddenReverseItems: [],
            form: [
              {
                label: '快递号:',
                id: 'deliveryNo',
                type: 'input',
                rules: {
                  required: true,
                  message: '请输入快递号',
                  trigger: 'blur',
                },
              },
            ],
            atConfirm: async (val) => {
              const { code } = await this.$elBusHttp.request(
                'flower/api/order/list/saveDeliveryNo',
                { method: 'post', data: val }
              )
              if (code === 0) {
                this.$message.success('快递单号录入成功')
              }
            },
          },
        ],
      },
    }