Ver Fonte

报价单修改

xiaohaizhao há 3 anos atrás
pai
commit
1499c69d40

+ 4 - 3
packageA/offers/detail.js

@@ -140,6 +140,10 @@ Page({
         }];
         //客户报价移除项目字段
         if (res.data.quotedpricetype == '客户报价') briefs.splice(1, 1);
+        /* {
+            label: "项目编号",
+            value: res.data.projectnum
+        },  */
         let list1 = [{
             label: "报价单号",
             value: res.data.billno
@@ -158,9 +162,6 @@ Page({
         }, {
             label: "项目名称",
             value: res.data.projectname
-        }, {
-            label: "项目编号",
-            value: res.data.projectnum
         }, {
             label: "客户",
             value: res.data.enterprisename

+ 1 - 1
packageA/offers/detail.wxml

@@ -12,7 +12,7 @@
     <Trace slot='跟进动态' id='Trace' ownertable='sa_quotedprice' ownerid='{{detail.sa_quotedpriceid}}' />
     <Product slot='产品明细折扣' id='Product' sa_projectid="{{detail.sa_projectid}}" type="{{detail.quotedpricetype}}" disabled="{{(per.query(options,'product')||isAdmin||isLeader)&&detail.status=='新建'}}" />
     <PiscountType slot='产品类别折扣' id='PiscountType' disabled="{{(isAdmin||isLeader)&&detail.status!='新建'}}" type="报价单" />
-    <PettyExpense slot='其他费用' id='PettyExpense' quotedpricenotes='{{detail.quotedpricenotes}}' />
+    <PettyExpense slot='其他费用' id='PettyExpense' quotedpricenotes='{{detail.quotedpricenotes}}' disabled="{{(isAdmin||isLeader)&&detail.status!='新建'}}" />
     <History slot='历史报价' id="History" isproject="{{detail.quotedpricetype=='项目报价'?1:0}}" />
     <Record slot='操作记录' id="Record" ownertable='sa_quotedprice' ownerid='{{detail.sa_quotedpriceid}}' />
     <Files slot='附件' id="Files" ownertable='sa_quotedprice' ownerid='{{detail.sa_quotedpriceid}}' />

+ 1 - 1
packageA/offers/modules/list/index.wxml

@@ -9,7 +9,7 @@
         <van-tag custom-class='tag' wx:for="{{item.tags.systemtag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{tag}}</van-tag>
         <van-tag custom-class='tag' wx:for="{{item.tags.datatag}}" wx:key="index" wx:for-item='tag' color='#FAAB16' text-color='#fff' round>{{tag}}</van-tag>
     </view>
-    <view class="exp line-1">项目:<text>{{item.projectname||' --'}}</text></view>
+    <!-- <view class="exp line-1">项目:<text>{{item.projectname||' --'}}</text></view> -->
     <view class="exp line-1">客户:<text>{{item.enterprisename||' --'}}</text></view>
     <view class="exp line-1">报价日期:<text>{{item.billdate}}</text></view>
     <view class="exp line-1">是否特价:<text>{{item.specialoffer==1?'是':'否'}}</text></view>