Kaynağa Gözat

修改出入库主页删除按钮

caojunjie 4 yıl önce
ebeveyn
işleme
1a01a02db3

+ 5 - 1
src/views/finance/contrast/index.vue

@@ -312,7 +312,11 @@
       >
         <el-table-column label="行号" align="center" type="index" />
         <el-table-column label="提单号" align="center" prop="fMblno" />
-        <el-table-column label="业务日期" align="center" prop="fBsdate"/>
+        <el-table-column label="业务日期" align="center" prop="fBsdate">
+          <template slot-scope="scope">
+            <span>{{scope.row.fBsdate.slice(0, 10)}}</span>
+          </template>
+        </el-table-column>
         <el-table-column label="费用名称" align="center" prop="fFeeName" />
         <el-table-column label="收/付" align="center" prop="fSrcdc">
           <template slot-scope="scope">

+ 2 - 0
src/views/startApproval.vue

@@ -88,6 +88,7 @@ import Global from '@/layout/components/global'
           cancelButtonText: '取消',
           type: 'warning'
         }).then(() => {
+          this.dataForm.createTime = ''
           return  listCharge(this.dataForm,'/warehouse/paths/approved')
           }).then(data => {
             if (data && data.code == 200) {
@@ -132,6 +133,7 @@ import Global from '@/layout/components/global'
           cancelButtonText: '取消',
           type: 'warning'
         }).then(() => {
+          this.dataForm.createTime = ''
           return listCharge(this.dataForm,'/warehouse/paths/approvalRejected')
           }).then(data => {
           if (data && data.code == 200) {

+ 2 - 1
src/views/warehouseBusiness/outStock/index.vue

@@ -317,6 +317,7 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
+            v-show="scope.row.fItemsStatus !== 4"
             v-if="scope.row.fBillstatus < 4"
             @click="handleDelete(scope.row)"
             v-hasPermi="['warehouseBusiness:outStock:remove']"
@@ -504,7 +505,7 @@
           </el-col>
         </el-row>
         <el-row>
-          
+
           <el-col :span="8">
             <el-form-item label="车号" prop="fTruckno">
               <el-input