qukaidi пре 3 година
родитељ
комит
cb34dc0081

+ 6 - 7
src/views/Warehousing/components/incomeMoney.vue

@@ -105,8 +105,7 @@
           <span v-else-if="item.label == 'fUnitprice'">
             <el-input
               oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d).*$/, "$1$2.$3")'
-              v-model="scope.row.fUnitprice" placeholder="单价"
-              :disabled="browseStatus || scope.row.fSrcTypeId !== 0 || scope.row.fBillstatus == 6"
+              v-model="scope.row.fUnitprice" placeholder="单价" :disabled="browseStatus || scope.row.fBillstatus == 6"
               @change="changeContractAmt(scope.row)" show-word-limit />
           </span>
           <span v-else-if="item.label == 'fAmount'">
@@ -141,15 +140,15 @@
           </span>
           <span v-else-if="item.label == 'fInvamount'">
             <el-input v-model="scope.row.fInvamount" :disabled="browseStatus || scope.row.fBillstatus == 6"
-                                     placeholder="开票金额" show-word-limit disabled/>
+              placeholder="开票金额" show-word-limit disabled />
           </span>
-                    <span v-else-if="item.label == 'fInvnos'">
+          <span v-else-if="item.label == 'fInvnos'">
             <el-input v-model="scope.row.fInvnos" :disabled="browseStatus || scope.row.fBillstatus == 6"
-                                     placeholder="发票号" show-word-limit disabled/>
+              placeholder="发票号" show-word-limit disabled />
           </span>
-                    <span v-else-if="item.label == 'fInvoicingDate'">
+          <span v-else-if="item.label == 'fInvoicingDate'">
             <el-date-picker v-model="scope.row.fInvoicingDate" :disabled="browseStatus || scope.row.fBillstatus == 6"
-                                           placeholder="开票时间" format="yyyy-MM-dd" value-format="yyyy-MM-dd" disabled/>
+              placeholder="开票时间" format="yyyy-MM-dd" value-format="yyyy-MM-dd" disabled />
           </span>
           <span v-else-if="item.label == 'fProductName'">
             <el-input v-model="scope.row.fProductName" :disabled="browseStatus || scope.row.fBillstatus == 6"

Разлика између датотеке није приказан због своје велике величине
+ 397 - 657
src/views/Warehousing/components/payMoney.vue


+ 3 - 3
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -786,11 +786,11 @@
                 <el-input
                   oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
                   v-model="scope.row.fUnitprice" placeholder="单价"
-                  :disabled="browseStatus || scope.row.fSrcTypeId !== 0 || scope.row.fBillstatus == 6"
+                  :disabled="browseStatus  || scope.row.fBillstatus == 6"
                   @change="changeContractAmt(scope.row)" show-word-limit />
               </span>
               <span v-else-if="item.label == 'fAmount'">
-                <el-input :disabled="browseStatus || scope.row.fSrcTypeId !== 0 || scope.row.fBillstatus == 6"
+                <el-input disabled
                   oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
                   v-model="scope.row.fAmount" placeholder="金额" show-word-limit />
               </span>
@@ -1429,7 +1429,7 @@
                 <el-input
                   oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
                   v-model="scope.row.fUnitprice"
-                  :disabled="browseStatus || scope.row.fSrcTypeId !== 0 || scope.row.fBillstatus == 6"
+                  :disabled="browseStatus || scope.row.fBillstatus == 6"
                   @change="changeContractAmt(scope.row)" placeholder="单价" show-word-limit />
               </span>
               <span v-else-if="item.label == 'fAmount'">

Неке датотеке нису приказане због велике количине промена