Commit 27cc125c by 朱继来

添加字段

parent b93fbf2d
......@@ -86,6 +86,7 @@ class QuoteModel extends Model
if ($v["raw_goods_packing"] != "") {
$v["create_name"] = $v["create_name"] . "(包装:" . $v["raw_goods_packing"] . ")";
}
$v['source_val'] = array_get(Config('quote.quote_source'), $v['source'], '');
}
return [0, '成功', $list['data'], $list['total']];
}
......@@ -313,6 +314,7 @@ class QuoteModel extends Model
$v["effect_days"] = $v["effect_days"] . "天";
$v['price_rmb'] = $v['currency'] == 1 ? $v['price_rmb'] : '';
$v["digikey"] = "包装:" . $v["raw_goods_packing"];
$v['source_val'] = array_get(Config('quote.quote_source'), $v['source'], '');
}
return [0, '获取成功', $list['data'], $list['total']];
......
......@@ -3,13 +3,14 @@ namespace App\map;
//询价枚举
class InquiryMap{
//状态 -1:已关闭 1:待报价 2:已报价 3:已选中 4:已领取 5:已确认
//状态 -1:已关闭 1:待报价 2:已报价 3:已选中 4:已领取 5:已确认 10:已成单
const status_close = -1;
const status_ready = 1;
const status_replay = 2;
const status_check = 3;
const status_fix = 4;
const status_sure = 5;
const status_order = 10;
static $status =[
self::status_close => "已关闭",
self::status_ready => "待报价",
......@@ -17,6 +18,7 @@ class InquiryMap{
self::status_check => "已选中",
self::status_fix => "已领取",
self::status_sure => "已确认",
self::status_order => "已成单",
];
//币种 1:CNY 2:USD 3: 港币 4:欧元 5:英磅
......
......@@ -4,17 +4,23 @@ namespace App\map;
//报价枚举
class QuoteMap{
//状态 -1:已撤销 0:草稿 1:已报价 2:已选中 3:已确认
const status_close = -1;
const status_cancel = -1;
const status_cao = 0;
const status_ready = 1;
const status_fix = 2;
const status_sure = 3;
const status_order = 4;
const status_close = 5;
const status_delete = 9;
static $status =[
self::status_close => "已撤销",
self::status_cancel => "已撤销",
self::status_cao => "草稿",
self::status_ready => "已报价",
self::status_fix => "已选中",
self::status_sure => "已确认",
self::status_order => "已成单",
self::status_close => "已关闭",
self::status_delete => "已删除",
];
//可用报价状态
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment