edit-admin-order_lists

This commit is contained in:
lccsw
2022-07-22 17:24:38 +08:00
parent dd05e086f7
commit 1871b460e5
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -168,6 +168,7 @@ class Srv extends HD_Controller{
$jsondata['finance_num'] = $info['jsondata']['finance_num'];
$finance = $this->sys_finance_model->get(['id'=>intval($jsondata['finance_id'])],'title');
$jsondata['finance_title'] = $finance['title'];
$data['title'] = $jsondata['finance_title'];
}
//只能有一条默认
if($info['is_def']){
+2 -2
View File
@@ -90,7 +90,7 @@ class Ordersv2List
$where["{$this->t1}.biz_id in ($biz_ids)"] = null;
}
if ($params['biz_type']) {
$where["{$this->t1}.biz_id in (select id from lc_biz where type = " . $params['biz_type'] . ' and status=1)'] = null;
$where["{$this->t1}.biz_id in (select id from lc_biz where type = " . $params['biz_type'] . ')'] = null;
}
if ($params['of_id'] || $params['of2_id']) {
$where_c = 'status>=0';
@@ -431,7 +431,7 @@ class Ordersv2List
$where["biz_id in ($biz_ids)"] = null;
}
if ($params['biz_type']) {
$where["biz_id in (select id from lc_biz where type = " . $params['biz_type'] . ' and status=1)'] = null;
$where["biz_id in (select id from lc_biz where type = " . $params['biz_type'] . ')'] = null;
}
if ($params['of_id'] || $params['of2_id']) {
$where_c = 'status>=0';
+1 -1
View File
@@ -1,6 +1,6 @@
<form id="vue-edit" class="am-form am-form-horizontal tab-content" action="/auto/cars/edit" data-auto="true" method="post" style="width: 90%;padding:25px 30px 20px 0;margin: 0 auto;">
<div class="tab-pane fade in active" id="swzc">
<div class="am-form-group wp50">
<div class="am-form-group wp50" v-if="info.type!=3">
<label class="am-para-label">供应商:</label>
<div class="am-para-input">
<input type="text" placeholder="供应商" v-model="info.title">